我正在使用 Rails 5.0.1。我想运行一个独立于我的 Rails 服务器的后台进程。我认为工作插件会帮助我 - https://github.com/ascarter/workling。但是,将这个 Gem 添加到我的 Gemfile
gem 'workling'
并重新启动我的服务器,我收到此错误
Gem Load Error is: uninitialized constant ActiveSupport::CoreExtensions
Backtrace for gem load error is:
/Users/davea/.rvm/gems/ruby-2.4.0/gems/workling-0.4.9.9/lib/workling.rb:16:in `<class:Hash>'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/workling-0.4.9.9/lib/workling.rb:15:in `<top (required)>'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:91:in `require'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:91:in `block (2 levels) in require'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:86:in `each'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:86:in `block in require'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:75:in `each'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler/runtime.rb:75:in `require'
/Users/davea/.rvm/gems/ruby-2.4.0@global/gems/bundler-1.13.7/lib/bundler.rb:106:in `require'
/Users/davea/Documents/workspace/myproject/config/application.rb:7:in `<top (required)>'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:156:in `require'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:156:in `require_application_and_environment!'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:77:in `console'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
/Users/davea/.rvm/gems/ruby-2.4.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'