Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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:

http://gems.rubyforge.org/
http://rubygems.org/
http://gemcutter.org

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

1 Answer 1

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

 
discard

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.