Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Can't install gem #19

Open
feesh opened this issue May 7, 2015 · 1 comment
Open

Can't install gem #19

feesh opened this issue May 7, 2015 · 1 comment

Comments

@feesh
Copy link

feesh commented May 7, 2015

Hi there! I'm trying to install this within a local virtual environment but I get this message:

ERROR: Could not find a valid gem 'git-pivotal-tracker-integration' (>= 0) in any repository

Is this due to my set up? I'm running vagrant locally with Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-83-virtual x86_64). The command runs fine when I run it on my native machine (not in the VM). Thanks!

@supremebeing7
Copy link

Hey @feesh! So, I just ran into this as well on a VM and adding rubygems to the sources fixed it:

Check if you have "http://rubygems.org/" as a source to find gems at:

$ gem sources
*** CURRENT SOURCES ***
http://rubygems.org/

If not, you should be able to add it with

$ gem sources --add http://rubygems.org/
http://rubygems.org/ added to sources

Here are docs for the gem source command.

Here's the SO post I got this from: http://stackoverflow.com/questions/9962051/could-not-find-a-valid-gem-in-any-repository-rubygame-and-others. Hope that helps!

(Although if you haven't got it figured out in the 9 months since posting, I'm sure you probably have moved on...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants