Skip to content

Instantly share code, notes, and snippets.

@Geesu
Created December 8, 2014 16:55
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Geesu/d0b58488cfae51f361c6 to your computer and use it in GitHub Desktop.
Save Geesu/d0b58488cfae51f361c6 to your computer and use it in GitHub Desktop.
Disable asset precompilation on heroku
Rake::Task["assets:precompile"].clear
namespace :assets do
task 'precompile' do
puts "Not pre-compiling assets..."
end
end
@paulomcnally
Copy link

Create this file on lib/tasks

@luaybs
Copy link

luaybs commented Feb 20, 2015

Thank you!

@egnorth
Copy link

egnorth commented Mar 12, 2015

Very helpful. Thanks.

@joanromano
Copy link

Thanks for this

@spilliton
Copy link

👍

@zelaznik
Copy link

zelaznik commented Apr 9, 2016

Nice!

@anneau
Copy link

anneau commented Jun 11, 2017

Thanks 👍

@sheminanto
Copy link

sheminanto commented Nov 17, 2022

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment