java -jar maven/jruby-complete/target/jruby-complete-9.0.0.0.pre1.jar -S gem install yard
Fetching: yard-0.8.7.6.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the uri:classloader:/META-INF/jruby.home/lib/ruby/gems/shared directory.
but also
$ ls -1
uri:classloader:
The text was updated successfully, but these errors were encountered:
well, not sure it says there is no write permissions into the classloader. the problem is that default GEM_HOME is inside the jruby-complete.jar so bundler can NOT install gems there.
if the whole thing does create some strange file like "uri:classloader:/" in your current directory then this bug is not fixed.
but to use bundler or even the gem command with jruby-complete.jar you need to set GEM_HOME to install gems.
but also
The text was updated successfully, but these errors were encountered: