“没有这样的文件加载—树梢/运行”的运行“ rake jobs:work”

当我尝试运行“rails服务器”或“rake jobs:work”时,我收到错误: “没有这样的文件加载 - 树梢/运行时” 完整的痕迹: macbook-pro-2:域名ryan $ rake jobs:work --trace(在/ Applications / htdocs / domain中)rake aborted! 没有这样的文件加载 - 树梢/运行时 /opt/local/lib/ruby/gems/1.8/gems/mail-2.2.14/lib/mail.rb:68:in
require'
/opt/local/lib/ruby/gems/1.8/gems/mail-2.2.14/lib/mail.rb:68
/opt/local/lib/ruby/gems/1.8/gems/mail-2.2.14/lib/mail.rb:61:in
each' /opt/local/lib/ruby/gems/1.8/gems/mail-2.2.14/lib/mail.rb:61 /opt/local/lib/ruby/gems/1.8/gems/delayed_job-2.1.2/lib/delayed/performable_mailer.rb:1:in
require'
/opt/local/lib/ruby/gems/1.8/gems/delayed_job-2.1.2/lib/delayed/performable_mailer.rb:1
/opt/local/lib/ruby/gems/1.8/gems/delayed_job-2.1.2/lib/delayed_job.rb:5:in
require' /opt/local/lib/ruby/gems/1.8/gems/delayed_job-2.1.2/lib/delayed_job.rb:5 /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in
require'
/opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in
require' /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in
each'
/opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in
require' /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in
each'
/opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in
require' /opt/local/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:112:in
require'
/ApApplications/htdocs/domain/config/application.rb:7
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
/Applications/htdocs/domain/Rakefile:4
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
load' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
raw_load_rakefile'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
load_rakefile' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
load_rakefile' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in
run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/opt/local/bin/rake:19:in
load' /选择/ local / bin目录/耙:19 在我的Gemfile中我有: “宝石'delayed_job'”     
已邀请:
通过
bundle exec
bundle exec rails server
bundle exec rake jobs:work
运行     
在ruby 1.8上有相同的问题但在ruby 1.9上没有 并通过将其添加到我的Gemfile来解决它
gem 'treetop', :platforms => :ruby_18
    
事实证明我安装了旧宝石导致问题 邮件(2.2.14,2.2.12,2.2.11,2.2.10) 树梢(1.4.9,1.4.8) 我卸载了旧的,现在一切都很好     

要回复问题请先登录注册