J
J
Jeket2014-07-21 19:08:13
ruby
Jeket, 2014-07-21 19:08:13

How to install bundler in jruby?

Installed jruby via rvm
Next, I want to install other gems

$ jruby -S gem install bundler
тут куча warning
..
/home/my_user/.rvm/gems/[email protected]/gems/jruby-openssl-0.9.5-java/lib/jopenssl/load.rb:20 warning: already initialized constant OPENSSL_VERSION_NUMBER
ERROR:  Loading command: install (LoadError)
  no such file to load -- krypt/ossl
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

fails, throws an error.
Here is the list of gems:
$ gem list
*** LOCAL GEMS ***
jruby-openssl (0.9.5 java)
rake (0.9.2.2)
Has anyone experienced this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
_
_ _, 2014-07-21
@Jeket

Do you care about jruby 1.7.1 version? Actual 1.7.13.
If I understand correctly, since version 1.7.1 the gem has been implemented in jruby. Try removing it from the Gemfile.

V
Viktor Vsk, 2014-07-21
@viktorvsk

stackoverflow.com/questions/14498513/already-initi... have you seen this?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question