Skip to content

Commit

Permalink
Merge pull request #983 from danascheider/961-fix-gemfile
Browse files Browse the repository at this point in the history
Resolve issue 961
  • Loading branch information
danascheider authored Jul 7, 2016
2 parents 5762ec9 + 87cf23b commit b4ec925
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ gemspec
unless ENV['CUCUMBER_USE_RELEASED_CORE']
core_path = File.expand_path("../../cucumber-ruby-core", __FILE__)
wire_path = File.expand_path("../../cucumber-ruby-wire", __FILE__)
if File.exist?(core_path) && !ENV['CUCUMBER_USE_GIT_CORE']
gem 'cucumber-core', :path => core_path
gem 'cucumber-wire', :path => wire_path
if File.exist?(core_path) && !ENV["cucumber_use_git_core"]
gem "cucumber-core", :path => core_path
else
gem 'cucumber-core', :git => "https://github.com/cucumber/cucumber-ruby-core.git"
gem "cucumber-core", :git => "git://github.com/cucumber/cucumber-ruby-core.git"
end

if File.exist?(wire_path) && !ENV["CUCUMBER_USE_GIT_CORE"]
gem "cucumber-wire", :path => wire_path
else
gem "cucumber-wire", :git => "git://github.com/cucumber/cucumber-ruby-wire.git"
end
end

Expand Down

0 comments on commit b4ec925

Please sign in to comment.