Ruby on rails Bundler说我已经激活了gem,但我的gemfile需要不同的版本?
我运行了“bundle exec install”,但仍然出现以下错误:Ruby on rails Bundler说我已经激活了gem,但我的gemfile需要不同的版本?,ruby-on-rails,gem,bundler,Ruby On Rails,Gem,Bundler,我运行了“bundle exec install”,但仍然出现以下错误: Gem::LoadError: You have already activated metaclass 0.0.2, but your Gemfile requires metaclass 0.0.1. Using bundle exec may solve this. 为什么会这样?它不应该在当前应用程序的上下文中执行吗?我认为您只想使用: bundle install 从应用程序目录中运行bundle updat
Gem::LoadError: You have already activated metaclass 0.0.2, but your Gemfile requires metaclass 0.0.1. Using bundle exec may solve this.
为什么会这样?它不应该在当前应用程序的上下文中执行吗?我认为您只想使用:
bundle install
从应用程序目录中运行
bundle update元类
,以便应用Gemfile
中指定的版本