Bugs item #28922, was opened at 2011-02-11 12:36
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28922&group_id=126

Category: `gem install` command
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: John Mair (banister)
Assigned to: Nobody (None)
Summary: Get `undefined class/module YAML::PrivateType` when installing a gem 
in 1.9.2 

Initial Comment:
Here is the output when i try to `gem install pry` in ruby 1.9.2 in windows 7:

c:\>gem install pry
ERROR:  While executing gem ... (ArgumentError)
    undefined class/module YAML::PrivateType


And the output from `gem env`:

c:\>gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/ruby192/lib/ruby/gems/1.9.1
  - RUBY EXECUTABLE: C:/ruby192/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/ruby192/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/ruby192/lib/ruby/gems/1.9.1
     - C:/emacs/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/


----------------------------------------------------------------------

Comment By: Jon Forums (jonforums)
Date: 2011-02-11 14:54

Message:
Took a quick look through pry and didn't see yaml required, but do any of pry's 
deps use yaml (syck) and conflict with rg's psych preference?

----------------------------------------------------------------------

Comment By: Erik Hollensbe (erikh)
Date: 2011-02-11 13:29

Message:
Took a peek at this; it's not happening on my OS X 1.9.2 install with 1.5.2, 
and I do not have Psych installed. It is reproducible for me on 1.9.2 mingw.


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28922&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to