error when installing rubyzip in Unbuntu: requires >= 1.9.2

Posted by mcgyver5 on Stack Overflow See other posts from Stack Overflow or by mcgyver5
Published on 2013-10-22T21:51:52Z Indexed on 2013/10/22 21:53 UTC
Read the original article Hit count: 741

Filed under:
|

I am using backtrack linux. Tried to upgrade BeEF project. Now it is missing some Ruby Gems and running bundle install gives the error:

Gem::InstallError: rubyzip requires Ruby version >= 1.9.2

So I tried gem install rubyzip -v '1.0.0' and got the following:

Error installing rubyzip:
rubyzip requires Ruby version >= 1.9.2

but... the command ruby -v gives me:

ruby 1.9.2dev (2010-07-02)

Tried to update ruby to 1.9.3 so I'm not sure why rubyzip is giving that requirement and would be grateful for help. I edited the Gemfile and edited out the requirement for rubyzip and BeEF seems to work fine.

I'd still like to know the answer. I checked which ruby version bundler was using and it is 1.9.2dev. I read other answers to similar issues and consensus is to use RVM but it doesn't answer the question of why I can't install rubyzip. Thanks a lot!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ubuntu