Hi,
Trying to run install jruby-head
+ gem install bundler
fails on Mac
and
Linux with
$ gem install bundler
ERROR: Loading command: install (LoadError)
no such file to load – jopenssl
ERROR: While executing gem … (NoMethodError)
undefined method `invoke_with_build_args’ for nil:NilClass
I am unable to set-up any jruby-head on rvm (this had worked before).
Also other rubies work correctly (jruby-1.7.4, ruby-2.0.0, ruby-1-9-3).
Any hints would be appreciated.
Thanks,
Peter V.
On Mac OS X :
Ran rvm get stable
earlier today
/Users/peter_v/p/dbd $ rvm --version
rvm 1.21.3 (stable) by Wayne E. Seguin [email protected], Michal
Papis [email protected] [https://rvm.io/]
/Users/peter_v/p/dbd $ rvm install jruby-head
Installing requirements for osx_brew, might require sudo password.
Certificates in ‘/usr/local/etc/openssl/cert.pem’ already are up to
date.
Cloning from git://github.com/jruby/jruby.git, this may take a while
depending on your connection…
HEAD is now at 733fafa fixed typo in pom
From git://github.com/jruby/jruby
- branch master → FETCH_HEAD
Already up-to-date.
Copying from repo to src path…
jruby-head - #ant
jar…
jruby-head - #ant
cext…
jruby-head -
#nailgun…
jruby-head - #installing to /Users/peter_v/.rvm/rubies/jruby-head
jruby-head - #importing default gemsets, this may take
time…
Saving wrappers to ‘/Users/peter_v/.rvm/wrappers/jruby-head’…
/Users/peter_v/p/dbd $ rvm use jruby-head
Using /Users/peter_v/.rvm/gems/jruby-head
/Users/peter_v/p/dbd $ gem list
*** LOCAL GEMS ***
/Users/peter_v/p/dbd $ rvm --create use jruby-head@dbd
Using /Users/peter_v/.rvm/gems/jruby-head with gemset dbd
/Users/peter_v/p/dbd $ rvm current
jruby-head@dbd
/Users/peter_v/p/dbd $ bundle
ERROR: Gem bundler is not installed, run gem install bundler
first.
/Users/peter_v/p/dbd $ gem install bundler
ERROR: Loading command: install (LoadError)
no such file to load – jopenssl
ERROR: While executing gem … (NoMethodError)
undefined method `invoke_with_build_args’ for nil:NilClass
/Users/peter_v/p/dbd $
On 64 bit Linux:
peter_v@peter64:~$ rvm --version
rvm 1.21.3 (stable) by Wayne E. Seguin [email protected], Michal
Papis [email protected] [https://rvm.io/]
peter_v@peter64:~$ rvm remove jruby-head
Removing /home/peter_v/.rvm/src/jruby-head…
Removing /home/peter_v/.rvm/rubies/jruby-head…
Removing jruby-head aliases…
Removing jruby-head wrappers…
Removing jruby-head environments…
Removing jruby-head binaries…
peter_v@peter64:~$ rvm cleanup all
Cleaning up rvm archives
Cleaning up rvm repos
Cleaning up rvm src
Cleaning up rvm log
Cleaning up rvm tmp
Cleaning up rvm gemsets
Cleaning up rvm links
Cleanup done.
peter_v@peter64:~$ find . -name ‘jopenssl*’
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl.jar
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl
peter_v@peter64:~$ rvm install jruby-head
Installing requirements for ubuntu, might require sudo password.
Cloning from git://github.com/jruby/jruby.git, this may take a while
depending on your connection…
HEAD is now at 733fafa fixed typo in pom
From git://github.com/jruby/jruby
- branch master → FETCH_HEAD
Already up-to-date.
Copying from repo to src path…
jruby-head - #ant
jar…
jruby-head - #ant
cext…
jruby-head -
#nailgun…
jruby-head - #installing to /home/peter_v/.rvm/rubies/jruby-head
jruby-head - #importing default gemsets, this may take
time…
Saving wrappers to ‘/home/peter_v/.rvm/wrappers/jruby-head’…
peter_v@peter64:~$ cd p/dbd
peter_v@peter64:~/p/dbd$ rvm --create use jruby-head@dbd
Using /home/peter_v/.rvm/gems/jruby-head with gemset dbd
peter_v@peter64:~/p/dbd$ gem list
*** LOCAL GEMS ***
peter_v@peter64:~/p/dbd$ bundle
ERROR: Gem bundler is not installed, run gem install bundler
first.
peter_v@peter64:~/p/dbd$ gem install bundler
ERROR: Loading command: install (LoadError)
no such file to load – jopenssl
ERROR: While executing gem … (NoMethodError)
undefined method `invoke_with_build_args’ for nil:NilClass
peter_v@peter64:~/p/dbd$ cd
peter_v@peter64:~$ find . -name ‘jopenssl*’
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl.jar
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl
./.rvm/rubies/jruby-head/gems/jruby-openssl/lib/shared/jopenssl
./.rvm/rubies/jruby-head/lib/ruby/shared/jopenssl
./.rvm/src/jruby-head/gems/jruby-openssl/lib/shared/jopenssl
./.rvm/src/jruby-head/lib/ruby/shared/jopenssl
./.rvm/repos/jruby/gems/jruby-openssl/lib/shared/jopenssl
./.rvm/repos/jruby/lib/ruby/shared/jopenssl