Skip to content

Commit

Permalink
Update Gemfile to get wire protocol from git
Browse files Browse the repository at this point in the history
  • Loading branch information
danascheider committed May 28, 2016
1 parent b081ce6 commit 87cf23b
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 87cf23b

Please sign in to comment.