-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Bug with Ruby 2.0:`require': cannot load such file -- rubygems/format (LoadError) #2204
Comments
1.2.3 is not compatible with the 2.0 prerelease versions of Ruby or Rubygems. Please install the Bundler 1.3.0 prerelease by running |
I had a similar issue:
I had to comment My setup:
|
Has anyone run into the same issue with OSX El Capitan? |
Here is my error with El Capitan: rails server My Setup: $ruby -v $ bundle -v $ gem -v |
Yes, Andre this was indeed resolved thank you so much. The issue with mine seems to have come up when I upgraded to OSX El Capitan. I had to change some permissions in order to to get the Bundler installed and working.
|
@indirect can you please share the link where the issue has been resolved. And how I can go about it. I am facing the same issue. cannot load such file -- pry (LoadError) though I am still on yosemite. |
@JyotsnaGorle this ticket was a problem with Bundler 1.2, and was fixed in Bundler 1.3. That was 3 years ago. If you are having a problem with Bundler, please follow ISSUES and report your problem in a new ticket. |
Hi getleman! I have the same problem running Ruby platform on Windows. Please, do You have any clue What should I do?: gem -v |
bundle install /usr/share/rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in what can be solution of it? |
Hi there, anyone got a fix for it? I have the exact same issue. Thanks |
Here is how I resolved it (on windows 10). I had first ROR installed using railsinstaller. Then the guide said you should also install Ruby Dev Kit, so installed it. Then when I faced this issue, I just uninstalled Ruby Dev Kit completely and lef just the original Rails installation. This solved the problem for me. So the trick is dont install ruby dev kit and if you installed it remove it. I am a newbie, so I dont know how this help resolved it. But it did. |
when I install puppet master thru aws instance on gitbash terminal i am getting below issue |
Bug using the new Bundler (1.2.3) and new Ruby (2.0.0 Preview 2 MRI) and gem. Stack trace below.
Bundler is trying to require 'rubygems/format' but that file does not seem to exist in Ruby 2.
Editing the Bundler source code to comment out the require line does help-- but there's a subsequent bug. See below.
Diagnostics: where is the rubygems/format file in Ruby 1.9.3 vs. Ruby 2.0.0?
My setup:
In case it's helpful to know:
Perhaps notable: when I comment out the Bundler line "require 'rubygems/format', that does help some. Bundler fetches some metadata, then crashes trying fetch all remote specs.
The text was updated successfully, but these errors were encountered: