Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install bundler using the following command:

gem install bundler

but recieve this error:

ERROR:  could not find gem bundler locally or in a repository

Running command

gem list --local

shows me empty list and

gem sources

shows this:

I was trying to find the similar problem for an hour, but seems to me that I am not understanding some basic principles to make correct google search query.

share|improve this question

What Linux distribution are you using? How is Ruby packaged, is it a package from a distribution repo? Basically I recommend you to try RVM, it is a popular and a convenient way to manage Ruby setups in a distribution-agnostic way. I always use RVM and never have problems like this.

share|improve this answer
Ruby was installed from ISPManager, linux is Debian 2.6.26-24 – Galichev Anton Nov 20 '11 at 10:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.