Skip to content

Commit 2215ebc

Browse files
committed
Add Run An Older Version Of Bundler as a ruby til
1 parent 7283ada commit 2215ebc

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
1010
For a steady stream of TILs from a variety of rocketeers, checkout
1111
[til.hashrocket.com](https://til.hashrocket.com/).
1212

13-
_821 TILs and counting..._
13+
_822 TILs and counting..._
1414

1515
---
1616

@@ -665,6 +665,7 @@ _821 TILs and counting..._
665665
- [Require Entire Gemfile In Pry Session](ruby/require-entire-gemfile-in-pry-session.md)
666666
- [Rerun Only Failures With RSpec](ruby/rerun-only-failures-with-rspec.md)
667667
- [Returning With Sequel](ruby/returning-with-sequel.md)
668+
- [Run An Older Version Of Bundler](ruby/run-an-older-version-of-bundler.md)
668669
- [Running A Single MiniTest Example](ruby/running-a-single-minitest-example.md)
669670
- [Safe Navigation Operator](ruby/safe-navigation-operator.md)
670671
- [Scripting With RVM](ruby/scripting-with-rvm.md)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Run An Older Version Of Bundler
2+
3+
You can check your current version of bundler like so:
4+
5+
```bash
6+
$ bundle --version
7+
1.17.3
8+
```
9+
10+
If you have older versions of bundler, you run against those by specifying the
11+
version in the command:
12+
13+
```bash
14+
$ bundle _1.16.6_ --version
15+
1.16.6
16+
```
17+
18+
Likewise this can be used with any bundler command:
19+
20+
```bash
21+
$ bundle _1.16.6_ install
22+
```
23+
24+
[source](https://makandracards.com/makandra/9741-run-specific-version-of-bundler)

0 commit comments

Comments
 (0)