Reputation: 4201
Has anyone been able to install and use JRuby on Cygwin via RVM? If so, how? I'm able to install RVM and JRuby on Cygwin, but am unable to install any gems. The issue seems to be with path settings.
PATH
/home/Ari/.rvm/gems/jruby-1.7.4/bin:/home/Ari/.rvm/gems/jruby-1.7.4@global/bin:/home/Ari/.rvm/rubies/jruby-1.7.4/bin:/home/Ari/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/home/Ari/bin
Gem Env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.24
- RUBY VERSION: 1.9.3 (2013-05-16 patchlevel 392) [java]
- INSTALLATION DIRECTORY: /home/Ari/.rvm/gems/jruby-1.7.4
RUBY EXECUTABLE: C:/Cygwin/home/Ari/.rvm/rubies/jruby-1.7.4/bin/jruby.exe
EXECUTABLE DIRECTORY: /home/Ari/.rvm/gems/jruby-1.7.4/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-java-1.7
GEM PATHS:
- /home/Ari/.rvm/gems/jruby-1.7.4
- /home/Ari/.rvm/gems/jruby-1.7.4:/home/Ari/.rvm/gems/jruby-1.7.4@global
GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--no-rdoc --no-ri --env-shebang"
- "update" => "--no-rdoc --no-ri --env-shebang"
- REMOTE SOURCES:
Gem Installation Command & Error Message
jruby -S gem install jruby-lint
Fetching: tins-0.8.2.gem (100%)
ERROR: While executing gem ... (Errno::ENOENT)No such file or directory - C:/home/Ari/.rvm/gems/jruby-1.7.4/cache/tins-0.8.2.gem
Upvotes: 0
Views: 574
Reputation: 53178
cygwin is not fully supported yet by RVM - there is a ticket to improve it https://github.com/wayneeseguin/rvm/issues/1783 - please add your finding there so it can be improved.
Upvotes: 0