Rails 3 hero

when i click my rails 3 app git heroku master I get this msg error:

-----> Heroku gets a boost -----> Rails app detected! Heroku Bamboo does not by default contain Rails gems. ! You need to declare it in .gems or Gemfile. ! For more information on setting gems, see http://docs.heroku.com/gems . ! Heroku push rejected, Rails gem value not specified.

error: interceptors / pre -receive completed with error code 1k git @ heroku.com: glowing-rain-62.git! [remote rejection] master β†’ master (reject before receiving) Error: could not click on some links to git @ heroku.com: glowing-rain-62.git '

I have gem 'rails', '3.0.3' specified in my gemfile, so I'm not sure what the problem is ... If anyone can help, I would really appreciate it. Thanks..

+4
source share
3 answers

Remember that the gemfile is case sensitive. Make sure the file is actually in your repo. You must also have a Gemfile.lock file. What version of provider are you using?

+1
source

Have you successfully deployed to Hereka before?

If not, you can double check that rails, 3.0.3 are tied to your Git repository, like a health check ...

0
source

I think the problem might be related to the heroku server type (or idiomatically: stack). The normal stack (called Aspen, I think) is launched by Debian Etch, which does not support newer versions of Rails (i.e. Rails 3) and neither Sinatra.

To solve the problem, you can switch to the Bamboo stack, which is launched by Debian Lenny. You can do this by switching the stack as follows:

heroku create yourname --stack bamboo-mri-1.9.2 

"Your name" is, of course, the name of your application. After that, he should work as he should.

0
source

All Articles