From: Luis Lavena Date: 2010-02-05T19:25:15+09:00 Subject: Re: Problems with RubyGems on a Debian machine On Feb 5, 9:38 am, Greg Chambers wrote: > Just some additional information I found after searching the gem > directory.  So if I try 'gem install rails' the first time, it stops at > the normal rack dependency error.  When I check the gems installed, it > installed activerecord, activesupport, rack, and rake.  When I try 'gem > install rails' again, I get the same error message, but this time I see > that actionpack is also installed.  However, repeating 'gem install > rails' past this will not install any additional gems.  The exact error > message is: > > ERROR:  Error installing rails: >         actionpack requires rack (~> 1.0.0, runtime) > This issue was discovered and discussed here: http://rubyforge.org/pipermail/rubygems-developers/2010-January/005141.html The issue is that there are components that define runtime and development time dependencies. RubyGems up to version 1.3.5 was not capable of resolve that recursive issue. > Again, not sure if this is a Rails specific issue I should just move the > to Ruby on Rails forum/mailing list but since this seems to be an error > with RubyGems and not Rails, I thought it would be appropriate to post > here.  Again, any help would be very much appreciated. In the mean time, you can manually install rack and then proceed with the normal gem installation. The fix will be part of next RubyGems release. -- Luis Lavena