Bundle Update Error - Fix for kernel_require.rb:55:in `require':

454 Views Asked by At

I am have essentially the same issue that the guy has in this question:

kernel_require.rb:55:in `require': cannot load such file error

I am trying to do the bundle fix but I cannot update bundle.

$ sudo gem install bundle
Fetching:
bundle-0.0.1.gem (100%)
Successfully installed bundle-0.0.1
Parsing documentation for bundle-0.0.1
Installing ri documentation for bundle-0.0.1 1
gem installed
$ bundle update
Could not locate Gemfile

I have been trying to get fxruby to work and have uninstalled macports and fxruby a few times. I am concerned if bundle was installed by macports at some point and I may have broken it.

1

There are 1 best solutions below

0
On BEST ANSWER

You're issuing bundle update right after you installed bundle, so I think you may not yet have a Gemfile in the current directory, which is what your error says:

Could not locate Gemfile

Check if there is a Gemfile, cd in a directory with a Gemfile or create one and try again.

And you should first bundle install once you have located / created this Gemfile.