Permalink
Browse files

Use warn.

  • Loading branch information...
1 parent 68787c1 commit 193a722bb5265d7d788a78a0830a70dce9978557 @postmodern committed Jun 24, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 Rakefile
View
@@ -3,16 +3,16 @@ require 'rubygems'
begin
require 'bundler'
rescue LoadError => e
- STDERR.puts e.message
- STDERR.puts "Run `gem install bundler` to install Bundler."
+ warn e.message
+ warn "Run `gem install bundler` to install Bundler."
exit e.status_code
end
begin
Bundler.setup(:development)
rescue Bundler::BundlerError => e
- STDERR.puts e.message
- STDERR.puts "Run `bundle install` to install missing gems"
+ warn e.message
+ warn "Run `bundle install` to install missing gems"
exit e.status_code
end

0 comments on commit 193a722

Please sign in to comment.