0
我想用Ruby Sinatra脚本制作JAR,所以我需要访问一些宝石。JRuby和GEMS_PATH
我尝试安装他们喜欢的是:
$ jruby -S gem install sinatra sqlite3 json
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/share/jruby/lib/ruby/gems/1.8 directory.
是他们把它们放在我的主目录的方法吗? 我使用Fedora 17 i686和JRuby 1.6.3。