开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜