When trying to install any jruby gems, I get the following error.
$ jruby -S gem install rails
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory -
Unfortunately no directory or file listed in the error message. When I searched for this error it usually ended up being a permissions issue with a specific file or directory, but in this case none is listed.
Any help or direction would be much appreciated.
Jruby: 1.6.7.2
OS: Solaris 10
After some research, I’ve found that there’s a bug in JRuby 1.6.7 and 1.6.6 where gem installation fails on Solaris. Currently gem installation on Solaris only works with Jruby 1.6.5.1 and earlier.