-
Notifications
You must be signed in to change notification settings - Fork 56
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
Dependency incompatabilities when setting up the dev environment #184
Comments
Likely due to mimemagic fun from two weeks ago. Try running |
The Gemfile specifies the use of a particular revision of paperclip Line 71 in 37c2dc6
which loops back to the mimemagic error: Bundler could not find compatible versions for gem "mimemagic": In Gemfile: paperclip was resolved to 4.3.1, which depends on mimemagic (= 0.3.0) Any reason we cannot also upgrade paperclip to the latest version (6.1.0)? |
That is two major version bumps of paperclip, you'd have to check the release notes, but likely breaking changes on each version bump. https://github.com/thoughtbot/paperclip/blob/master/NEWS I don't know if we can just upgrade it that far |
I tried 'pinning mimemagic' to 0.3.10 in the following way:
Then, in food-rescue-robot's Gemfile, I specified the fork and the newly-created-ref in place of the existing info in lines 71 and 72: gem 'paperclip', git: 'https://github.com/thoughtbot/paperclip', ref: '523bd46c768226893f23889079a7aa9c73b57d68' and ran
only to find that I'm now facing a new error. Because I'm not seeing that paperclip or mimemagic is installed, I will need some more time to confirm whether or not your suggestion works. |
Yup, we're in a pretty rough spot w/ this app around that right now. Paperclip v5.0.0 has a note: So we literally cannot upgrade this app right now. I believe there is a new version coming by end of the year that will be better around this. |
For any folks trying to get the app running in the future, I was able to get it running with a few tweaks and removing attachment features. Sharing here as it might be a good starting point for you. Sorry these notes are rough, I tried to simplify things, but I'm sure it can be streamlined further.
|
Expected Behavior
Running
bundle install
installs all of the project's dependencies.Actual Behavior
The following error message is produced:
Steps to Recreate
Follow the instructions to set up the dev environment on OSX. After
cd
ing into thefood-rescue-robot
directory, runEnvironment
Operating System: MacOS BigSur (11.2.3)
Ruby version: 2.3.7
bundler version: 1.17.3
The text was updated successfully, but these errors were encountered: