This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #5456 - Shekharrajak:5452_bundle_inject_options, r=colb…
…y-swandale `bundle inject` with source and group options Fixes #5452 Eg ``` $ bundle inject "bootstrap" ">0" --source=https://rubygems.org --group=development Fetching gem metadata from https://rubygems.org/............ Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Fetching gem metadata from https://rubygems.org/............. Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Added to Gemfile: bootstrap (> 0), group => [:development], :source => 'https://rubygems.org' ``` In GemFile ``` gem 'bootstrap', '> 0', :group => [:development], :source => 'https://rubygems.org' ``` ### Multiple group : ``` $ dbundle inject "bootstrap" ">0" --source=https://rubygems.org --group=development,production Fetching gem metadata from https://rubygems.org/............ Added to Gemfile: gem 'bootstrap', '> 0', :group => [:development, :production], :source => 'https://rubygems.org' ``` In gemfile ``` # Added at 2017-03-24 11:40:51 +0530 by shekharrajak: gem 'bootstrap', '> 0', :group => [:development, :production], :source => 'https://rubygems.org' ```
- Loading branch information
Showing
4 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters