Skip to content

Instantly share code, notes, and snippets.

@meoooh
Created September 10, 2013 02:29
Show Gist options
  • Save meoooh/6504300 to your computer and use it in GitHub Desktop.
Save meoooh/6504300 to your computer and use it in GitHub Desktop.
han@meoooh:~/rails/vsns$ RAILS_ENV=production rake assets:precompile
rake aborted!
undefined local variable or method `config' for main:Object
/home/han/rails/vsns/config/application.rb:29:in `<top (required)>'
/home/han/rails/vsns/Rakefile:4:in `require'
/home/han/rails/vsns/Rakefile:4:in `<top (required)>'
/home/han/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/home/han/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
han@meoooh:~/rails/vsns$ RAILS_ENV=production rake assets:precompile --trace
rake aborted!
undefined local variable or method `config' for main:Object
/home/han/rails/vsns/config/application.rb:29:in `<top (required)>'
/home/han/rails/vsns/Rakefile:4:in `require'
/home/han/rails/vsns/Rakefile:4:in `<top (required)>'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:93:in `load_rakefile'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:77:in `block in run'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/bin/rake:23:in `load'
/home/han/.rvm/gems/ruby-2.0.0-p247@global/bin/rake:23:in `<main>'
/home/han/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/home/han/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
han@meoooh:~/rails/vsns$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment