Hi Lee. I didn't realize that could be done. I just commented out this line
from Capfile, and assets are no longer compiled when deploying:
load 'deploy/assets'
Out of curiousity, why was the deploy:assets:precompile task not being
overridden with my customization?
Thanks,
Nick
On Thursday, March 28, 2013 3:51:06 AM UTC-4, Lee Hambley wrote:
>
> Why not just skip loading the assest extension?
>
> On 28 March 2013 04:31, Nick Hoffman <[email protected]
> <javascript:>>wrote:
>
>> Hi guys. In config/deploy.rb , I have:
>>
>> namespace :deploy do
>> namespace :assets do
>> task :precompile, :roles => :web, :except => { :no_release => true }
>> do
>> puts '***** Skipping asset compilation *****'
>> end
>> end
>> end
>>
>> However, when I deploy, that message isn't printed. Instead, the normal
>> deploy:assets:precompile runs and begins compiling the assets. What am I
>> doing wrong?
>>
>> I'm using rvm-capistrano v1.2.7 and capistrano v2.13.5 .
>>
>> Thanks for your help.
>> Nick
>>
>> --
>> --
>> * You received this message because you are subscribed to the Google
>> Groups "Capistrano" group.
>> * To post to this group, send email to [email protected]<javascript:>
>> * To unsubscribe from this group, send email to
>> [email protected] <javascript:> 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 unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
--
* 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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.