Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanrmurphy/2024439 to your computer and use it in GitHub Desktop.
Save evanrmurphy/2024439 to your computer and use it in GitHub Desktop.
Stack trace for kjvarga/sitemap_generator Issue #64
~/myapp$ bundle exec rake --trace sitemap:create
In ~/myapp
rake aborted!
undefined local variable or method `location' for #<#<Class:0xb050c20>:0xb050bd0>
Tasks: TOP => sitemap:create
(See full trace by running task with --trace)
evanrmurphy@inspiron1520:~/Work/rails_projects/myapp$ bundle exec rake --trace sitemap:create
** Invoke sitemap:create (first_time)
** Invoke sitemap:require_environment (first_time)
** Execute sitemap:require_environment
** Invoke environment (first_time)
** Execute environment
** Execute sitemap:create
In ~/Work/rails_projects/myapp/public/
rake aborted!
undefined local variable or method `location' for #<#<Class:0xacfa904>:0xacfa8b4>
~/Work/rails_projects/myapp/config/sitemap.rb:10:in `gzip'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/adapters/file_adapter.rb:12:in `write'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/sitemap_location.rb:99:in `write'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/builder/sitemap_file.rb:104:in `finalize!'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/builder/sitemap_index_file.rb:32:in `add'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/link_set.rb:387:in `finalize_sitemap!'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/link_set.rb:281:in `finalize!'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/link_set.rb:40:in `create'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator.rb:32:in `method_missing'
~/Work/rails_projects/myapp/config/sitemap.rb:16:in `run'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/interpreter.rb:65:in `instance_eval'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/interpreter.rb:65:in `run'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/sitemap_generator-3.0.0/lib/sitemap_generator/tasks.rb:51:in `block (2 levels) in <top (required)>'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
~/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
~/.rvm/gems/ruby-1.9.2-p0@myapp/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
~/.rvm/gems/ruby-1.9.2-p0@myapp/bin/rake:19:in `load'
~/.rvm/gems/ruby-1.9.2-p0@myapp/bin/rake:19:in `<main>'
Tasks: TOP => sitemap:create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment