Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing through of the full-index option. #137

Merged
merged 1 commit into from
Mar 15, 2018
Merged

Conversation

nickcharlton
Copy link
Member

Bundler provides an option to fetch the full RubyGems index. This is
useful in the case of really old dependencies (like Rails 3 in 2018)
which still work, but are not returned normally. This allows passing
that through to bundle install.

@nickcharlton
Copy link
Member Author

This PR has inadvertently made me aware of a syntax issue meaning that the tests aren't running properly. Locally, the following line passes:

expect(output).to include
  'bundle install --gemfile=gemfiles/1.0.0.gemfile --jobs=2'

But this doesn't:

expect(output).to include(
  'bundle install --gemfile=gemfiles/1.0.0.gemfile --jobs=2'
)

@@ -67,4 +68,23 @@
'bundle install --gemfile=gemfiles/1.0.0.gemfile --jobs=1')
end
end

context "with full-index", parallel: true do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A synonym for parallel: true is :parallel.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nice, thanks! I hadn't thought of that.

Bundler provides an option to fetch the full RubyGems index. This is
useful in the case of really old dependencies (like Rails 3 in 2018)
which still work, but are not returned normally. This allows passing
that through to `bundle install`.
@nickcharlton nickcharlton merged commit 5d1edf6 into master Mar 15, 2018
@nickcharlton nickcharlton deleted the nc-full-index branch March 15, 2018 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants