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

Category: `gem install` command (extensions)
Group: v1.5.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Adrián De la Cruz (lobo_tuerto)
Assigned to: Nobody (None)
Summary: undefined class/module YAML::PrivateType

Initial Comment:
I'm on Ubuntu 10.10, using rvm and just upgraded (yesterday) rubygems from 
1.5.0 to 1.5.2.

Now I'm getting this strange error whenever I try to install my recently 
released gems (with Jeweler).

I have two cases: missile-command-ruby and lotu.


========= missile-command-ruby =========

$ gem install missile-command-ruby
ERROR:  While executing gem ... (ArgumentError)
    undefined class/module YAML::PrivateType

Even a local rake install gives:

$ rake install
(in /home/oewolf/development/gamedev/github/missile-command-ruby)
  Successfully built RubyGem
  Name: missile-command-ruby
  Version: 0.0.6
  File: missile-command-ruby-0.0.6.gem
Executing "ruby -S gem install ./pkg/missile-command-ruby-0.0.6.gem":
ruby -S gem install ./pkg/missile-command-ruby-0.0.6.gem
ERROR:  While executing gem ... (ArgumentError)
    undefined class/module YAML::PrivateType
rake aborted!
Command failed with status (1): [ruby -S gem install ./pkg/missile-command-...]


========= lotu =========

$ gem install lotu
ERROR:  While executing gem ... (ArgumentError)
    undefined class/module YAML::PrivateType

$ rake install
(in /home/oewolf/development/gamedev/github/lotu)
  Successfully built RubyGem
  Name: lotu
  Version: 0.1.17
  File: lotu-0.1.17.gem
Executing "ruby -S gem install ./pkg/lotu-0.1.17.gem":
ruby -S gem install ./pkg/lotu-0.1.17.gem
Successfully installed lotu-0.1.17
1 gem installed
Installing ri documentation for lotu-0.1.17...
Installing RDoc documentation for lotu-0.1.17...



The last one install successfully via rake install... weird.

Any help regarding this? if you need more info just post it in a follow up.


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

>Comment By: Adrián De la Cruz (lobo_tuerto)
Date: 2011-02-25 10:56

Message:
Related info:

http://www.mail-archive.com/rubygems-
develop...@rubyforge.org/msg04392.html

http://comments.gmane.org/gmane.comp.lang.ruby.general/33536
9

http://help.rubygems.org/discussions/problems/483-gems-
built-with-rubygems-150-ruby-192-do-not-install-properly-
with-150-187

=======================================
Here is my gem env:

$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [x86_64-
linux]
  - INSTALLATION DIRECTORY: /home/oewolf/.rvm/gems/ruby-
1.9.2-p136
  - RUBY EXECUTABLE: /home/oewolf/.rvm/rubies/ruby-1.9.2-
p136/bin/ruby
  - EXECUTABLE DIRECTORY: /home/oewolf/.rvm/gems/ruby-1.9.2-
p136/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/oewolf/.rvm/gems/ruby-1.9.2-p136
     - /home/oewolf/.rvm/gems/ruby-1.9.2-p136@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/


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

Comment By: Adrián De la Cruz (lobo_tuerto)
Date: 2011-02-25 10:38

Message:
Ruby version: ruby-1.9.2-p136 (managed with rvm)

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

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=29034&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