Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created August 5, 2009 06:03
Show Gist options
  • Save defunkt/162537 to your computer and use it in GitHub Desktop.
Save defunkt/162537 to your computer and use it in GitHub Desktop.
desc "Shrink and bundle js and css"
task :bundle, :roles => :app, :except => { :no_release => true } do
run "cd #{current_path}; RAILS_ROOT=#{current_path} rake bundle:all"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment