From 2215ebc0734b6d445392ccda1da0983f0e329636 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 25 Jun 2019 10:38:06 -0500 Subject: [PATCH] Add Run An Older Version Of Bundler as a ruby til --- README.md | 3 ++- ruby/run-an-older-version-of-bundler.md | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 ruby/run-an-older-version-of-bundler.md diff --git a/README.md b/README.md index 5de6f2c..3adfe84 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/ruby/run-an-older-version-of-bundler.md b/ruby/run-an-older-version-of-bundler.md new file mode 100644 index 0000000..4f136ad --- /dev/null +++ b/ruby/run-an-older-version-of-bundler.md @@ -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)