0

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.

Community
  • 1
  • 1
user3738936
  • 936
  • 8
  • 22
  • `bundle update` is trying to update the gems in your `Gemfile`. Is that what you want? What are you trying to accomplish with `bundle update`? Update the gem? – ptd Jan 26 '15 at 17:38
  • What does make you think you have a problem with kernel_require ? – Jaffa Jan 26 '15 at 17:41
  • @ptd Yes, per the link in the original question that is a fix that was used for kernel_require.rb:55:in `require': cannot load such file error – user3738936 Jan 26 '15 at 19:41

1 Answers1

1

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.

Jaffa
  • 12,442
  • 4
  • 49
  • 101