Error while installaing Rails: [Errno: EINVAL]

29 views
Skip to first unread message

Rubyist Rohit

unread,
Aug 2, 2011, 7:16:33 AM8/2/11
to rubyonra...@googlegroups.com
While installing Rails on Windows 7 using following command, an error
was displayed and installation interrupted. Attached is the image.

gem install rails

How to rectify this error and what it means?

Attachments:
http://www.ruby-forum.com/attachment/6484/RailsInstallationError.png


--
Posted via http://www.ruby-forum.com/.

Alex Katebi

unread,
Aug 2, 2011, 8:29:55 AM8/2/11
to rubyonra...@googlegroups.com
gem install rails --no-ri --no-rdoc

Nobody ever uses the stupid ri rdoc crap and there is always some issue installing them.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Tim Shaffer

unread,
Aug 2, 2011, 10:24:32 AM8/2/11
to rubyonra...@googlegroups.com
You can also add this line to your ~/.gemrc file to make it the default:

gem: --no-ri --no-rdoc

Rubyist Rohit

unread,
Aug 2, 2011, 1:30:45 PM8/2/11
to rubyonra...@googlegroups.com
What is ri and rdoc?

Chris Mear

unread,
Aug 3, 2011, 12:19:29 PM8/3/11
to rubyonra...@googlegroups.com
On 2 August 2011 18:30, Rubyist Rohit <li...@ruby-forum.com> wrote:

> What is ri and rdoc?

RDoc is system that generates documentation for the libraries you
install. ri is program that gives you command-line access to the same
documentation.

As an example, when you look at http://api.rubyonrails.org/ , you're
looking at documentation generated by RDoc.

By default, when you install a gem, RubyGems also generates the ri and
RDoc documentation files for the gem, so that you can access this
documentation locally on your computer.

Chris

Reply all
Reply to author
Forward
0 new messages