Permalink
Browse files

consistency and ease of splunking

  • Loading branch information...
1 parent 6e18583 commit c3503953580b29462eb8e34f5a114dbcfb616608 @ddollar ddollar committed Oct 10, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/language_pack/rails3.rb
  2. +2 −2 lib/language_pack/ruby.rb
@@ -77,10 +77,10 @@ def setup_asset_pipeline
rake_output = ""
rake_output << run("env PATH=$PATH:bin bundle exec rake assets:precompile 2>&1")
puts rake_output
- log "assets_precompile", :compile => "success"
+ log "assets_precompile", :status => "success"
unless $?.success?
- log "assets_precompile", :compile => "failure"
+ log "assets_precompile", :status => "failure"
puts "Precompiling assets failed, enabling runtime asset compilation"
install_plugin("rails31_enable_runtime_asset_compilation")
puts "Please see this article for troubleshooting help:"
@@ -169,13 +169,13 @@ def build_bundler
end
if $?.success?
- log "bundle", "success"
+ log "bundle", :status => "success"
puts "Cleaning up the bundler cache."
run "bundle clean"
cache_store ".bundle"
cache_store "vendor/bundle"
else
- log "bundle", "failure"
+ log "bundle", :status => "failure"
error "Failed to install gems via Bundler."
end
end

0 comments on commit c350395

Please sign in to comment.