0

I am trying to run this command

gem install bundler

but I am always getting this error:

ERROR:  Loading command: install (LoadError)
        cannot load such file -- openssl
ERROR:  While executing gem ... (NoMethodError)
        undefined method `invoke_with_build_args' for nil:NilClass

What can I do about this? I already tried this (as pointed out here 'gem install bundle' get something wrong):

rvm pkg install zlib
rvm remove 2.0.0 
rvm install 2.0.0
Community
  • 1
  • 1
user1420042
  • 1,689
  • 9
  • 35
  • 53

2 Answers2

7

it's a known issue - rubygems 2.0.0 requires openssl, run this:

rvm get head
rvm reinstall 2.0.0 --autolibs=3
mpapis
  • 52,729
  • 14
  • 121
  • 158
  • hey i just ran into this problem. Maybe you have an idea... http://stackoverflow.com/questions/15393462/what-can-i-do-about-a-bundlergemfilenotfound-error – user1420042 Mar 13 '13 at 18:36
0

If you are using Cygwin, try to reinstall the ruby packages using the installer. Even if they are the same version.

lucasvc
  • 767
  • 1
  • 11
  • 35