Permalink
Browse files

Dev:try disabling assets

  • Loading branch information...
1 parent 944478b commit b46819cd85f70e86b862543b6287569f88fb5110 @dchelimsky dchelimsky committed May 7, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 Rakefile
View
@@ -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

0 comments on commit b46819c

Please sign in to comment.