diff --git a/Gemfile b/Gemfile index 9b44d8e2e4..975c9b60da 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/History.md b/History.md index de853ed7d0..e659d22fbf 100644 --- a/History.md +++ b/History.md @@ -6,6 +6,7 @@ ### Bugfixes +* Use HTTPS instead of Git as transport protocol ([#960](https://github.com/cucumber/cucumber-ruby/pull/960)) * Make random order stable and platform independent ([#974](https://github.com/cucumber/cucumber-ruby/pull/974), closes [#971](https://github.com/cucumber/cucumber-ruby/issues/971)) * Run scenarios in fully random order ([#970](https://github.com/cucumber/cucumber-ruby/pull/970) @threedaymonk) * Adding Test Step in AfterStep hook. ([#931](https://github.com/cucumber/cucumber-ruby/pull/931) @t-morgan)