Hi Tom, Unfortunately, it doesn't look like you can - https://github.com/capistrano/rails/blob/master/lib/capistrano/tasks/assets.rake#L48 .
However you can still make Rails always compile assets, somehow as far as I remember, even if the static ones are there. As a worst-case, you could configure rails to serve assets from their sources files (i.e not pre compiled) and simply add your own task to delete the compiled assets in that particular environment. Definitely sub-optimal, but also you could probably send a PR to the capistrano/rails maintainers, or even replace this task with your own implementation <https://github.com/capistrano/rails/blob/master/lib/capistrano/tasks/assets.rake#L22-L25>. Note, a lot of people struggle with this, but this increasingly old gem clears up the behaviour of all the rake task override stuff http://blog.jayfields.com/2008/02/rake-task-overwriting.html Lee Hambley http://lee.hambley.name/ +49 (0) 170 298 5667 On 7 January 2015 at 16:52, Tom Harrison <tharri...@pubget.com> wrote: > Versions: > > - Ruby: 2.1 > - Capistrano: 3.1 > - Rake / Rails / etc: 4.1 > > Platform: > > - Working on....: OS X > - Deploying to...: CentOS > > We have a development environment that is not local (we call it > "remotedev"), and have been deploying to it. But we want it to be like a > local dev environment, in particular not using the assets pipeline. > > I am pretty sure I have the config/remotedev.rb configured in such a way > that Rails should not use the assets pipeline. But assets are not loading > (no images, css, etc.) ... I am trying to prevent asset precompile in the > hope that this will allow Rails to do its normal development thing. > > How can I conditionally suppress asset precompilation in Cap 3? > > Thanks! > > Tom > > -- > 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 capistrano+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/30d86f38-1ea1-4875-97d0-c3f296d49ef2%40googlegroups.com > <https://groups.google.com/d/msgid/capistrano/30d86f38-1ea1-4875-97d0-c3f296d49ef2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLXt0LFt0m8UWvnuk4PPaMqDoL-WJwGadN2G1J%3DoJzsnDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.