I am new to Beanstalk. I created a Rails application and set up a database production configuration to use the environment variables that we hope AWS provided. I use Mysql (mysql2 gem) and want to use RDS and Passenger (I have no preferences there).
In my development environment, I can run the rails application using my local Mysql (this is just the base application I created for experimenting). I added a gem to the Gemfile and bundled, but I still use WEBBrick in development.
The only thing I did not do in the book was that I did not use "eb", but rather tried from the console. My application / environment failed to start while "rake db: migrate" still thinks I want it to connect to the local Mysql (I think from the logs that it does not know RACK_ENV and therefore uses "development") .
What advice? I can, of course, try the following "eb", but would prefer to work with the console.
Regards, Oren
source share