Being a first timer in deploying application to Heroku, please excuse
my limited knowledge. After launching the application I could see
certain pages showing errors. Thought of running rake test to find out
if the test cases that have been written and which works fine in the
local environment also works on heroku, but whenever I would run
heroku rake test, I would get an error
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
connection_adapters/abstract/connection_specification.rb:62:in
`establish_connection': test database is not configured
(ActiveRecord::AdapterNotSpecified)

1. Is there a way in heroku to configure the test database, since I
believe heroku does not go by database.yml

We did some console logging to find out what could be the error, and
realised that one particular method is not behaving as desired. The
only difference i could find between the local and heroku environment
was the ruby version, locally we were running 1.8.7 and on heroku i
could see MRI 1.8.6. when it was changed to be compatible with 1.8.6,
the issue got resolved.

2. Is there a way we can change the Ruby version to 1.8.7 or configure
our application to 1.8.7.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to