I have made some modifications to some gem files that's not tracked by git. How do I reset the gem files to it's used version in console (with bundler?) ?
I'm also using Ruby on Rails.
You can uninstall the gem
gem uninstall gem-name
And then do a
bundle install
should be the easiest solution
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.