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 [email protected]
Using /Users/peter_v/.rvm/gems/jruby-head with gemset dbd
/Users/peter_v/p/dbd $ rvm current
[email protected]
/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:
[email protected]:~$ rvm --version
rvm 1.21.3 (stable) by Wayne E. Seguin [email protected], Michal
Papis [email protected] [https://rvm.io/]
[email protected]:~$ 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…
[email protected]:~$ 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.
[email protected]:~$ find . -name ‘jopenssl*’
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl.jar
./.rvm/rubies/jruby-1.7.4/lib/ruby/shared/jopenssl
[email protected]:~$ 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’…
[email protected]:~$ cd p/dbd
[email protected]:~/p/dbd$ rvm --create use [email protected]
Using /home/peter_v/.rvm/gems/jruby-head with gemset dbd
[email protected]:~/p/dbd$ gem list
*** LOCAL GEMS ***
[email protected]:~/p/dbd$ bundle
ERROR: Gem bundler is not installed, run gem install bundler
first.
[email protected]:~/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
[email protected]:~/p/dbd$ cd
[email protected]:~$ 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