<NME> Rakefile
<BEF> require "bundler"
Bundler.setup

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)

gemspec = eval(File.read("humanizer.gemspec"))

task :build => "#{gemspec.full_name}.gem"

file "#{gemspec.full_name}.gem" => gemspec.files + ["humanizer.gemspec"] do
  system "gem build humanizer.gemspec"
  system "gem install humanizer-#{Humanizer::VERSION}.gem"
end

<MSG> Updates the Rakefile
<DFF> @@ -1,14 +1,12 @@
-require "bundler"
-Bundler.setup
+# encoding: UTF-8
+require "bundler/gem_tasks"
 
-require "rspec/core/rake_task"
-RSpec::Core::RakeTask.new(:spec)
+require "rake"
+require "rake/task"
 
-gemspec = eval(File.read("humanizer.gemspec"))
+require "rspec/core"
+require "rspec/core/rake_task"
 
-task :build => "#{gemspec.full_name}.gem"
+RSpec::Core::RakeTask.new(:spec)
 
-file "#{gemspec.full_name}.gem" => gemspec.files + ["humanizer.gemspec"] do
-  system "gem build humanizer.gemspec"
-  system "gem install humanizer-#{Humanizer::VERSION}.gem"
-end
+task :default => :spec
\ No newline at end of file

Updates the Rakefile