Thomas E Enebo wrote in post #1096396:
I just realized you are setting JRUBY_HOME and also adding that to
your PATH. With RVM you should not really need to do that (unless you
want to run both JRuby and another Ruby at same time – I instead
suggest using aliases like: alias mri19=‘rvm 1.9.3 do ruby’.
Can you try removing those, reload your shell and then ‘do rvm use
jruby’. If that does not work, then can you email back ‘rvm info’
output. If I had to guess on your problem I would say there is some
weird environment confusion between what you are setting and what RVM
is setting.
-Tom
On Mon, Feb 11, 2013 at 4:54 PM, Nicole V. [email protected]
wrote:
Thanks again for your response. Yes, I am setting JRUBY_HOME because I wasn’t
initially using rvm. Things weren’t working so I thought if I install rvm it
would help. Anyway, I removed those entries and still no luck. I see there is
something wrong…here is the rvm info output.
system:
uname: “Darwin ts-spare03.targetspot.local 11.4.2 Darwin
Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012;
root:xnu-1699.31.2~1/RELEASE_X86_64 x86_64”
system: “osx/10.7/x86_64”
bash: “/bin/bash => GNU bash, version 3.2.48(1)-release
(x86_64-apple-darwin11)”
zsh: “/bin/zsh => zsh 4.3.11 (i386-apple-darwin11.0)”
rvm:
version: “rvm 1.18.6 (stable) by Wayne E. Seguin
[email protected], Michal P. [email protected]
[https://rvm.io/]”
updated: “20 hours 3 minutes 59 seconds ago”
ruby:
interpreter: “No”
version: “java'" date: "No
java’ exists at /usr/libexec/java_home -v
1.6/bin/java, please double-check JAVA_HOME.”
platform: “No java' exists at /usr/libexec/java_home -v 1.6/bin/java, please double-check JAVA_HOME." patchlevel: "No
java’ exists at /usr/libexec/java_home -v
1.6/bin/java, please double-check JAVA_HOME.”
full_version: “No `java’ exists at /usr/libexec/java_home -v
1.6/bin/java, please double-check JAVA_HOME.”
homes:
gem: “/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2”
ruby: “/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2”
binaries:
ruby:
“/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2/bin/ruby”
irb:
“/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2/bin/irb”
gem:
“/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2/bin/gem”
rake:
“/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2@global/bin/rake”
environment:
PATH:
“/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2/bin:/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2@global/bin:/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2/bin:/Users/TargetSpot0054/.rvm/bin:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Ruby/Gems/1.8/gems/selenium-webdriver-2.25.0/lib:/usr/local/Cellar/jruby:/Library/Ruby/jruby-1.1.5:/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/usr/X11/bin:/usr/local/bin/ruby:/Library/Ruby:/usr/libexec/java_home
-v 1.6/bin:bin”
GEM_HOME: “/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2”
GEM_PATH:
“/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2:/Users/TargetSpot0054/.rvm/gems/jruby-1.7.2@global”
MY_RUBY_HOME: “/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2”
IRBRC: “/Users/TargetSpot0054/.rvm/rubies/jruby-1.7.2/.irbrc”
RUBYOPT: “”
gemset: “”
–
blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]