# Instaling a gem without some dependences

**URL:** <https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257>\
**Category:** Ruby\
**Created:** [August 23, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257 "2009-08-23T19:41:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![felix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@felix](https://www.ruby-forum.com/u/felix)\
**Post date:** [August 23, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257/1 "2009-08-23T19:41:21Z")

</div>

Hi,

I’m new in using gem, and have a problem with dependences.  
I try to install RoR, but one of gems appear broken. Does Gem has an  
option “–install-without” or similar? I see there is one option to  
“–force” install, but I want the other dependences to be included.

---

<div class="post-metadata">

**Author:** ![felix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@felix](https://www.ruby-forum.com/u/felix)\
**Post date:** [August 23, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257/2 "2009-08-23T21:25:30Z")

</div>

try

sudo gem install gem\_name -y

So you include the dependencies inclusivly. i hope i could help you

Am 23.08.2009 um 19:40 schrieb Felix:

---

<div class="post-metadata">

**Author:** ![felix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@felix](https://www.ruby-forum.com/u/felix)\
**Post date:** [August 23, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257/3 "2009-08-23T22:57:57Z")

</div>

On Aug 23, 2009, at 10:40, Felix wrote:

> I’m new in using gem, and have a problem with dependences.  
> I try to install RoR, but one of gems appear broken. Does Gem has an  
> option “–install-without” or similar? I see there is one option to  
> “–force” install, but I want the other dependences to be included.

You can ignore all dependencies or none of them. You can’t pick.

gem dep will tell you what dependencies a gem has.

---

<div class="post-metadata">

**Author:** ![felix](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/aeb1de/32.png) [@felix](https://www.ruby-forum.com/u/felix)\
**Post date:** [September 4, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/instaling-a-gem-without-some-dependences/174257/4 "2009-09-04T16:07:33Z")

</div>

Problem solved. Sorry…
