Skip navigation

Remember the old days when I ran Ruby 1.8.2 only, I got similar message from Ruby 1.9.0 (ruby-1.9.0-20060415-i386-mswin32.zip)

"C:\Ruby1.9\bin>irb
C:\Ruby1.9\bin\ruby: no such file to load -- ubygems (LoadError)

C:\Ruby1.9\bin>"

This the result from the last installation from Ruby 1.8.6, since the Distribution for Ruby 1.9.0 Does not include rubygems, so you must remove the Environment Variables that Ruby will lookup for the options.

RUBYOPT = -rubygems

Advertisements

2 Comments

  1. Hi there – i just started having this issue – i tried your suggestion but now i get this error –
    sh: /cygdrive/c/cygwin/bin/irb: /usr/bin/ruby: bad interpreter: No such file or directory

    i don’t suppose you know what the problem is do you?

    thanks
    max

  2. I’m getting the same error as Max:

    sh: /usr/bin/irb: /usr/bin/ruby: bad interpreter: No such file or directory

    Any help would be amazing


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: