{"id":1535,"date":"2012-03-20T09:01:38","date_gmt":"2012-03-20T16:01:38","guid":{"rendered":"http:\/\/juixe.com\/techknow\/?p=1535"},"modified":"2012-03-18T16:59:51","modified_gmt":"2012-03-18T23:59:51","slug":"remove-invalid-ruby-gem-source","status":"publish","type":"post","link":"http:\/\/juixe.com\/techknow\/index.php\/2012\/03\/20\/remove-invalid-ruby-gem-source\/","title":{"rendered":"Remove Invalid Ruby Gem Source"},"content":{"rendered":"<p>I was trying to install a Ruby gem and it keep failing.  I keep getting the following error when installing a gem.<\/p>\n<blockquote><p>\nERROR:  http:\/\/gems.datamapper.org does not appear to be a repository<br \/>\nERROR:  could not find gem thin locally or in a repository\n<\/p><\/blockquote>\n<p>Because of the above error I couldn&#8217;t install a gem or even update my gem system.<\/p>\n<p>I certainly don&#8217;t remember ever adding gems.datamapper.org as a gem source repository but now it is causing errors in my system.  You can list all of your current gem source repositories by entering the following from your command prompt.<\/p>\n<blockquote><p>\ngem source\n<\/p><\/blockquote>\n<p>You may see a few gem sources possibly including repositories from rubyforge.org, rubyonrails.org, and github.com.  In addition to these gems source, the problematic gems.datamapper.org was also listed in my system.<\/p>\n<p>To remove the problematic source, gems.datamapper.org, enter the following command from the command prompt.<\/p>\n<blockquote><p>\ngem source -r http:\/\/gems.datamapper.org\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to install a Ruby gem and it keep failing. I keep getting the following error when installing a gem. ERROR: http:\/\/gems.datamapper.org does not appear to be a repository ERROR: could not find gem thin locally or in a repository Because of the above error I couldn&#8217;t install a gem or even update [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[22,3,4],"tags":[671,136,59,673,674,672],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p902K-oL","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/1535"}],"collection":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/comments?post=1535"}],"version-history":[{"count":2,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/1535\/revisions"}],"predecessor-version":[{"id":1537,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/posts\/1535\/revisions\/1537"}],"wp:attachment":[{"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/media?parent=1535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/categories?post=1535"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/juixe.com\/techknow\/index.php\/wp-json\/wp\/v2\/tags?post=1535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}