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

  • SEARCH
  • Home
  • 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 7051799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:18:25+00:00 2026-05-28T03:18:25+00:00

I’ve been learning Ruby and RoR for the last couple of days. I just

  • 0

I’ve been learning Ruby and RoR for the last couple of days. I just finish a dummy app on my dev machine, and it’s working perfectly. After pushing it to Heroku the app crashes.

Having started a couple of days ago, I barely know Ruby and RoR. It’s a bit frightening having to figure out why the error is happening. Any ideas? I should have pushed to Heroku and tested at every step of the way, but you live and learn I guess.

C:\dev\rails\cdl>heroku logs
2012-01-11T17:47:20+00:00 heroku[web.1]: Process exited
2012-01-11T17:47:23+00:00 heroku[web.1]: Starting process with command `thin -p 54920 -e production
roku.ru start`
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/li
ion_adapters/abstract/connection_specification.rb:68:in `establish_connection'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/li
ion_adapters/abstract/connection_specification.rb:60:in `establish_connection'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/li
ion_adapters/abstract/connection_specification.rb:55:in `establish_connection'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/li
.rb:69:in `block (2 levels) in <class:Railtie>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
load_hooks.rb:36:in `instance_eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
load_hooks.rb:43:in `block in run_load_hooks'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
load_hooks.rb:42:in `each'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
load_hooks.rb:42:in `run_load_hooks'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/li
:2190:in `<top (required)>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/app/models/list.rb:1:in `<top (required)>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `block in require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
load_hooks.rb:36:in `execute_hook'
2012-01-11T17:47:27+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.1.1/lib/activ
pters/abstract/connection_specification.rb:71:in `rescue in establish_connection': Please install th
gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) (Run
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:225:in `load_dependency'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:348:in `require_or_load'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:489:in `load_missing_constant'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:181:in `block in const_missing'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:179:in `each'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:179:in `const_missing'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
ctor/methods.rb:124:in `block in constantize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
ctor/methods.rb:123:in `each'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
ctor/methods.rb:123:in `constantize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
ext/string/inflections.rb:43:in `constantize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/
/para
ms_wrapper.rb:167:in `_set_wrapper_defaults'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/
lties/routes_helpers.rb:7:in `block (2 levels) in with'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/
ies/paths.rb:7:in `block (2 levels) in with'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/app/controllers/lists_controller.rb:1:in `<top (re
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `block in require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/
/params_wrapper.rb:148:in `_default_wrap_model'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:225:in `load_dependency'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:240:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:348:in `require_or_load'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/
/params_wrapper.rb:128:in `inherited'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:214:in `require_dependency'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
lock (2 levels) in eager_load!'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
ach'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
lock in eager_load!'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
ach'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
ager_load!'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
:in `instance_exec'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
:in `run'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
:in `block in run_initializers'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
:in `each'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
:in `run_initializers'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
n `initialize!'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
e.rb:30:in `method_missing'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/config/environment.rb:5:in `<top (required)>'
2012-01-11T17:47:27+00:00 app[web.1]:   from <internal:lib/rubygems/custom_require>:29:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from <internal:lib/rubygems/custom_require>:29:in `require'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.1/lib/ra
r.rb:51:in `block in <module:Finisher>'

2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.1/l
dencies.rb:302:in `depend_on'
2012-01-11T17:47:27+00:00 app[web.1]:   from config.ru:3:in `block (3 levels) in <main>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:23:in `eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
ce_eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
lize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
ce_eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
lize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:11:in `new'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
ce_eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/
36:in `eval'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/
ller.rb:175:in `load_rackup_config'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/
run_command'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/
ed)>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /app/.bundle/gems/ruby/1.9.1/gems/rack-1.3.6/lib/rack/b
lize'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/
ller.rb:65:in `start'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:1:in `new'
2012-01-11T17:47:27+00:00 app[web.1]:   from /home/heroku_rack/heroku.ru:1:in `<main>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/bin/thin:19:in `load'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/bin/thin:19:in `<main>'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/

run!'
2012-01-11T17:47:27+00:00 app[web.1]:   from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/
36:in `load'
2012-01-11T17:47:28+00:00 heroku[web.1]: State changed from starting to crashed
2012-01-11T17:47:29+00:00 heroku[web.1]: Process exited
2012-01-11T17:48:13+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:48:13+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:48:24+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:48:24+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:48:54+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:48:54+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:50:24+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:50:24+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:50:25+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:50:25+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:50:27+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:50:28+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:56:57+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
service= status=503 bytes=
2012-01-11T17:56:58+00:00 heroku[router]: Error H10 (App crashed) -> GET electric-moon-9885.heroku.c
eue= wait= service= status=503 bytes=
2012-01-11T17:57:37+00:00 heroku[web.1]: State changed from crashed to created
2012-01-11T17:57:37+00:00 heroku[web.1]: State changed from created to starting
2012-01-11T17:57:44+00:00 heroku[web.1]: State changed from starting to crashed
  • 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-05-28T03:18:25+00:00Added an answer on May 28, 2026 at 3:18 am

    Take a deep look at your log file. There is this line:

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

    Basically, (most likely) you are trying to run the Heroku instance with an sqlite3 server, which it doesn’t support. In your gemfile, you need to put the following:

    group :development, :test do
       gem 'sqlite3'
    end
    
    group :production do
       gem 'pg'
    end
    

    rebundle, commit and repush to Heroku and you should be fine.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.