Error installing some gems (Ruby 1.9.2)

Hi I am testing Ruby 1.9.2 and Rails 3.
Has anybody encountered this error:

web katz$ gem install rspec-rails

I'd also like to add that this only occurs for 1.9.2.

Using Ruby 1.9.1 and Ruby 1.8.7, installing rspec-rails and mail gem
is just fine.

Katherine, here are my results for installing rspec and rspec-rails:

$ ruby -v

ruby 1.9.2dev (2010-02-18 trunk 26707) [powerpc-darwin9.8.0]

$ gem install rspec rspec-rails

I’d also like to add that this only occurs for 1.9.2.

Using Ruby 1.9.1 and Ruby 1.8.7, installing rspec-rails and mail gem

is just fine.

Katherine, here are my results for installing rspec and rspec-rails:

$ ruby -v

ruby 1.9.2dev (2010-02-18 trunk 26707) [powerpc-darwin9.8.0]

$ gem install rspec rspec-rails


Thank you for installing rspec-1.3.0

Please be sure to read History.rdoc and Upgrade.rdoc

for useful information about this release.


Successfully installed rspec-1.3.0


Thank you for installing rspec-rails-1.3.2

If you are upgrading, do this in each of your rails apps

that you want to upgrade:

$ ruby script/generate rspec

Please be sure to read History.rdoc and Upgrade.rdoc

for useful information about this release.


Successfully installed rspec-rails-1.3.2

2 gems installed

Installing ri documentation for rspec-1.3.0…

Installing ri documentation for rspec-rails-1.3.2…

Installing RDoc documentation for rspec-1.3.0…

Could not find main page README.rdoc

Installing RDoc documentation for rspec-rails-1.3.2…

Could not find main page README.rdoc

If you’re using RVM to manage your Ruby VMs, then I would recommend doing the following:

rvm install ruby-head

Note: If it is installed already installed, then the above command would perform an ‘svn update’ and rebuild things as normal.

Ruby 1.9.2 development branch is very active. Thus, if you want to stay current, then you’ll need to upgrade every so often. Lastly, I also tend to use Ruby 1.9.1 (i.e. rvm install 1.9.1-head) in conjunction with Ruby 1.9.2 because it’s a bit more stable and it’s a good fallback in the event Ruby 1.9.2 source update goes bad. However, I can wait until Ruby 1.9.2 is released because it appears noticeably faster than 1.9.1.

Good luck,

-Conrad

Katherine, the installation of the documentation tends to error out or hang in some cases. Thus, I wouldn’t worry too much about it. However, I would recommend filing a ticket against the gem so that they are aware of the issue.

-Conrad

Thanks.. I guess it's fine now. They also fixed bundler gem issues.