Permalink
Browse files

cleanup loading in Rakefile

  • Loading branch information...
1 parent e0b094f commit d882efcc32be0432f254933e79ffb2318de5af01 @mislav committed Nov 6, 2009
Showing with 3 additions and 10 deletions.
  1. +3 −10 Rakefile
View
@@ -1,12 +1,5 @@
-require 'rubygems'
-begin
- hanna_dir = '/Users/mislav/Projects/Hanna/lib'
- $:.unshift hanna_dir if File.exists? hanna_dir
- require 'hanna/rdoctask'
-rescue LoadError
- require 'rake'
- require 'rake/rdoctask'
-end
+require 'rake/rdoctask'
+
load 'spec/tasks.rake'
desc 'Default: run specs.'
@@ -55,4 +48,4 @@ task :website do
%x(haml index.haml index.html)
%x(sass pagination.sass pagination.css)
end
-end
+end

0 comments on commit d882efc

Please sign in to comment.