作者:葛思志 | 来源:互联网 | 2023-09-10 19:03
Summary
Extracted wire-protocol-gem makes
fail.
Expected Behavior
should succeed.
Current Behavior
fails with
1
| The path `/home/user/data/projects/cucumber-ruby-wire` does not exist. |
Possible Solution
Since I opened another PR #960 a few minutes ago which affects the same lines
but because of a different thing, I just openened an issue.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| ruby
gem "cucumber-pro", "0.0.13", :group => :test
source "https://rubygems.org"
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
else
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 |
Additionally we could add a bootstrap-script. Something really simple:
script/bootstrap
1 2 3 4 5
| #!/usr/bin/env bash
git clone https://github.com/cucumber/cucumber-ruby
git clone https://github.com/cucumber/cucumber-ruby-core
git clone https://github.com/cucumber/cucumber-ruby-wire |
This might be even useful for other cucumber projects. Maybe something similar like Github does.
Steps to Reproduce (for bugs)
1
| git clone https://github.com/cucumber/cucumber-ruby |
1
| git clone https://github.com/cucumber/cucumber-ruby-core |
Context
I had
locally before the
-protocol was extracted to a separate gem.
Your Environment
- Version used: master
- Operating System and version: Not relevant in this case
- Link to your project: Not relevant in this case
该提问来源于开源项目:cucumber/cucumber-ruby
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.