2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Rails】Bundlerのバージョンを2.0.2に戻したい(開発中)

Posted at

開発中にBundlerのバージョンを2.0.2に戻したいそんな時があれば、、、

下記コマンドで1発です

gem uninstall bundler && gem install bundler -v 2.0.2 && rm -rf Gemfile.lock && rm -rf vendor/bundle && bundle

このコマンドがやっていること

  • 現在使用しているbundlerを削除
  • 新しくbundlerのバージョン2.0.2をインストール
  • Gemfile.lockを削除
  • vendor/bundleを削除
  • bundle install

参考

https://qiita.com/Nedward/items/ee70b8196398dc1e3017
https://www.slideshare.net/cuzic/rubygems-bundler
https://qiita.com/egopro/items/aba12261c053eecd6d19

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?