# How do I install this gem?

**URL:** <https://discuss.rubyonrails.org/t/how-do-i-install-this-gem/62569>\
**Category:** rubyonrails-talk\
**Created:** [February 1, 2012, 5:27am UTC](https://discuss.rubyonrails.org/t/how-do-i-install-this-gem/62569 "2012-02-01T05:27:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [February 1, 2012, 5:27am UTC](https://discuss.rubyonrails.org/t/how-do-i-install-this-gem/62569/1 "2012-02-01T05:27:56Z")

</div>

I'm trying to figure out how I can setup my own forums using Ruby, but I can't get passed installing "nifty-generators"... I haven't a clue how to install the gems... Please tell me what I'm doing wrong?

I open the command prompt, I type in :

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

Pleassse help...

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [February 1, 2012, 7:35am UTC](https://discuss.rubyonrails.org/t/how-do-i-install-this-gem/62569/2 "2012-02-01T07:35:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Peter\_Vandenabeele1](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@Peter\_Vandenabeele1](https://discuss.rubyonrails.org/u/Peter_Vandenabeele1)\
**Post date:** [February 1, 2012, 10:04am UTC](https://discuss.rubyonrails.org/t/how-do-i-install-this-gem/62569/3 "2012-02-01T10:04:32Z")

</div>

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

~$ cat ~/.gemrc
