Skip to content

Commit

Permalink
Dev:try disabling assets
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed May 7, 2011
1 parent 944478b commit b46819c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Expand Up @@ -90,6 +90,11 @@ namespace :generate do
Dir.chdir("./tmp/example_app") do
sh "rm -rf test"
sh "ln -s #{bindir}"
application_file = File.read("config/application.rb")
sh "rm config/application.rb"
File.open("config/application.rb","w") do |f|
f.write application_file.gsub("config.assets.enabled = true","config.assets.enabled = false")
end
end
end
end
Expand Down

0 comments on commit b46819c

Please sign in to comment.