Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7732223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:40:43+00:00 2026-06-01T06:40:43+00:00

I used Heroku in the past with Rails 3.0.9 using sqlite3 in development (locally).

  • 0

I used Heroku in the past with Rails 3.0.9 using sqlite3 in development (locally).

database.yml

 development:
   adapter: sqlite3
   database: /db/development.sqlite3
   pool: 5
   timeout: 5000

Workflow as follows:

  1. $ git init
  2. $ add .
  3. $ git commit -m “Initial Commit”
  4. $ heroku create
  5. $ git push heroku master
  6. $ heroku rake db:migrate

…and I was off to the races, no problem.

Fast forward to today using Rails 3.2.2. New very basic scaffold app, same database yml file, same workflow. When using localhost:3000/addresses the index of addresses comes up no problem. However, using the same workflow and step 6, heroku rake db:migrate, the rake aborted with the following error message:

      rake aborted!
      Please install the postgresql adapter: `gem install activerecord-postgresql-adapter`  (pg is not part of the bundle. Add it to Gemfile.)

So I changed my gemfile to the following:

    group :Development, :test do
      gem 'sqlite3', '1.3.5'
    end

    group :Production do
      gem 'pg', '0.13.2'
    end

I then did a bundle install, committed my changes via git add . and git commit -m “Added pg” and pushed to heroku via git push heroku master. Next I tried heroku rake db:migrate and the table was migrated. However, when browsing to the app the default index page works, however, when trying the route HerokuInstanceName/addresses, I get the not so helpful error: “We’re sorry, but something went wrong.”

Apologies for the long winded explanation, any ideas?

*Edit2:*The first route i missed typed as /address, here is the log file when I actually put in the correct route /addresses:

Edit: added heroku log file:

2012-04-03T22:05:41+00:00 app[web.1]:   thin (1.2.6) lib/thin/runner.rb:177:in `run_command'
2012-04-03T22:05:41+00:00 app[web.1]: 
2012-04-03T22:05:41+00:00 app[web.1]:   thin (1.2.6) lib/thin/runner.rb:143:in `run!'
2012-04-03T22:05:41+00:00 app[web.1]: 
2012-04-03T22:05:41+00:00 app[web.1]:   /usr/ruby1.9.2/bin/thin:19:in `<main>'
2012-04-03T22:05:41+00:00 app[web.1]:   /usr/ruby1.9.2/bin/thin:19:in `load'
2012-04-03T22:05:41+00:00 app[web.1]: cache: [GET /address] miss
2012-04-03T22:05:41+00:00 heroku[router]: GET falling-window-3630.heroku.com/address  dyno=web.1 queue=0 wait=0ms service=13ms status=404 bytes=728
2012-04-03T22:05:41+00:00 heroku[nginx]: 86.163.131.200 - - [03/Apr/2012:22:05:41  +0000] "GET /address HTTP/1.1" 404 728 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0" falling-window-3630.heroku.com
2012-04-03T22:05:41+00:00 app[web.1]: cache: [GET /favicon.ico] miss
2012-04-03T22:05:41+00:00 heroku[router]: GET falling-window-3630.heroku.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=7ms status=200 bytes=0
2012-04-03T22:05:41+00:00 heroku[nginx]: 86.163.131.200 - - [03/Apr/2012:22:05:41 +0000] "GET /favicon.ico HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0" falling-window-3630.heroku.com
2012-04-03T22:05:45+00:00 app[web.1]: 
2012-04-03T22:05:45+00:00 app[web.1]: 
2012-04-03T22:05:45+00:00 app[web.1]: Started GET "/addresses" for 86.163.131.200 at   2012-04-03 15:05:45 -0700
2012-04-03T22:05:45+00:00 app[web.1]: Processing by AddressesController#index as HTML
2012-04-03T22:05:45+00:00 app[web.1]:   Rendered addresses/index.html.erb within   layouts/application (15.0ms)
2012-04-03T22:05:45+00:00 app[web.1]: Completed 500 Internal Server Error in 91ms
2012-04-03T22:05:45+00:00 app[web.1]: 
2012-04-03T22:05:45+00:00 app[web.1]: ActionView::Template::Error (application.css isn't precompiled):
2012-04-03T22:05:45+00:00 app[web.1]:     2: <html>
2012-04-03T22:05:45+00:00 app[web.1]:     3: <head>
2012-04-03T22:05:45+00:00 app[web.1]:   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2192528381921801676_29536600'
2012-04-03T22:05:45+00:00 app[web.1]:     7:   <%= csrf_meta_tags %>
2012-04-03T22:05:45+00:00 app[web.1]:     8: </head>
2012-04-03T22:05:45+00:00 app[web.1]:   app/controllers/addresses_controller.rb:7:in `index'
2012-04-03T22:05:45+00:00 app[web.1]: 
2012-04-03T22:05:45+00:00 app[web.1]:     6:   <%= javascript_include_tag "application" %>
2012-04-03T22:05:45+00:00 app[web.1]:     5:   <%= stylesheet_link_tag    "application", :media => "all" %>
2012-04-03T22:05:45+00:00 app[web.1]:     4:   <title>HavenCollect2</title>
2012-04-03T22:05:45+00:00 app[web.1]: 
2012-04-03T22:05:45+00:00 app[web.1]: cache: [GET /addresses] miss
2012-04-03T22:05:45+00:00 heroku[router]: GET falling-window-3630.heroku.com/addresses dyno=web.1 queue=0 wait=0ms service=145ms status=500 bytes=643
2012-04-03T22:05:45+00:00 heroku[nginx]: 86.163.131.200 - - [03/Apr/2012:22:05:45 +0000] "GET /addresses HTTP/1.1" 500 643 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0" falling-window-3630.heroku.com
2012-04-03T22:32:50+00:00 app[web.1]: 
2012-04-03T22:32:50+00:00 app[web.1]: 
2012-04-03T22:32:50+00:00 app[web.1]: Started GET "/addresses" for [local ip address] at      2012-04-03 15:32:50 -0700
2012-04-03T22:32:50+00:00 app[web.1]: Processing by AddressesController#index as HTML
2012-04-03T22:32:50+00:00 app[web.1]:   Rendered addresses/index.html.erb within layouts/application (0.3ms)
2012-04-03T22:32:50+00:00 app[web.1]: Completed 500 Internal Server Error in 4ms
2012-04-03T22:32:50+00:00 app[web.1]: 
2012-04-03T22:32:50+00:00 app[web.1]: ActionView::Template::Error (application.css isn't precompiled):
2012-04-03T22:32:50+00:00 app[web.1]:     3: <head>
2012-04-03T22:32:50+00:00 app[web.1]:     4:   <title>HavenCollect2</title>
2012-04-03T22:32:50+00:00 app[web.1]:     2: <html>
2012-04-03T22:32:50+00:00 app[web.1]:     5:   <%= stylesheet_link_tag    "application", :media => "all" %>
2012-04-03T22:32:50+00:00 app[web.1]:     6:   <%= javascript_include_tag "application" %>
2012-04-03T22:32:50+00:00 app[web.1]:     7:   <%= csrf_meta_tags %>
2012-04-03T22:32:50+00:00 app[web.1]:     8: </head>
2012-04-03T22:32:50+00:00 app[web.1]: 
2012-04-03T22:32:50+00:00 app[web.1]:   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2192528381921801676_29536600'
2012-04-03T22:32:50+00:00 app[web.1]:   app/controllers/addresses_controller.rb:7:in `index'
2012-04-03T22:32:50+00:00 app[web.1]: cache: [GET /addresses] miss
2012-04-03T22:32:50+00:00 app[web.1]: 
2012-04-03T22:32:50+00:00 heroku[router]: GET falling-window-3630.heroku.com/addresses dyno=web.1 queue=0 wait=0ms service=14ms status=500 bytes=643
2012-04-03T22:32:50+00:00 heroku[nginx]: [local ip address] - - [03/Apr/2012:22:32:50 +0000] "GET /addresses HTTP/1.1" 500 643 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19" falling-window-3630.heroku.com
2012-04-03T22:32:56+00:00 app[web.1]: 
2012-04-03T22:32:56+00:00 app[web.1]: 
2012-04-03T22:32:56+00:00 app[web.1]: Processing by AddressesController#index as HTML
2012-04-03T22:32:56+00:00 app[web.1]: Started GET "/addresses" for [local ip address] at 2012-04-03 15:32:56 -0700
2012-04-03T22:32:56+00:00 heroku[router]: GET falling-window-3630.heroku.com/addresses dyno=web.1 queue=0 wait=0ms service=15ms status=500 bytes=643
2012-04-03T22:32:56+00:00 app[web.1]:     3: <head>
2012-04-03T22:32:56+00:00 app[web.1]: Completed 500 Internal Server Error in 3ms
2012-04-03T22:32:56+00:00 app[web.1]:     4:   <title>HavenCollect2</title>
2012-04-03T22:32:56+00:00 app[web.1]: ActionView::Template::Error (application.css isn't precompiled):
2012-04-03T22:32:56+00:00 app[web.1]: 
2012-04-03T22:32:56+00:00 app[web.1]:     5:   <%= stylesheet_link_tag    "application", :media => "all" %>
2012-04-03T22:32:56+00:00 app[web.1]:     6:   <%= javascript_include_tag "application" %>
2012-04-03T22:32:56+00:00 app[web.1]:     2: <html>
2012-04-03T22:32:56+00:00 app[web.1]:   Rendered addresses/index.html.erb within layouts/application (0.3ms)
2012-04-03T22:32:56+00:00 heroku[nginx]: [local ip address] - - [03/Apr/2012:22:32:56 +0000] "GET /addresses HTTP/1.1" 500 643 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19" falling-window-3630.heroku.com
2012-04-03T22:32:56+00:00 app[web.1]:     7:   <%= csrf_meta_tags %>
2012-04-03T22:32:56+00:00 app[web.1]:     8: </head>
2012-04-03T22:32:56+00:00 app[web.1]:   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2192528381921801676_29536600'
2012-04-03T22:32:56+00:00 app[web.1]:   app/controllers/addresses_controller.rb:7:in `index'
2012-04-03T22:32:56+00:00 app[web.1]: cache: [GET /addresses] miss
2012-04-03T22:32:56+00:00 app[web.1]: 
2012-04-03T22:32:56+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]: Started GET "/addresses" for [local ip address] at     2012-04-03 15:32:59 -0700
2012-04-03T22:32:59+00:00 app[web.1]: Processing by AddressesController#index as HTML
2012-04-03T22:32:59+00:00 app[web.1]:   Rendered addresses/index.html.erb within layouts/application (0.3ms)
2012-04-03T22:32:59+00:00 app[web.1]: Completed 500 Internal Server Error in 3ms
2012-04-03T22:32:59+00:00 app[web.1]: ActionView::Template::Error (application.css isn't precompiled):
2012-04-03T22:32:59+00:00 app[web.1]:     2: <html>
2012-04-03T22:32:59+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]:     3: <head>
2012-04-03T22:32:59+00:00 app[web.1]:     4:   <title>HavenCollect2</title>
2012-04-03T22:32:59+00:00 app[web.1]:     5:   <%= stylesheet_link_tag    "application", :media => "all" %>
2012-04-03T22:32:59+00:00 app[web.1]:     6:   <%= javascript_include_tag "application" %>
2012-04-03T22:32:59+00:00 app[web.1]:     8: </head>
2012-04-03T22:32:59+00:00 app[web.1]:     7:   <%= csrf_meta_tags %>
2012-04-03T22:32:59+00:00 app[web.1]:   app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2192528381921801676_29536600'
2012-04-03T22:32:59+00:00 app[web.1]:   app/controllers/addresses_controller.rb:7:in `index'
2012-04-03T22:32:59+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]: 
2012-04-03T22:32:59+00:00 app[web.1]: cache: [GET /addresses] miss
2012-04-03T22:32:59+00:00 heroku[router]: GET falling-window-3630.heroku.com/addresses dyno=web.1 queue=0 wait=0ms service=11ms status=500 bytes=643

2012-04-03T22:32:59+00:00 heroku[nginx]: [local ip address] – – [03/Apr/2012:22:32:59 +0000] “GET /addresses HTTP/1.1” 500 643 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19” falling-window-3630.heroku.com

  • Removed First Log File
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:40:44+00:00Added an answer on June 1, 2026 at 6:40 am

    2012-04-03T22:32:59+00:00 app[web.1]: ActionView::Template::Error (application.css isn’t precompiled):

    Try

    bundle exec rake assets:precompile

    Git add .

    Push

    If you upgrade to the cedar stack you don’t need to precompile your assets.

    https://devcenter.heroku.com/articles/cedar

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have someone used Typus (admin plugin for rails) in Heroku ? http://intraducibles.com/projects/typus/install I follow
I have a rails app running on Heroku. I am using paperclip for some
I am building a facebook app using heroku. I used: gem install taps It
I have an application written in Rails, deployed on Heroku. I used to have
I have a Rails 3 App using Devise on Heroku. Problem is I'm sending
I have a rails app deployed to heroku. I have used paperclipftp to upload
I am trying to deploy my Rails web application on Heroku. I used scaffold
Does heroku support jruby. I am trying to implement a Rails 3.2.3 app using
I incorrectly made a push to heroku and used heroku rollback to roll it
My website used to be working and Heroku precompiled the assets and everything. Now,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.