Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

I was wondering if you can download treebook-i3s5v5 and try to deploy that heruko?

so i wanted to see if i can deploy the treebook-i3s5v5.zip myself now that i did with my own app I wanted to see... but it seem i get a mess of errors trying to deploy this ver. treehouse zip on the last advanced ver. I was wondering if anyone can help me?

So i downloaded the zip ran these to get the server started rake db:migrate rails c delete all user and delete all status quit fresh treebook now running on server

now from here i want to deploy on heroku

this is the error i get on heroku i even followed this guide but nothing https://devcenter.heroku.com/articles/getting-started-with-rails3 still getting error

OK I GOT it on heroku but http://lit-wave-1597.herokuapp.com I get this CSS problem because i turn off alot of things pretty much in application.rb i did these but still isn't catching the CSS config.assets.precompile += %w( bootstrap.css ) config.assets.precompile += %w( *.css *.js ) config.active_record.whitelist_attributes = true

# Enable the asset pipeline
config.assets.enabled = false

# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'

config.assets.initialize_on_precompile = false

2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:in load' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:inmethod_missing' 2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:187:in run_command' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:39:inreceive_data' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run' 2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:in<main>' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine' 2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:152:inrun!' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in start' 2014-02-01T08:52:02.469847+00:00 app[web.1]: 2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/controllers/controller.rb:86:instart' 2014-02-01T08:52:02.469102+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup' 2014-02-01T08:52:02.469383+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:81:inblock in pre_process' 2014-02-01T08:52:02.469847+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/server.rb:159:in start' 2014-02-01T08:52:02.469847+00:00 app[web.1]: 2014-02-01T08:52:02.516555+00:00 app[web.1]: Started GET "/javascripts/user_friendships.js" for 76.94.149.228 at 2014-02-01 08:52:02 +0000 2014-02-01T08:52:02.547265+00:00 heroku[router]: at=info method=GET path=/javascripts/user_friendships.js host=lit-wave-1597.herokuapp.com request_id=f56db847-ed77-4f0f-8b00-0f9b0a6866ca fwd="76.94.149.228" dyno=web.1 connect=3ms service=34ms status=404 bytes=728 2014-02-01T08:52:02.544300+00:00 app[web.1]: 2014-02-01T08:52:02.544300+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/javascripts/user_friendships.js"): 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:intagged' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in call_app' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:incall' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in block in call' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in call' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:incall' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call' 2014-02-01T08:52:02.544300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:incall' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:incall' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:incall!' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:79:incatch' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:79:in pre_process' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:inmethod_missing' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:54:in process' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:infetch' 2014-02-01T08:52:02.544487+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:479:in call' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:223:incall' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:81:in block in pre_process' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:39:inreceive_data' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun_machine' 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:187:in run_command' 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:152:inrun!' 2014-02-01T08:52:02.545433+00:00 app[web.1]: 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:in load' 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/controllers/controller.rb:86:instart' 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/bin/thin:6:in <top (required)>' 2014-02-01T08:52:02.545433+00:00 app[web.1]: 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/server.rb:159:instart' 2014-02-01T08:52:02.544737+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in start' 2014-02-01T08:52:02.545433+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:in<main>' 2014-02-01T08:52:02.784192+00:00 app[web.1]: Started GET "/javascripts/handlebars.js" for 76.94.149.228 at 2014-02-01 08:52:02 +0000 2014-02-01T08:52:02.791430+00:00 app[web.1]: 2014-02-01T08:52:02.791430+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/javascripts/handlebars.js"): 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:incall_app' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in call' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:inblock in call' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in tagged' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:incall' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in call' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:incall' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in call' 2014-02-01T08:52:02.791430+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:incall' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in call' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:incall' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:inlookup' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!' 2014-02-01T08:52:02.791618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:479:incall' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:79:in catch' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:223:incall' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in method_missing' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:81:inblock in pre_process' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:79:in pre_process' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:54:inprocess' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/connection.rb:39:in receive_data' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun_machine' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run' 2014-02-01T08:52:02.791792+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/backends/base.rb:63:instart' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/controllers/controller.rb:86:in start' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/server.rb:159:instart' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:152:in run!' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/lib/thin/runner.rb:187:inrun_command' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/thin-1.5.0/bin/thin:6:in <top (required)>' 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:inload' 2014-02-01T08:52:02.792238+00:00 app[web.1]: 2014-02-01T08:52:02.792238+00:00 app[web.1]: 2014-02-01T08:52:02.792238+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>' 2014-02-01T08:52:02.435948+00:00 heroku[router]: at=info method=GET path=/stylesheets/application.css host=lit-wave-1597.herokuapp.com request_id=5f6e6c25-4887-4937-ab3a-03844d0fb91c fwd="76.94.149.228" dyno=web.1 connect=2ms service=50ms status=404 bytes=728 2014-02-01T08:52:03.058527+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=lit-wave-1597.herokuapp.com request_id=7992b0b5-a038-48c8-ade7-c1f020c1a308 fwd="76.94.149.228" dyno=web.1 connect=2ms service=5ms status=304 bytes=0 2014-02-01T08:51:48.880114+00:00 heroku[router]: at=info method=GET path=/stylesheets/Statuses.css host=lit-wave-1597.herokuapp.com request_id=b6410f9b-bc08-4996-bc5d-4729dfad65a3 fwd="76.94.149.228" dyno=web.1 connect=7ms service=16ms status=404 bytes=728 2014-02-01T08:52:02.063937+00:00 heroku[router]: at=info method=GET path=/register host=lit-wave-1597.herokuapp.com request_id=8d07bfd6-ab04-4f51-ba3d-571051e890e5 fwd="76.94.149.228" dyno=web.1 connect=2ms service=391ms status=200 bytes=5936 2014-02-01T08:52:02.398268+00:00 heroku[router]: at=info method=GET path=/javascripts/application.js host=lit-wave-1597.herokuapp.com request_id=fbaafb0f-d94a-4624-80a5-01b9a17fd8e1 fwd="76.94.149.228" dyno=web.1 connect=1ms service=15ms status=404 bytes=728

that is the heroku log tail

1 Answer

figured out how to do this!