I have had my app in development working fine for months now and have
never encountered this. I just uploaded a few changes including a new
migration (added an index to a table).

When I run heroku rake db:migrate I get the following error;

rake aborted!
no such file to load -- heroku
/app/a06db1b8-25c0-4fba-a198-9f83669c4791/home/Rakefile:10:in
`require'
(See full trace by running task with --trace)
(in /app/a06db1b8-25c0-4fba-a198-9f83669c4791/home)

What? That's stuff that's waaay out of my control isn't it?

I did a migration this way a few days ago and it worked fine. I can't
think of anything I've changed since then. I'm on bamboo-mri-1.9.2. Is
this something that's gone wrong with heroku or at my end?

The full trace is as follows;

heroku rake db:migrate --trace
rake aborted!
no such file to load -- heroku
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:182:in
`require'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:182:in `block
in require'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:547:in
`new_constants_in'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:182:in
`require'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/lib/tasks/cron.rake:
1:in `<top (required)>'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:171:in `load'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:171:in `block
in load_with_new_constant_marking'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:547:in
`new_constants_in'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/
activesupport-2.3.10/lib/active_support/dependencies.rb:171:in
`load_with_new_constant_marking'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/rails-2.3.10/
lib/tasks/rails.rb:14:in `block in <top (required)>'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/rails-2.3.10/
lib/tasks/rails.rb:14:in `each'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/.gems/gems/rails-2.3.10/
lib/tasks/rails.rb:14:in `<top (required)>'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/Rakefile:10:in
`require'
/app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home/Rakefile:10:in `<top
(required)>'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in
`load'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2017:in
`block in load_rakefile'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2000:in
`block in run'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
/usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake:31:in
`<top (required)>'
/usr/ruby1.9.1/bin/rake:19:in `load'
/usr/ruby1.9.1/bin/rake:19:in `<main>'
(in /app/f47a1fc7-411c-43ab-819d-04123dfa1b96/home)


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