nebhale / git-pivotal-tracker-integration

Git commands for integration with Pivotal Tracker
Apache License 2.0
112 stars 36 forks source link

Can't install gem #19

Open feesh opened 9 years ago

feesh commented 9 years ago

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 commented 8 years ago

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...)