Ruby pearls are already activated

How can I deactivate a new version of a cucumber or make it work with an 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'
+3
source share
3 answers

I would try to completely remove 0.6.1 and see if it will only work with installed 0.4.4.

If not, you need to track what 0.4.4 is required and change it to> = and see if this works.

+4
source

There are some simple settings you can use to make several versions of Cucumber play with each other:

http://gem-session.com/2010/04/how-to-use-multiple-versions-of-cucumber-in-parallel

0
source
0

Source: https://habr.com/ru/post/1728849/


All Articles