$ cap -Tv | grep spree

No output


$ cap deploy:spree_site
  * executing `deploy:spree_site'
  * executing "RAILS_ENV=production bundle exec rails g spree:site -A"
    servers: ["50.18.159.124"]
    [50.18.159.124] executing command
 ** [out :: 50.18.159.124] Could not locate Gemfile
    command finished in 1001ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'default' -c
'RAILS_ENV=production bundle exec rails g spree:site -A'" on 50.18.159.124




On Mon, Dec 12, 2011 at 9:36 PM, Donovan Bray <[email protected]> wrote:

> My guess is you've defined it in a namespace; probably 'deploy'
>
> Do a
>
> cap -Tv | grep spree
>
> To confirm
>
> Then call it with the correct namespace
>
> cap deploy:spree_site
>
>
> On Dec 12, 2011, at 4:39 PM, jay parteek <[email protected]> wrote:
>
> When i run  $ cap spree_site
> output:  the task `spree_site' does not exist
>
> (I am new to capistrano, there is every possibility I might be doing silly
> mistakes)
>
> ============================
> On Mon, Dec 12, 2011 at 8:22 AM, Donovan Bray <[email protected]> wrote:
>
>> Did you ever actually run that cap task?
>>
>> cap spree_site
>>
>> Nothing magically hooks a task that you create into the deploy chain, you
>> have to either call it manually or use a before or after hook
>>
>> If that task is not idempotent then I would only hook it into deploy:cold
>>
>> after "deploy:cold", :spree_site
>>
>> On Dec 11, 2011, at 11:05 AM, jay parteek <[email protected]> wrote:
>>
>> > 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 <[email protected]>
>> 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 <[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
>> >
>> > --
>> > * 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
>>
>
>  --
> * 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
>

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