I was working through Chris refile gem course and trying to implement it into my app. When I tried to do bundle install, I kept running into an error message in my console saying that bundle could not find compatible versions for my gem "rack" (screenshot of error below). I tried looking at these Stackoverflow questions - https://stackoverflow.com/questions/40284591/bundler-could-not-find-compatible-versions-for-gem-rack-in-gemfile and https://stackoverflow.com/questions/22704671/bundler-could-not-find-compatible-versions-for-gem-rack without success. I tried multiple approaches - 1. putting rack in my Gemfile, 2. uninstalling all previous rack and then installing rack versions. None seemed to work. And this issue only appears when I have inserted "gem "refile", require: "refile/rails" &
gem "refile-mini_magick"; when I remove these two gems my gemfile can be bundle installed without issue. I would greatly appreciate any help on this issue. Thank you so much.
When I run Bundle Install
When I then run Bundle Update
Can you post the exact error message? Try running bundle update. That will likely resolve your issue.
Gary I tried bundle update and that didn't work, I thought about installing an earlier version of rails would you recommend that?
Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.