I changed the deploy.rb as below but no change, I am unable to use login functionality in production: http://passionate4.net/
namespace :deploy do task :start do ; end task :spree_site, :roles => :db, :only =>{:primary => true} do run "RAILS_ENV=#{rails_env} bundle exec rails g spree:site" end task :stop do ; end task :restart, :roles => :app, :except => { :no_release => true } do run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}" end end ================================================== On Wed, Dec 7, 2011 at 9:45 PM, Donovan Bray <donno...@gmail.com> wrote: > 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 <jayparte...@gmail.com> 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 capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@googlegroups.com 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 capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en