Open SuperSajuuk opened 3 years ago
For anyone reading this who wants a fix, do the following: I recommend only doing this if you feel confident making changes!
git pull origin master
gem 'mimemagic', '~> 0.3.7'
gem 'nokogiri', '~> 1.11.2'
git commit -a -m "your message"
. This will update your local copy of the pulled origin which bundle commands seem to rely upon.bundle install --without development:test
. If you put deployment
in, the command will fail due to "changing your gemfile". If this command fails because of an error about being unable to find a specific bundler version, edit the Gemfile.lock to remove the "Bundled with" dependency.bundle
normally to ensure its completed.bundle exec rake staytus:build staytus:upgrade
Why do I need to do this? Basically, as explained, the defined version of mimemagic does not exist. However, trying to use newer versions requires a specific nokogiri, which leads to an error like the above. To get around the profile, you have to specify the gem versions of nokogiri and mimemagic to use, but because you have pulled from a git origin, you have to tell your local repo copy that its up-to-date.
Hopefully the maintainer can fix this with priority, as a lot of other ruby apps have been impacted by the mimemagic issue.
@adamcooke i tried to ping you in the above but i broke the formatting of the post so I don't think it went through. Important that this be fixed 👍
Hello. The Gemfile.lock requirement is now blocking all installation and upgrade of Staytus. It is specifying a version of mimemagic that has been removed because of licensing issues. Attempting to use the last oldest version [0.3.7] does not work because editing the lock file to fix the version issue causes this error to be thrown:
Using either command still fails to work, either with the same error message or other random issues that are blocking bundle commands from completing.
At this point, without guidance on how to correct this problem, I cannot start my Staytus instance any more, as I'm coming across the issue after having upgraded to Ruby 2.7 from 2.4