samedi 25 avril 2015

Thin dependency workaround for mailcatcher gem


In order to test emails in my rails app, I tried adding the mailcatcher gem. When I first ran mailcatcher, I got an error with eventmachine that effectively broke the mailcatcher server. I realized this was due to the version of mailcatcher being used, but after I tried to update to a newer version, I am having dependency issues. I got the following error when I ran bundle:

Bundler could not find compatible versions for gem "thin":
  In Gemfile:
    mailcatcher (>= 0.6.1) ruby depends on
      thin (~> 1.5.0) ruby

    thin (1.6.3)

Is there any possible workaround, or other suggestions? I don't want to lock thin at 1.5.0. Older versions of mailcatcher are broken, and the updated versions aren't playing nicely with thin. I may just find another gem to test emails...


Aucun commentaire:

Enregistrer un commentaire