Hi,
One of my apps has suddenly refused to load.
I haven't touched it for weeks or even months so I am a bit baffled. I
was not doing anything to the app .. I have just been informed by a
user that it was down and there is a failed to load message on the
screen.
It appears to imply that a gem is missing.. but the app has been
running for a year or so unchanged!
The message that appears on the page is :
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
App failed to start
An error happened during the initialization of your app.
This may be due to a typo, wrong number of arguments, or calling a
function that doesn’t exists. Check the stack trace below for specific
details.
Make sure the app is working locally in production mode, by running it
with RAILS_ENV (for Rails apps) or RACK_ENV (for Sinatra or other rack
apps) set to production. e.g. RAILS_ENV=production script/server.
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:74:in
`establish_connection': Please install the adapter: `gem install
activerecord--adapter` (no such file to load -- active_record/
connection_adapters/_adapter) (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
58:in `establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/connection_adapters/abstract/connection_specification.rb:
53:in `establish_connection'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
392:in `initialize_database'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
139:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
112:in `send'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:
112:in `run'
from /disk1/home/slugs/14199_e3ce321_17fe/mnt/config/environment.rb:
16
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
... 14 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
29:in `instance_eval'
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:
29:in `initialize'
from /home/heroku_rack/heroku.ru:1:in `new'
from /home/heroku_rack/heroku.ru:1
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Any pointers would be very welcome
Cheers
George
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.