/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in`requirement' - 尝试启动服务器时

时间:2017-07-17 12:23:33

标签: ruby-on-rails ruby ruby-on-rails-3 rspec

我最终得到了这个错误:

  

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler/setup (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in需要 from /vagrant/config/boot.rb:6:in from bin/rails:3:in require_relative from bin/rails:3:in`

我正在使用流浪汉环境,这是执行命令的流程

$ vagrant up
$ vagrant ssh
$ cd /vagrant/
$ bundle
$ rake db:create
$ rake db:migrate

然后进行测试:

$ rspec spec

运行它:

$ rails s

0 个答案:

没有答案