Mike Zornek
2005-Oct-25 01:14 UTC
Got a strange RDoc error while installing a fresh env of RoR tonight
I started a new fresh install of ruby on rails tonight in a Sandbox (using
--prefix on all the configures, and then editing my bash paths to make sure
I was using the Sandbox). I install Ruby 1.8.3 and then RubyGems 0.8.11. I
then used gems to install rails and got this RDoc error:
*************
$ gem install rails
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Install required dependency rake? [Yn] Y
Install required dependency activesupport? [Yn] y
Install required dependency activerecord? [Yn] y
Install required dependency actionpack? [Yn] y
Install required dependency actionmailer? [Yn] y
Install required dependency actionwebservice? [Yn] y
Successfully installed rails-0.14.1
Successfully installed rake-0.6.2
Successfully installed activesupport-1.2.1
Successfully installed activerecord-1.12.1
Successfully installed actionpack-1.10.1
Successfully installed actionmailer-1.1.1
Successfully installed actionwebservice-0.9.1
Installing RDoc documentation for rake-0.6.2...
RDoc failure in lib/rake.rb at or around line 1421 column -517651418
Before reporting this, could you check that the file
you''re documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.
The internal error was:
ERROR: While executing gem ... (RuntimeError)
unget past beginning of file
*************
I then ran `gem install rails` and did not get the error again. Any idea
what I''m doing wrong?
I''m on OS X 10.4.2 if it makes any difference.
Thanks,
~ Mike
--
http://MikeZornek.com