Skip to content

Commit

Permalink
don't fail if the assets:precompile task works
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Jul 15, 2011
1 parent 06af685 commit af665ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/language_pack/rails3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def run_assets_precompile_task
# need to use a dummy DATABASE_URL here, so rails can load the environment
pipe("env RAILS_ENV=production DATABASE_URL=postgres://user:pass@127.0.0.1/dbname PATH=$PATH:#{JS_RUNTIME_PATH} bundle exec rake assets:precompile 2>&1")
unless $?.success?
error "assets:precompile task failed"
puts "assets:precompile task failed"
end
end
end
Expand Down

0 comments on commit af665ab

Please sign in to comment.