-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current rack
dependency version causes conflict with modern rackup
versions
#562
Comments
How does it cause conflicts? |
Try installing |
Ah yes, I can reproduce: $ gem install mailcatcher
...
Successfully installed rack-2.2.9
...
$ gem install rackup
Fetching rack-3.1.7.gem
Fetching rackup-2.1.0.gem
Successfully installed rack-3.1.7
rackup's executable "rackup" conflicts with rack
Overwrite the executable? [yN]
ERROR: Error installing rackup:
"rackup" from rackup conflicts with installed executable from rack Sounds like a bump is in order. It might be possible now, given the dependencies on thin and websocket-driver have been unwound a little. |
Do you think this would potentially solve #560? |
No. #560 is an error in how homebrew has packaged mailcatcher. Workaround for that is don’t install mailcatcher with homebrew. Just:
|
Results in
I don't want to overwrite the executable so can't install |
Just press “n” for now |
Right, that results in not installing the gem |
If you can, uninstall all the versions of |
No, it should install the gem, it just won’t link that particular executable (which isn’t required, at least for mailcatcher) |
Trying to get mailcatcher to work with rack 3, rackup 2.1 |
I must be missing something |
I started to look into what it would take to update this gem so it works with rack 3. Unfortunately, I couldn't even get gems to install. The limiting factor starts with sprockets-sass. Sprockets v4 supports rack 3, but sprockets-sass hasn't been updated to support that version. https://github.com/petebrowne/sprockets-sass/blob/master/sprockets-sass.gemspec#L39 |
The
rack
dependency version,~>2.2
, causes conflicts with modernrackup
versions (e.g.2.1.0
); it should be verified and upgraded to a modern version (e.g.~>3.1
).The text was updated successfully, but these errors were encountered: