Issue with activerecord

Hi all,

When i tried to install rails. it installs activerecord which is ok,also
i have tried installing activerecord on its own but i have a error:

Installing ri documentation for activerecord-3.0.4…
ERROR: While generating documentation for activerecord-3.0.4
… MESSAGE: Invalid argument - ./</cdesc-<.ri
… RDOC args: lib README.rdoc
(continuing with the rest of the installation)
Installing RDoc documentation for activerecord-3.0.4…
ERROR: While generating documentation for activerecord-3.0.4
… MESSAGE: error generating <.html: Invalid argument -
C:/Ruby187/lib/ruby/g
ems/1.8/doc/activerecord-3.0.4/rdoc/<.html (Errno::EINVAL)
… RDOC args: lib README.rdoc

Has anyone got any idea why this is happening and what it means

Many Thanks

On Wed, 9 Feb 2011 10:55:08 +0900
Paul Na [email protected] wrote:

… RDOC args: lib README.rdoc
(continuing with the rest of the installation)
Installing RDoc documentation for activerecord-3.0.4…
ERROR: While generating documentation for activerecord-3.0.4
… MESSAGE: error generating <.html: Invalid argument -
C:/Ruby187/lib/ruby/g
ems/1.8/doc/activerecord-3.0.4/rdoc/<.html (Errno::EINVAL)
… RDOC args: lib README.rdoc

Has anyone got any idea why this is happening and what it means

That error messages mean that RubyGems cannot generate documentation
for the gems you install (activerecord, in this case). Documentation is
not distributed in gems (probably for size reasons); instead, it is
generated from the source code each time when one installs the gem.

Sometimes, due to some incompatibilites in systems/RDoc versions/etc
this process fails. It just means you cannot use your locally generated
documentation (use api.rubyonrails.org instead); this does not affect
usability of the gem. You can install it with
gem install activerecord --no-ri --no-rdoc, if you want to get rid of
the errors themselves.

Peter Z. wrote in post #980457:

On Wed, 9 Feb 2011 10:55:08 +0900
Paul Na [email protected] wrote:

… RDOC args: lib README.rdoc
(continuing with the rest of the installation)
Installing RDoc documentation for activerecord-3.0.4…
ERROR: While generating documentation for activerecord-3.0.4
… MESSAGE: error generating <.html: Invalid argument -
C:/Ruby187/lib/ruby/g
ems/1.8/doc/activerecord-3.0.4/rdoc/<.html (Errno::EINVAL)
… RDOC args: lib README.rdoc

Has anyone got any idea why this is happening and what it means

That error messages mean that RubyGems cannot generate documentation
for the gems you install (activerecord, in this case). Documentation is
not distributed in gems (probably for size reasons); instead, it is
generated from the source code each time when one installs the gem.

Sometimes, due to some incompatibilites in systems/RDoc versions/etc
this process fails. It just means you cannot use your locally generated
documentation (use api.rubyonrails.org instead); this does not affect
usability of the gem. You can install it with
gem install activerecord --no-ri --no-rdoc, if you want to get rid of
the errors themselves.

Hi Peter,

I have tried --no-ri --no-rdoc which does solve the issue , but i also
tried uninstall rdoc rdoc-data and reinstall them aswell running
rodc-data --install and gem rdoc-data --all --overwrite which does not
seem to work

Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs