Which OS do you use? If Windows ruby interpreter may be installed in c:\ruby\bin\ruby.exe, on Linux - /opt/local/bin/ruby or /usr/bin/ruby or /usr/local/bin/ruby etc.
And how do I get RubyGems registered? RubyMine complains that I have note installed RubyGems, but I have (downloaded and ran ruby setup.rb)
Hello,
See File | Settings | Ruby Sdk and Gems | Add Sdk... Choose path to ruby interpreter.
Thanks,
How do I get Ruby in my PATH? When I try ruby -v I get error, saying it is not a program.
And how do I get RubyGems registered? RubyMine complains that I have note installed RubyGems, but I have (downloaded and ran ruby setup.rb)
Per-Olof
Which OS do you use? If Windows ruby interpreter may be installed in c:\ruby\bin\ruby.exe, on Linux - /opt/local/bin/ruby or /usr/bin/ruby or /usr/local/bin/ruby etc.
Please execute "gem environment"
I have Windows VISTA business
I have installed ruby 1.8.7 in c:\ruby\, the ruby.exe is in c:\rubybin\
I have set the PATH under System Enviroments, and also in the CLASSPATH (don´t know it this is correct).
But when I run ruby -v I get an error saying: "Ruby is not an internal command, external command etc..."
If I run gem environment (whilst standing in c:\ruby\bin\ I get several lines starting with:
Rubygems Environment:
- RUBYGEMS VERSION: 1.3.3
- RUBY VERSION: 1.8.7 (2008-08-11 etc)
- INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: c:/ruby/bin/ruby.exe
---
- GEM PATHS:
- C:/ruby/lib/ruby/gems/1.8
- C:/Users/Administratör/.gem/ruby/1.8
etc
Thanks for help so far!
Per-Olof
And what output does
give?
If I run the commande echo %path% I get the path, and it contains c:\ruby\bin\