Use the same pattern I suggested before

task :spree_site, :roles => :db, :only =>{:primary => true} do
  run "RAILS_ENV=#{rails_env} bundle exec rails g spree:site"
end

On Dec 7, 2011, at 8:47 AM, jay parteek <[email protected]> wrote:

> rails g spree:site

-- 
* 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

Reply via email to