Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby gem already activated

How can I de-activate the newer version of cucumber, or get this to work with the earlier version?

user$ rake features
(in /Users/user/Project)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I    "/Library/Ruby/Gems/1.8/gems/cucumber-0.6.1/lib:lib" "/Library/Ruby/Gems/1.8/gems/cucumber-   0.6.1/bin/cucumber" --format pretty
can't activate cucumber (= 0.4.4, runtime) for [], already activated cucumber-0.6.1 for [] (Gem::LoadError)
/Library/Ruby/Site/1.8/rubygems.rb:280:in `activate'
like image 232
Eric the Red Avatar asked Aug 31 '26 08:08

Eric the Red


1 Answers

I'd try removing 0.6.1 entirely and seeing if it will run with just 0.4.4 installed.

If not, you need to track down what is requiring 0.4.4 and change it to >= and see if that works.

like image 156
Sarah Mei Avatar answered Sep 02 '26 23:09

Sarah Mei