Hi all,

been struggling with this for a few days now...

Have a relatively simple app built in Windows via Railsinstaller.
Before I decided to try and deploy to git I attempted some sketchy
bundle vendor/rails moves which I'm afraid affected the future success
of deployment to heroku.

Anyways,
App runs fine locally, and pushes from git to heroku seemingly ok, but
I have yet to get it to run once on heroku.

Thing about my app is it has no local db, as all data is coming from
an external source - a mysql one.
So in my gemfile there's a gem 'mysql'.  And when creating the heroku
app I did not do any rake db migrations, there are none in the app to
run!

in the Heroku log I see:

?[36m2011-06-01T20:12:19+00:00 heroku[web.1]:?[0m State changed from
created to
starting
?[36m2011-06-01T20:12:21+00:00 heroku[web.1]:?[0m Starting process
with command:
 `thin -p 25188 -e production -R /home/heroku_rack/heroku.ru start`
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m /app/.bundle/gems/ruby/
1.8/gems/a
ctiverecord-3.0.7/lib/active_record/connection_adapters/abstract/
connection_spec
ification.rb:62:in `establish_connection': mydata database is not
configured (Ac
tiveRecord::AdapterNotSpecified)
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/app/models/
agent.rb:2
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:227:in
`load_depende
ncy'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:346:in
`require_or_l
oad'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:300:in
`depend_on'
?[36m2011-06-01T20:12:23+00:00 app[web.1]:?[0m  from /app/.bundle/gems/
ruby/1.8/
gems/activesupport-3.0.7/lib/active_support/dependencies.rb:216:in
`require_depe
ndency'


it's driving me nuts, because I don' t know if somehow I screwed stuff
up playing with gembundler or what.  I removed all vendor/rails files
so that shouldn't be in play here.
I tried adding DATABASE_URL to the heroku config as
mysql://username:pass@hostname/database
but that didnt' seem to help.

Ideas/suggestions much appreciated!
At this point I'm just trying to get this ops part out of the way so I
can continue to develop and deploy.  It's turned out to be a big
hassle!

--

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to