Ruby on Rails Sunday, December 11, 2016

Hi,

On Mon, Dec 12, 2016, at 12:50, fugee ohu wrote:
> What's wrong with " gem 'rack', '2.0.1' " in my Gemfile ?
>
> Here's the error I get when I run bundle install:
>
> Bundler could not find compatible versions for gem "rack":
> In Gemfile:
> rack (= 2.0.1)
>
> rails (= 5.0.0.1) was resolved to 5.0.0.1, which depends on
> actionpack (= 5.0.0.1) was resolved to 5.0.0.1, which depends on
> rack (~> 2.0)
>
> mailcatcher (= 0.6.5) was resolved to 0.6.5, which depends on
> rack (~> 1.5)
>

The problem is with mailcatcher which isn't designed to be put in
Gemfile (version conflicts).

Quoting from the README:
> Please don't put mailcatcher into your Gemfile. It will conflict with your applications gems at some point.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1481517800.2140626.815834697.062E81BA%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment