# "sudo gem install rails" not able to install thin dependency

**URL:** <https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766>\
**Category:** Rails\
**Created:** [August 14, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766 "2009-08-14T12:09:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:09pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/1 "2009-08-14T12:09:00Z")

</div>

Hi folks,

I’m having trouble getting gems to install rails. It just keeps asking  
me which version of thin I want to install. Until I choose skip or  
cancel, in which case I’m told that something has gone wrong.

Any advice?

Thanks kindly,

Tommy

PS: Gems is 0.94.

* * *

tommy@tommy-laptop:~/www/blog$ sudo gem install rails  
Install required dependency actionpack? [Yn] y  
Install required dependency rack? [Yn] y  
Install required dependency thin? [Yn] y  
Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 1  
> Install required dependency rack? [Yn] y  
> y  
> Install required dependency thin? [Yn] Select which gem to install for  
> your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 1  
> Install required dependency rack? [Yn] y  
> Install required dependency thin? [Yn] y  
> Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

>

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/2 "2009-08-14T12:19:45Z")

</div>

On Fri, Aug 14, 2009 at 3:09 AM, Tommy O. \<  
removed\_email\_address@domain.invalid\> wrote:

> Select which gem to install for your platform (i486-linux)  
> Install required dependency thin? [Yn] Select which gem to install for  
> Install required dependency thin? [Yn] y  
> Select which gem to install for your platform (i486-linux)
> 
> 1. thin 1.2.2 (ruby)
> 2. thin 1.2.1 (i386-mswin32)
> 3. thin 1.2.1 (ruby)
> 4. thin 1.0.0 (ruby)
> 5. thin 1.0.0 (i386-mswin32)
> 6. Skip this gem
> 7. Cancel installation
> 
> >

Have you tried using a capital ‘Y’ when responding to ‘[Yn]’?

-Conrad

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:38pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/3 "2009-08-14T12:38:19Z")

</div>

Unfortunately, it makes no difference.

tommy@tommy-laptop:~/www/blog$ sudo gem install rails  
Install required dependency actionpack? [Yn] y  
Install required dependency rack? [Yn] y  
Install required dependency thin? [Yn] y  
Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 1  
> Install required dependency rack? [Yn] y  
> y  
> Install required dependency thin? [Yn] Select which gem to install for  
> your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 1  
> Install required dependency rack? [Yn] y  
> Install required dependency thin? [Yn] y  
> Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 

Conrad T. wrote:

> On Fri, Aug 14, 2009 at 3:09 AM, Tommy O. \<  
> removed\_email\_address@domain.invalid\> wrote:
> 
> > Select which gem to install for your platform (i486-linux)  
> > Install required dependency thin? [Yn] Select which gem to install for  
> > Install required dependency thin? [Yn] y  
> > Select which gem to install for your platform (i486-linux)
> > 
> > 1. thin 1.2.2 (ruby)
> > 2. thin 1.2.1 (i386-mswin32)
> > 3. thin 1.2.1 (ruby)
> > 4. thin 1.0.0 (ruby)
> > 5. thin 1.0.0 (i386-mswin32)
> > 6. Skip this gem
> > 7. Cancel installation
> > 
> > >
> 
> Have you tried using a capital ‘Y’ when responding to ‘[Yn]’?
> 
> -Conrad

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:41pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/4 "2009-08-14T12:41:21Z")

</div>

Tommy O. wrote:

Sorry, I pasted the wrong thing. Here’s what it is with Y vs y.

* * *

tommy@tommy-laptop:~/www/blog$ sudo gem install rails  
[sudo] password for tommy:  
Need to update 38 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
…  
complete  
Install required dependency actionpack? [Yn] Y  
Install required dependency rack? [Yn] Y  
Install required dependency thin? [Yn] Y  
Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 1  
> Install required dependency rack? [Yn] Y  
> Install required dependency thin? [Yn] Y  
> Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> 2  
> Install required dependency rack? [Yn] Y  
> Install required dependency thin? [Yn] Y  
> Select which gem to install for your platform (i486-linux)

1. thin 1.2.2 (ruby)
2. thin 1.2.1 (i386-mswin32)
3. thin 1.2.1 (ruby)
4. thin 1.0.0 (ruby)
5. thin 1.0.0 (i386-mswin32)
6. Skip this gem
7. Cancel installation

> ERROR: Interrupted  
> tommy@tommy-laptop:~/www/blog$

> Unfortunately, it makes no difference.
> 
> tommy@tommy-laptop:~/www/blog$ sudo gem install rails  
> Install required dependency actionpack? [Yn] y  
> Install required dependency rack? [Yn] y  
> Install required dependency thin? [Yn] y  
> Select which gem to install for your platform (i486-linux)
> 
> 1. thin 1.2.2 (ruby)
> 2. thin 1.2.1 (i386-mswin32)
> 3. thin 1.2.1 (ruby)
> 4. thin 1.0.0 (ruby)
> 5. thin 1.0.0 (i386-mswin32)
> 6. Skip this gem
> 7. Cancel installation
> 
> > 1  
> > Install required dependency rack? [Yn] y  
> > y  
> > Install required dependency thin? [Yn] Select which gem to install for  
> > your platform (i486-linux)
> 
> 1. thin 1.2.2 (ruby)
> 2. thin 1.2.1 (i386-mswin32)
> 3. thin 1.2.1 (ruby)
> 4. thin 1.0.0 (ruby)
> 5. thin 1.0.0 (i386-mswin32)
> 6. Skip this gem
> 7. Cancel installation
> 
> > 1  
> > Install required dependency rack? [Yn] y  
> > Install required dependency thin? [Yn] y  
> > Select which gem to install for your platform (i486-linux)
> 
> 1. thin 1.2.2 (ruby)
> 2. thin 1.2.1 (i386-mswin32)
> 3. thin 1.2.1 (ruby)
> 4. thin 1.0.0 (ruby)
> 5. thin 1.0.0 (i386-mswin32)
> 6. Skip this gem
> 7. Cancel installation
> 
> > 
> 
> Conrad T. wrote:
> 
> > On Fri, Aug 14, 2009 at 3:09 AM, Tommy O. \<  
> > removed\_email\_address@domain.invalid\> wrote:
> > 
> > > Select which gem to install for your platform (i486-linux)  
> > > Install required dependency thin? [Yn] Select which gem to install for  
> > > Install required dependency thin? [Yn] y  
> > > Select which gem to install for your platform (i486-linux)
> > > 
> > > 1. thin 1.2.2 (ruby)
> > > 2. thin 1.2.1 (i386-mswin32)
> > > 3. thin 1.2.1 (ruby)
> > > 4. thin 1.0.0 (ruby)
> > > 5. thin 1.0.0 (i386-mswin32)
> > > 6. Skip this gem
> > > 7. Cancel installation
> > > 
> > > >
> > 
> > Have you tried using a capital ‘Y’ when responding to ‘[Yn]’?
> > 
> > -Conrad

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:55pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/5 "2009-08-14T12:55:33Z")

</div>

Conrad T. wrote:

> On Fri, Aug 14, 2009 at 3:41 AM, Tommy O. \<  
> removed\_email\_address@domain.invalid\> wrote:
> 
> > Need to update 38 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
> > 5. thin 1.0.0 (i386-mswin32)  
> > 5. thin 1.0.0 (i386-mswin32)  
> > 5. thin 1.0.0 (i386-mswin32)
> > 
> > > Install required dependency rack? [Yn] y  
> > > Install required dependency rack? [Yn] y
> > > 
> > > > 1
> > > > 
> > > > > Select which gem to install for your platform (i486-linux)  
> > > > > Have you tried using a capital ‘Y’ when responding to ‘[Yn]’?
> > > > 
> > > > -Conrad
> 
> What OS and which Ruby and Rubygems versions are you using?
> 
> -Conrad

Ubuntu 8.04 LTS (hardy)  
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]  
gem 0.9.4

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/6 "2009-08-14T12:44:56Z")

</div>

On Fri, Aug 14, 2009 at 3:41 AM, Tommy O. \<  
removed\_email\_address@domain.invalid\> wrote:

> Need to update 38 gems from [http://gems.rubyforge.org](http://gems.rubyforge.org)  
> 5. thin 1.0.0 (i386-mswin32)  
> 5. thin 1.0.0 (i386-mswin32)  
> 5. thin 1.0.0 (i386-mswin32)
> 
> > Install required dependency rack? [Yn] y  
> > Install required dependency rack? [Yn] y
> > 
> > > 1
> > > 
> > > > Select which gem to install for your platform (i486-linux)  
> > > > Have you tried using a capital ‘Y’ when responding to ‘[Yn]’?
> > > 
> > > -Conrad

What OS and which Ruby and Rubygems versions are you using?

-Conrad

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/7 "2009-08-14T13:10:42Z")

</div>

On Fri, Aug 14, 2009 at 3:55 AM, Tommy O. \<  
removed\_email\_address@domain.invalid\> wrote:

> > > > Install required dependency rack? [Yn] y  
> > > > -Conrad
> 
> Ubuntu 8.04 LTS (hardy)  
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]  
> gem 0.9.4

Hi, I would recommended updating Rubygems to 1.3.5?  
The try installing both thin and rails again.

-Conrad

---

<div class="post-metadata">

**Author:** ![tmod](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@tmod](https://www.ruby-forum.com/u/tmod)\
**Post date:** [August 14, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-rails-not-able-to-install-thin-dependency/173766/8 "2009-08-14T13:10:06Z")

</div>

2009/8/14 Tommy O. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > > > Install required dependency rack? [Yn] Â y  
> > > > -Conrad
> 
> Ubuntu 8.04 LTS (hardy)  
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]  
> gem 0.9.4

It may be worth updating RubyGems using  
sudo gem update --system

Colin
