Cap doesn't do either of the commands below by default. You have to define tasks that run them that are hooked into an appropriate part of your deploy chain.
Also remember you need to specify the rails env when you run rake tasks on environments other than development. On Dec 6, 2011, at 10:48 PM, "J.P" <[email protected]> wrote: > On my local server I can these commands > > $ bundle install > > $ rails g spree:site > > > This command loaded all the db tables and also loaded some required > data into the database. > Also site works great @ localhost:3000. > > Then in order to run the site in production (ec2) http://passionate4.net/ > I ran > $cap deploy:cold > $cap deploy > > It showed a long list of deployment related data on the terminal. But > when i try to view the tables in mysql on ec2, It doesn't show up any > tables except "schema_migrations" > > Also upon visiting the site I see some error message here > http://passionate4.net/ > > > > Produciton.log > > Started GET "/" for 67.169.81.157 at 2011-12-06 20:22:01 -0700 > > ActionController::RoutingError (No route matches [GET] "/"): > > > > > > > Please help me with this issue. > > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" 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/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" 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/capistrano?hl=en
