1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Run An Older Version Of Bundler as a ruby til

This commit is contained in:
jbranchaud
2019-06-25 10:38:06 -05:00
parent 7283ada05a
commit 2215ebc073
2 changed files with 26 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
For a steady stream of TILs from a variety of rocketeers, checkout
[til.hashrocket.com](https://til.hashrocket.com/).
_821 TILs and counting..._
_822 TILs and counting..._
---
@@ -665,6 +665,7 @@ _821 TILs and counting..._
- [Require Entire Gemfile In Pry Session](ruby/require-entire-gemfile-in-pry-session.md)
- [Rerun Only Failures With RSpec](ruby/rerun-only-failures-with-rspec.md)
- [Returning With Sequel](ruby/returning-with-sequel.md)
- [Run An Older Version Of Bundler](ruby/run-an-older-version-of-bundler.md)
- [Running A Single MiniTest Example](ruby/running-a-single-minitest-example.md)
- [Safe Navigation Operator](ruby/safe-navigation-operator.md)
- [Scripting With RVM](ruby/scripting-with-rvm.md)

View File

@@ -0,0 +1,24 @@
# Run An Older Version Of Bundler
You can check your current version of bundler like so:
```bash
$ bundle --version
1.17.3
```
If you have older versions of bundler, you run against those by specifying the
version in the command:
```bash
$ bundle _1.16.6_ --version
1.16.6
```
Likewise this can be used with any bundler command:
```bash
$ bundle _1.16.6_ install
```
[source](https://makandracards.com/makandra/9741-run-specific-version-of-bundler)