Skip to content

Instantly share code, notes, and snippets.

@kkozmic
Created February 3, 2011 08:32
Show Gist options
  • Select an option

  • Save kkozmic/809211 to your computer and use it in GitHub Desktop.

Select an option

Save kkozmic/809211 to your computer and use it in GitHub Desktop.
e:\test>rails runner script/some_script.rb
d:/dev/rb/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/runner.rb:50:in `eval': undefined local variable or
method `script' for main:Object (NameError)
from d:/dev/rb/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/runner.rb:50:in `eval'
from d:/dev/rb/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/runner.rb:50:in `<top (required)>'
from d:/dev/rb/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:39:in `require'
from d:/dev/rb/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:39:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment