Skip to content

Commit

Permalink
Exclude cucumber from installing on 1.8.6 as it causes a buffer overf…
Browse files Browse the repository at this point in the history
…low on travis during installation.
  • Loading branch information
myronmarston committed Aug 26, 2011
1 parent bb0d71e commit f7bc6b8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ task :cleanup_rcov_files do
rm_rf 'coverage.data'
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new
unless RUBY_VERSION == '1.8.6'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new
end

task :default => [:spec, :cucumber]

Expand Down
10 changes: 8 additions & 2 deletions vcr.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ Gem::Specification.new do |s|
'rake' => '~> 0.9.2',

'rspec' => '~> 2.6',
'cucumber' => '~> 1.0.2',
'aruba' => '~> 0.4.6',
'shoulda' => '~> 2.9.2',

'fakeweb' => '~> 1.3.0',
Expand All @@ -41,6 +39,14 @@ Gem::Specification.new do |s|
s.add_development_dependency lib, version
end

# Cucumber 1.0.2 seems to have issues installing on 1.8.6 :(.
{
'cucumber' => '~> 1.0.2',
'aruba' => '~> 0.4.6',
}.each do |lib, version|
s.add_development_dependency lib, version
end unless RUBY_VERSION == '1.8.6'

{
'patron' => '0.4.9',
'em-http-request' => '~> 0.3.0',
Expand Down

0 comments on commit f7bc6b8

Please sign in to comment.