Rails 捆绑器问题
Rails bundler issue
我是初学者 rails 开发人员,当我进行捆绑安装时 return ok undle complete! 60 个 Gemfile 依赖项,现在安装了 148 gem 个。
使用 bundle show [gemname]
查看捆绑 gem 的安装位置。
如果我这样做 rails 我有错误
Could not find devise-4.1.1 in any of the sources
Run `bundle install` to install missing gems.
如果我这样做
lp git:(master) ✗ bundle show devise
/usr/local/lib/ruby/gems/2.2.0/gems/devise-4.1.1
但如果这样做
gem -v devise
2.4.5.1
like git:(master) ✗
我能做什么?
谢谢
您可能想要在捆绑包中启动 rails s
,如下所示:bundle exec rails s
.
我是初学者 rails 开发人员,当我进行捆绑安装时 return ok undle complete! 60 个 Gemfile 依赖项,现在安装了 148 gem 个。
使用 bundle show [gemname]
查看捆绑 gem 的安装位置。
如果我这样做 rails 我有错误
Could not find devise-4.1.1 in any of the sources
Run `bundle install` to install missing gems.
如果我这样做
lp git:(master) ✗ bundle show devise
/usr/local/lib/ruby/gems/2.2.0/gems/devise-4.1.1
但如果这样做
gem -v devise
2.4.5.1
like git:(master) ✗
我能做什么? 谢谢
您可能想要在捆绑包中启动 rails s
,如下所示:bundle exec rails s
.