0

我正在使用 ruby​​ 2.0.0,rails 3.2.13。当我尝试运行 rails 应用程序时:这是我运行时收到的消息rails server RAILS_ENV=production

/Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `require': cannot load such file -- rb-fsevent (LoadError)
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `each'
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:70:in `block in require'
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `each'
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler/runtime.rb:59:in `require'
    from /Users/myhome/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/bundler-1.3.4/lib/bundler.rb:132:in `require'
    from /Users/git/gitlab/config/application.rb:9:in `<top (required)>'
    from /Users/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/commands.rb:53:in `require'
    from /Users/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/commands.rb:53:in `block in <top (required)>'
    from /Users/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap'
    from /Users/git/gitlab/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

有人可以帮忙吗?

4

1 回答 1

4

在您的开发组中移动您的 gem 'rb-fsevent' 并bundle install

group :development, :test do
     gem 'rb-fsevent'
end
于 2013-04-12T11:25:00.110 回答