Skip to content

Instantly share code, notes, and snippets.

@septerr
Created June 1, 2012 20:54
Show Gist options
  • Save septerr/2855087 to your computer and use it in GitHub Desktop.
Save septerr/2855087 to your computer and use it in GitHub Desktop.
heroku locomotivecms prod errors
MONGOHQ_URL='mongodb://heroku:[email protected]:10016/app4941383' RAILS_ENV=production rails console
...loading heroku extension
/Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/excon-0.13.4/lib/excon/connection.rb:266:in `request_kernel': Expected(200) <=> Actual(404 Not Found) (Heroku::API::Errors::NotFound)
request => {:connect_timeout=>60, :headers=>{"Accept"=>"application/json", "Accept-Encoding"=>"gzip", "Authorization"=>"Basic OmNjYzY1ZmMyNTFkODY1MmQ2NWJhOWVkMTA1MjJjM2E2NTc4NmRiNzM=", "User-Agent"=>"heroku-rb/0.1.8", "X-Heroku-API-Version"=>"3", "X-Ruby-Version"=>"1.9.3", "X-Ruby-Platform"=>"x86_64-darwin11.3.0", "Host"=>"api.heroku.com:443"}, :instrumentor_name=>"excon", :mock=>false, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/excon-0.13.4/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"api.heroku.com", :path=>"/apps/homeschool_minder/domains", :port=>"443", :query=>nil, :scheme=>"https", :expects=>200, :method=>:get}
response => #<Excon::Response:0x007f85cc491a20 @body="App not found.", @headers={"Cache-Control"=>"no-cache", "Content-Type"=>"application/json; charset=utf-8", "Date"=>"Fri, 01 Jun 2012 20:51:50 GMT", "Server"=>"nginx/1.0.14", "Status"=>"404 Not Found", "Strict-Transport-Security"=>"max-age=500", "X-Runtime"=>"70", "Content-Length"=>"14", "Connection"=>"keep-alive"}, @status=404>
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/excon-0.13.4/lib/excon/connection.rb:97:in `request'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/heroku-api-0.1.8/lib/heroku/api.rb:60:in `request'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/heroku-api-0.1.8/lib/heroku/api/domains.rb:27:in `get_domains'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/locomotive-heroku-0.0.1/lib/locomotive/heroku.rb:17:in `domains'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/locomotive-heroku-0.0.1/lib/locomotive/heroku/enabler.rb:21:in `enable_heroku'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/locomotive_cms-2.0.0.rc7/lib/locomotive.rb:100:in `enable_hosting'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/locomotive_cms-2.0.0.rc7/lib/locomotive.rb:68:in `after_configure'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/locomotive_cms-2.0.0.rc7/lib/locomotive.rb:38:in `configure'
from /Users/sony/locomotive/homeschool_minder/config/initializers/locomotive.rb:1:in `<top (required)>'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `block in load'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:587:in `each'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:587:in `block in <class:Engine>'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/sony/locomotive/homeschool_minder/config/environment.rb:5:in `<top (required)>'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/application.rb:103:in `require_environment!'
from /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/commands.rb:40: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