简体   繁体   中英

How correct update version gem mailcatcher in ruby on rails?

  1. I installed gem mailcatcher v. 0.5.12,

2.run bundle exec mailcatcher.

But no i want update to version 0.6.

I do next:

  1. gem uninstall mailcatcher v. 0.5.12

  2. gem install mailcatcher 0.6...

I run command bundle show and display error: Could not find mailcatcher-0.5.12 in any of the sources

How me correct remove version 0.5.12?

You need to specify the required compatible version of mailcatcher in your Gemfile

gem 'mailcatcher', '~> x.x.x'

Then run

bundle update mailcatcher

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM