Projects

Ticket #123 (closed defect: fixed)

Opened 3 years ago

Last modified 14 months ago

macruby 0.3 - macgem 1.1.1

Reported by: renard@… Owned by: lsansonetti@…
Priority: major Milestone: MacRuby 0.4
Component: MacRuby Keywords: macgem
Cc:

Description (last modified by lsansonetti@…) (diff)

keep getting the following message with macgem commands that go to remoete;

renard$ sudo macgem update --system
Password:
2008-09-07 14:25:02.516 macruby[7410:c0b] *** +[RFC2253DN module_function]: unrecognized selector sent to class 0x9311d50
Updating RubyGems
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating metadata for 826 gems from http://gems.github.com/
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
complete
Nothing to update

===============
did manage to install yahoofinance

renard$ macgem install yahoofinance
2008-09-07 14:17:09.193 macruby[7353:10b] *** +[RFC2253DN module_function]: unrecognized selector sent to class 0x9211c00
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating metadata for 826 gems from http://gems.github.com/
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/user_interaction.rb:181:in `write:': undefined method `write:' for NSMutableArray:Class (NoMethodError)
	from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/user_interaction.rb:181:in `puts'
	from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/user_interaction.rb:181:in `alert_error'
	from (eval):3:in `alert_error'
	from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/command_manager.rb:81:in `rescue in run'
	from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/command_manager.rb:74:in `run'
	from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/rubygems/gem_runner.rb:39:in `run'
	from /usr/local/bin/macgem:24:in `<main>'
renard$ sudo macgem install yahoofinance
Password:
2008-09-07 14:19:37.805 macruby[7370:c0b] *** +[RFC2253DN module_function]: unrecognized selector sent to class 0x9311820
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating metadata for 826 gems from http://gems.github.com/
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................Failed to download spec markcatley-google_analytics-1.0.20080720 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/markcatley-google_analytics-1.0.20080720.gemspec.rz reading http://gems.github.com/quick/markcatley-google_analytics-1.0.20080720.gemspec.rz
.Failed to download spec markcatley-validates_constancy-1.0.20080714 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/markcatley-validates_constancy-1.0.20080714.gemspec.rz reading http://gems.github.com/quick/markcatley-validates_constancy-1.0.20080714.gemspec.rz
Failed to download spec matta-globalite-0.5.0 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/matta-globalite-0.5.0.gemspec.rz reading http://gems.github.com/quick/matta-globalite-0.5.0.gemspec.rz
Failed to download spec matta-googlecharts-1.3.2 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/matta-googlecharts-1.3.2.gemspec.rz reading http://gems.github.com/quick/matta-googlecharts-1.3.2.gemspec.rz
Failed to download spec matta-sdruby-raffle-0.0.2 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/matta-sdruby-raffle-0.0.2.gemspec.rz reading http://gems.github.com/quick/matta-sdruby-raffle-0.0.2.gemspec.rz
Failed to download spec mattetti-globalite-0.5.1 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/mattetti-globalite-0.5.1.gemspec.rz reading http://gems.github.com/quick/mattetti-globalite-0.5.1.gemspec.rz
Failed to download spec mattetti-googlecharts-1.3.5 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/mattetti-googlecharts-1.3.5.gemspec.rz reading http://gems.github.com/quick/mattetti-googlecharts-1.3.5.gemspec.rz
Failed to download spec matthewrudy-RudeQ-0.1 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/matthewrudy-RudeQ-0.1.gemspec.rz reading http://gems.github.com/quick/matthewrudy-RudeQ-0.1.gemspec.rz
.Failed to download spec mattly-hpreserve-0.2.1 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/mattly-hpreserve-0.2.1.gemspec.rz reading http://gems.github.com/quick/mattly-hpreserve-0.2.1.gemspec.rz
Failed to download spec mattly-nginx_config_generator-0.5.3 from http://gems.github.com/:
	Gem::RemoteFetcher::FetchError: error when fetching data from http://gems.github.com/quick/mattly-nginx_config_generator-0.5.3.gemspec.rz reading http://gems.github.com/quick/mattly-nginx_config_generator-0.5.3.gemspec.rz
................................................................................................................................................................................................................................................................................................................................................................
complete
Successfully installed yahoofinance-1.2.2
1 gem installed
renard$ macgem query -n yahoofinance

*** LOCAL GEMS ***

yahoofinance (1.2.2)

Change History

Changed 3 years ago by lsansonetti@…

  • description modified (diff)
  • milestone changed from MacRuby 0.3 to MacRuby 0.4

Changed 3 years ago by lsansonetti@…

I was able to install the yahoofinance gem using trunk

$ sudo macgem install yahoofinance
Password:
2008-09-07 17:14:36.393 macruby[78766:c0b] *** +[RFC2253DN module_function]: unrecognized selector sent to class 0x9312710
Bulk updating Gem source index for: http://gems.rubyforge.org/
Successfully installed yahoofinance-1.2.2
1 gem installed
$ 

So I suspect your macgem update --system line introduced these problems. I will look at the newest version of RubyGems and see if it also work with MacRuby.

In the meantime, it is preferable to not upgrade RubyGems and keep the version that ships with MacRuby.

Changed 14 months ago by eloy.de.enige@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.