On Wed, Feb 1, 2012 at 8:35 AM, Robert Walker <li...@ruby-forum.com> wrote:

> Paet Worlds II wrote in post #1043392:
> > gem install nifty-generators
> >
> >
> > And this is what I get:
> >
> >
> > Successfully installed nifty-generators-0.4.6
> > 1 gem installed
> > Installing ri documentation for nifty-generators-0.4.6...
> > ERROR:  While generating documentation for nifty-generators-0.4.6
> > ... MESSAGE:   Invalid argument - ./</cdesc-<.ri
> > ... RDOC args: --ri --op
> > C:/Ruby193/lib/ruby/gems/1.9.1/doc/nifty-generators-0.4
> > .6/ri lib --title nifty-generators-0.4.6 Documentation --quiet
>
> It's only failing to install the docs. Either add the option to gem
> install to skip the docs, or do the actual right thing and put the gem
> in your Gemfile and use bundler to install. That will automatically skip
> installing the docs. The docs you probably won't use anyway.
>

An alternative for this strategy is to install a .gemrc in your homedir.

~$ cat ~/.gemrc
---
gem: --no-ri --no-rdoc
:benchmark: false
:update_sources: true
:bulk_threshold: 1000
:backtrace: false
:verbose: true
:sources:
- http://rubygems.org


HTH,

Peter

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to