Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # script
- #!/usr/bin/env ruby
- require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'boot'))
- require 'delayed/command'
- Delayed::Command.new(ARGV).daemonize
- #### output
- $ PADRINO_ENV=development script/delayed_job.rb start
- => Located unlocked Gemfile for development
- /Users/mcansky/.rvm/gems/ree-1.8.7-2010.01@kc_padrino/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:105:in `const_missing': uninitialized constant Delayed::Command::RAILS_ROOT (NameError)
- from /Users/mcansky/.rvm/gems/ree-1.8.7-2010.01@kc_padrino/bundler/gems/delayed_job-0ca4e5f2bd8a5e17dca7c1abab692a049c1669e1-master/lib/delayed/command.rb:13:in `initialize'
- from script/delayed_job.rb:5:in `new'
- from script/delayed_job.rb:5
- $
Add Comment
Please, Sign In to add comment