Skip to content

Commit

Permalink
Implement manual Cucumber features task, to work around bundler bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Mar 6, 2011
1 parent daf5349 commit 7e90d6c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)
#Cucumber::Rake::Task.new(:features)
rescue LoadError
task :features do
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
Expand All @@ -18,6 +18,14 @@ end

task :default => :features

desc "Run Cucumber features"
task :features do
puts "The bundled Cucumber Rake task is broken with Bundler."
puts "Invoking Cucumber manually."
puts
system("cucumber")
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
Expand Down

0 comments on commit 7e90d6c

Please sign in to comment.