From: Luis Lavena Date: 2011-02-28T05:15:25+09:00 Subject: Re: trouble to install rsruby on windows XP On Feb 27, 3:38 pm, "pas d." wrote: > Hello > > I am trying to install rsruby on a windows XP machine > > I use the following command > > gem install rsruby --with-R-dir=c:/Program Files/R/R-2.11.1/Bin > > I got the message: > > invalid option : --with-R-dir=c:/Program > If you want to provide options to the gem during compile process, please place them after double dashes: gem install rsruby -- --with-R-dir= Also, a few recommendations: * for --with-R-dir, supply the root directory of R installation, not the bin directory * Try to install R in a path without spaces, path with spaces are always problematic. If you can install in a different folder, try using Substituted drivers (subst): subst X: "C:\Program Files\R\R-2.11.1" gem intstall rsruby -- --with-R-dir=X: * Ensure you have successfully installed a compiler (like DevKit for RubyInstaller) HTH, -- Luis Lavena