Last active
December 14, 2015 21:49
-
-
Save ismaild/5153871 to your computer and use it in GitHub Desktop.
Heroku compile assets error with unicorn, routing error with subdomain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-03-17T20:35:04+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/v1/cities.json"): | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:32:in `call_app' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `block in call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb:22:in `tagged' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/action_dispatch/middleware/static.rb:62:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/engine.rb:479:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:223:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `call' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:552:in `process_client' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:632:in `worker_loop' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.8.72/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `block (4 levels) in <top (required)>' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:142:in `start' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:500:in `spawn_missing_workers' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.6.2/bin/unicorn_rails:209:in `<top (required)>' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in `load' | |
2013-03-17T20:35:04+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23:in `<main>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Writing config/database.yml to read from DATABASE_URL | |
-----> Preparing app for Rails asset pipeline | |
Running: rake assets:precompile | |
rake aborted! | |
undefined method `match' for nil:NilClass | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions/mongo_uri.rb:49:in `initialize' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions/factory.rb:103:in `new' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions/factory.rb:103:in `parse' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions/factory.rb:62:in `create_session' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions/factory.rb:43:in `default' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/sessions.rb:109:in `default' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid.rb:124:in `default_session' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.23/lib/mongoid/railtie.rb:142:in `block (2 levels) in <class:Railtie>' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:34:in `call' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:42:in `each' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/initializable.rb:30:in `instance_exec' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/initializable.rb:30:in `run' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/initializable.rb:55:in `block in run_initializers' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/initializable.rb:54:in `each' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/initializable.rb:54:in `run_initializers' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:136:in `initialize!' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
/tmp/build_yy2k04m51ro/config/environment.rb:5:in `<top (required)>' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:103:in `require_environment!' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.9/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/sprockets/assets.rake:93:in `block (2 levels) in <top (required)>' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/sprockets/assets.rake:23:in `invoke_or_reboot_rake_task' | |
/tmp/build_yy2k04m51ro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>' | |
Tasks: TOP => environment | |
(See full trace by running task with --trace) | |
Precompiling assets failed, enabling runtime asset compilation | |
Injecting rails31_enable_runtime_asset_compilation | |
Please see this article for troubleshooting help: | |
http://devcenter.heroku.com/articles/rails31_heroku_cedar#troubleshooting | |
-----> Rails plugin injection | |
Injecting rails_log_stdout | |
Injecting rails3_serve_static_assets | |
-----> Discovering process types | |
Procfile declares types -> web | |
Default types for Ruby/Rails -> console, rake, worker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constraints subdomain: 'api' do | |
namespace :api, path: nil, defaults: {format: 'json'} do | |
namespace :v1 do | |
resources :cities, only: [:index] do | |
resources :areas, only: [:index] | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment