Skip to content

Commit

Permalink
lib shouldn't manage load path
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Sep 23, 2009
1 parent 642e3b4 commit 5ae1227
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Thorfile
Expand Up @@ -10,11 +10,13 @@ class Default < Thor
include Thor::RakeCompat

Spec::Rake::SpecTask.new(:spec) do |t|
t.libs << 'lib'
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |t|
t.libs << 'lib'
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
t.rcov = true
Expand Down
1 change: 0 additions & 1 deletion lib/thor.rb
@@ -1,4 +1,3 @@
$:.unshift File.expand_path(File.dirname(__FILE__))
require 'thor/base'
require 'thor/group'
require 'thor/actions'
Expand Down
2 changes: 0 additions & 2 deletions spec/spec_helper.rb
@@ -1,7 +1,5 @@
$TESTING=true

$:.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'thor'
require 'stringio'
require 'rubygems'
Expand Down

0 comments on commit 5ae1227

Please sign in to comment.