My Rails app crashs in Heroku when I run heroku open in git.
Here is my crash log: http://pastie.org/1686899
On my local pc I use Ruby version 1.9.2p136, Rails version 3.0.3 with phpmyadmin.
And when I run rails server all works fine.
Updated my new error log: http://pastie.org/1686947
You’re using the 1.8.6 stack. Run
heroku stack:migrate bamboo-mri-1.9.2and then deploy the application again.if you still have an issue, please paste the error you get with the 1.9.2 stack.
edit
It looks like you’re running a custom select like
konkurrancers".* FROM "konkurrancers" ORDER BY rand(), at least the log saysThe problem is that rand() is not a function in postgress and that’s why you’re getting an error. (Heroku uses postgress as the DB engine)
Edit 2
try(I assume the name of the entity is Konkurrance)
Edit 3
and the next question is going to be €10 – I accept paypal :p