glassfish gem installation issue
When I do a gem install glassfish
, I get an error:
"ERROR: Could not find a valid gem 'glassfish' (>= 0), here is why:
Found glassfish (0.1.2), but was for platforms universal-java-1.5 ,universal-java"
What should I do 开发者_JAVA百科to fix this error?
You probably have another (non-JRuby) ruby implementation installed locally, and the gem
command you are running uses that other impl. Run:
jruby -S gem install glassfish
Or, if you use rvm, switch back to a JRuby impl:
rvm jruby
gem install glassfish
精彩评论