Ruby: rake: 22: undefined `activate_bin_path 'method for Gem: Module (NoMethodError)

I had problems with Ruby 1.8.7-p374.

When you try to run "rake db: migrate", I got this error:

RubyGems installed the following executables:
    /home/wellington/.rbenv/versions/1.8.7-p374/bin/gem

RubyGems system software updated
/home/wellington/.rbenv/versions/1.8.7-p374/bin/rake:22: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

This occurs when deploying Rails applications.

Any ideas to solve this problem?

0
source share
1 answer

I allowed this refreshing gem and packer

gem update --system
gem update bundler
+1
source

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


All Articles