Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
Lib is always added to the path now.
  • Loading branch information
mattwynne committed Apr 22, 2013
1 parent 6a78d43 commit 281b271
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/cucumber/rake/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ def run
end
end

LIB = File.expand_path(File.dirname(__FILE__) + '/../..') #:nodoc:

# Directories to add to the Ruby $LOAD_PATH
attr_accessor :libs

Expand Down Expand Up @@ -142,7 +140,6 @@ def initialize(task_name = "cucumber", desc = "Run Cucumber features")
@rcov_opts = %w{--rails --exclude osx\/objc,gems\/}
yield self if block_given?
@binary = binary.nil? ? Cucumber::BINARY : File.expand_path(binary)
@libs.insert(0, LIB) if binary == Cucumber::BINARY
define_task
end

Expand Down

0 comments on commit 281b271

Please sign in to comment.