Lee,
I ran the migrations again it worked. Thanks Lee.
On Tue, Dec 6, 2011 at 11:39 PM, Lee Hambley lee.hamb...@gmail.com wrote:
Share your output logs, via gist or pastie, please.
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post
When I run the app at localhost and i see all the images which i
migrated using rake db:migrate .
My localhost is exactly similar to this url
http://amazing-boutique-1061.spreeworks.com/
After this i deployed the application to ec2 production. I migrated
the db with cap deploy:migrations , but
Jay, What exactly do you expect rake db:migrate does? It simply runs your
migrations, it does not copy local state, and images to the remote server,
that wouldn't make any sense.
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post to this
I got you. So rake db:migrate will just try to export the structure of
the database placed inside the schema.rb. What if we want to copy the
local state (may be some dummy data ) to the remote server?
On Wed, Dec 7, 2011 at 2:21 AM, Lee Hambley lee.hamb...@gmail.com wrote:
Jay, What exactly
You don't.
There's almost never, ever, ever a time you would want to overwrite
production data with your local testing data. (and therefore, no tool that
I know about to do it with)
--
* You received this message because you are subscribed to the Google Groups
Capistrano group.
* To post to
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
Rake db:seeds , provide sample data for development environment only, How can
we transfer the data to production via Capistrano?
Jay
On Dec 7, 2011, at 8:08 AM, Donovan Bray donno...@gmail.com wrote:
rake db:seeds is usually used for this purpose
But it depends on your application
In my development environment when i ran $rails g spree:site (per
spree documentation) is an alternative for -
$ bundle exec rake db:migrate
$ bundle exec rake db:seed
These above commands generate couple of sample data and admin functionality.
How can i run same above command/s on
I've never done it but there's a pull request relatid with your problem:
https://github.com/capistrano/capistrano/pull/18
So I think it should works :)
2011/12/6 Donovan Bray donno...@gmail.com
You know now that I look at my code and scripts i think it just appears to
work for me, because