Closed krainboltgreene closed 9 years ago
What's the output of bundle install --verbose
?
@krainboltgreene Foreman is a gem, and you didn't put it in your Gemfile. Either add Foreman to your Gemfile and then bundle exec foreman start
, or leave it out of your Gemfile and foreman start
. You can't mix and match, Bundler was designed to prevent it.
@indirect Either bundler is lying or the error is bad. Look at the error and tell me that's the right thing I should be told.
What Ruby is your Foreman binstub invoking? What's the rubygems env there?
Most likely scenario is that Bundler is setting up a bundle with gems compiled for one ruby, Foreman is hijacking you to a different Ruby, and then the Jekyll app running inside Foreman tries to use the gems from the bundle (compiled for the wrong Ruby) and JSON is missing. What error message should we print in that case? How can we even detect it?
On Fri, Jul 24, 2015 at 8:39 PM, Kurtis Rainbolt-Greene notifications@github.com wrote:
@indirect Either bundler is lying or the error is bad. Look at the error and tell me that's the right thing I should be told.
Reply to this email directly or view it on GitHub: https://github.com/bundler/bundler/issues/3877#issuecomment-124793233
Good question, but since it still ends in multiple questions I would probably not have closed the issue.
@krainboltgreene we try to keep open issues pruned down to bugs in this tracker, and this doesn't look like a bug. If you have a feature request (warnings when changing Ruby executables during bundle exec
, perhaps?) we have a dedicated feature tracker at bundler/bundler-features.
Why this issue is still exist until now? Running the rails server and I got this issue and keep asking me bundle install... bundle install is working fine I didn't get any issue but when running rails server. Here's the full message.
Could not find json-1.8.3 in any of the sources
Run `bundle install` to install missing gems.
Problem:
Details: