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

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

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

-Conrad

Tommy Odell wrote:

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

Tommy Odell 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

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)
  1. thin 1.2.1 (i386-mswin32)
  1. thin 1.2.1 (ruby)
  1. thin 1.0.0 (ruby)
  1. thin 1.0.0 (i386-mswin32)
  1. Skip this gem
  1. 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)
  1. thin 1.2.1 (i386-mswin32)
  1. thin 1.2.1 (ruby)
  1. thin 1.0.0 (ruby)
  1. thin 1.0.0 (i386-mswin32)
  1. Skip this gem
  1. 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)
  1. thin 1.2.1 (i386-mswin32)
  1. thin 1.2.1 (ruby)
  1. thin 1.0.0 (ruby)
  1. thin 1.0.0 (i386-mswin32)
  1. Skip this gem
  1. Cancel installation

Conrad Taylor 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)
  1. thin 1.2.1 (i386-mswin32)
  1. thin 1.2.1 (ruby)
  1. thin 1.0.0 (ruby)
  1. thin 1.0.0 (i386-mswin32)
  1. Skip this gem
  1. Cancel installation

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

-Conrad

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

-Conrad

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

Colin

Conrad Taylor wrote:

Need to update 38 gems from http://gems.rubyforge.org

  1. thin 1.0.0 (i386-mswin32)
  1. thin 1.0.0 (i386-mswin32)
  1. 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

Hi, I would recommended updating Rubygems to 1.3.5?

The try installing both thin and rails again.

-Conrad