Installing rsruby gem on windows

Discussion in 'Ruby' started by Glenn, Jan 19, 2009.

  1. Glenn

    Glenn Guest

    [Note: parts of this message were removed to make it a legal post.]

    Hi,

    I installed R on my Windows machine, and set up an environment variable called R_HOME that points to the folder where the R.exe file is:

    C:\Program Files\R\R-2.8.1\bin


    But when I just tried to run the gem command from the DOS prompt, I got an error:

    'C:/Program' is not recognized as an external or external command, operable program or batch file.


    Has anyone ever done this successfully?
     
    Glenn, Jan 19, 2009
    #1
    1. Advertising

  2. Glenn

    Simon Tan Guest

    Try putting quotation marks around the home like "C:\Program
    Files\R\R-2.8.1\bin"

    Glenn wrote:
    > Hi,
    >
    > I installed R on my Windows machine, and set up an environment variable
    > called R_HOME that points to the folder where the R.exe file is:
    >
    > C:\Program Files\R\R-2.8.1\bin
    >
    >
    > But when I just tried to run the gem command from the DOS prompt, I got
    > an error:
    >
    > 'C:/Program' is not recognized as an external or external command,
    > operable program or batch file.
    >
    >
    > Has anyone ever done this successfully?


    --
    Posted via http://www.ruby-forum.com/.
     
    Simon Tan, Jan 20, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Gutteridge

    [ANN] RSRuby 0.4

    Alex Gutteridge, Oct 16, 2006, in forum: Ruby
    Replies:
    11
    Views:
    181
    hadley wickham
    Oct 17, 2006
  2. Axel Etzold

    Installation problem with rsruby

    Axel Etzold, Jul 15, 2007, in forum: Ruby
    Replies:
    7
    Views:
    195
    M. Edward (Ed) Borasky
    Jul 17, 2007
  3. Michaels

    RSRuby?

    Michaels, Aug 8, 2007, in forum: Ruby
    Replies:
    3
    Views:
    224
    Michaels
    Aug 8, 2007
  4. timr

    rsruby gem

    timr, Dec 5, 2009, in forum: Ruby
    Replies:
    3
    Views:
    128
    Ryan Davis
    Dec 6, 2009
  5. pas d.
    Replies:
    7
    Views:
    227
    pas d.
    Mar 6, 2011
Loading...

Share This Page