Bundler will not call Rubygems' API endpoint default but download and cache a currently big index file of all gems. Performance can be improved for large bundles that seldom change by enabling this option. The location of the Gemfile 5 which Bundler should use. This defaults to a Gemfile 5 in the current working directory. In general, Bundler will assume that the location of the Gemfile 5 is also the project's root and will try to find Gemfile. Do not attempt to connect to rubygems.
Note that if an appropriate platform-specific gem exists on rubygems. This does not remove any gems in the cache but keeps the newly bundled gems from being cached during the install. The location to install the specified gems to. This defaults to Rubygems' setting.
Bundler shares this location with Rubygems, gem install Therefore, gems installed without a --path Accordingly, gems installed to other locations will not get listed. Do not print progress information to the standard output.
Uses the specified ruby executable usually ruby to execute the scripts created with --binstubs. In addition, if you use --binstubs together with --shebang jruby these executables will be changed to execute jruby instead. Makes a bundle that can work without depending on Rubygems or Bundler at runtime. A space separated list of groups to install has to be specified. Bundler creates a directory named bundle and installs the bundle there. Installs the gems specified in the bundle to the system's Rubygems location.
This overrides any previous configuration of --path. A space-separated list of groups referencing gems to install. If an optional group is given it is installed. If a group is given that is in the remembered list of groups given to --without, it is removed from that list. Community Bot 1. Darth Egregious Darth Egregious 7 7 silver badges 15 15 bronze badges. Checked in deepin ThunderBird 1, 12 12 gold badges 17 17 silver badges 30 30 bronze badges.
Udeesha Induwara Udeesha Induwara 3 3 bronze badges. What does this do? Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Then force rubygems to use the version you want see this post :. I had the same issue on macOS Mojave. I installed the different version of the bundler gem and uninstall the current version. Then gives me the option to choose the version to uninstall and I choose the one which is creating the problem.
This is what I had to do to get it to work to install with a previous version 2. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Ask Question. Created Nov 7, Code Revisions 1. Embed What would you like to do?
Embed Embed this gist in your website. Share Copy sharable link for this gist. Worth noting that this does not seem to affect executable binaries. Uninstalling the previous version worked for binaries though. I probably search and find this once a year lol, that's how often I use it but great! Show 1 more comment. I tried applying two v arguments and it appears as though the first was ignored. Using the a comma separator wouldn't even parse. I ended up removing the greater than requirement and it happened to install an acceptable version, but having a formal solution would be nice.
It means that the last digit is allowed to grow stackoverflow. Mael Stor's answer tells us that Joseph Coco's suggested two v arguments from six years earlier now works. For installing gem install gemname -v versionnumber For uninstall gem uninstall gemname -v versionnumber. Emjey Emjey 1, 1 1 gold badge 14 14 silver badges 31 31 bronze badges. Kokizzu Kokizzu Looks like this feature is new : — kolypto. Ruby 1.
0コメント