{"id":2662,"date":"2022-08-30T15:26:44","date_gmt":"2022-08-30T15:26:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/05\/gem-check-errors-registered-but-missing-gems-after-installing-ruby-2-0-0-p0-with-rbenv-install-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:26:44","modified_gmt":"2022-08-30T15:26:44","slug":"gem-check-errors-registered-but-missing-gems-after-installing-ruby-2-0-0-p0-with-rbenv-install-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/gem-check-errors-registered-but-missing-gems-after-installing-ruby-2-0-0-p0-with-rbenv-install-collection-of-common-programming-errors\/","title":{"rendered":"gem check errors (registered but missing gems) after installing ruby 2.0.0-p0 with rbenv install-Collection of common programming errors"},"content":{"rendered":"<p>Everything works fine with my installation of ruby 1.9.3.<\/p>\n<pre><code>$ rbenv global 1.9.3-p385\n$ gem list\n\n*** LOCAL GEMS ***\n\nbigdecimal (1.1.0)\nio-console (0.3)\njson (1.5.4)\nminitest (2.5.1)\nrake (0.9.2.2)\nrdoc (3.9.5)\n$ gem check\n$ \n<\/code><\/pre>\n<p>However after I installed ruby 2.0.0 with <code>rbenv install<\/code>, some strange error messages showed up in <code>gem check<\/code>.<\/p>\n<pre><code>$ rbenv install 2.0.0-p0\nDownloading openssl-1.0.1e.tar.gz...\n-&gt; https:\/\/www.openssl.org\/source\/openssl-1.0.1e.tar.gz\nInstalling openssl-1.0.1e...\nInstalled openssl-1.0.1e to \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\n\nDownloading ruby-2.0.0-p0.tar.gz...\n-&gt; http:\/\/ftp.ruby-lang.org\/pub\/ruby\/2.0\/ruby-2.0.0-p0.tar.gz\nInstalling ruby-2.0.0-p0...\nInstalled ruby-2.0.0-p0 to \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\n\n$ rbenv global 2.0.0-p0\n$ rbenv rehash\n$ gem list\n\n*** LOCAL GEMS ***\n\nbigdecimal (1.2.0)\nio-console (0.4.2)\njson (1.7.7)\nminitest (4.3.2)\npsych (2.0.0)\nrake (0.9.6)\nrdoc (4.0.0)\ntest-unit (2.0.0.0)\n$ gem check\nChecking gems...\n\nbigdecimal-1.2.0.gem has 1 problems\n  bigdecimal-1.2.0:\n    Gem registered but doesn't exist at \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/gems\/bigdecimal-1.2.0\n\nio-console-0.4.2.gem has 1 problems\n  io-console-0.4.2:\n    Gem registered but doesn't exist at \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/gems\/io-console-0.4.2\n\njson-1.7.7.gem has 1 problems\n  json-1.7.7:\n    Gem registered but doesn't exist at \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/gems\/json-1.7.7\n\nminitest-4.3.2.gem has 1 problems\n  minitest-4.3.2:\n    Gem registered but doesn't exist at \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/gems\/minitest-4.3.2\n\npsych-2.0.0.gem has 1 problems\n  psych-2.0.0:\n    Gem registered but doesn't exist at \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/gems\/psych-2.0.0\n\nrake-0.9.6.gem has 2 problems\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/rake-0.9.6.gem:\n    missing gem file \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/rake-0.9.6.gem\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/specifications\/rake-0.9.6.gemspec:\n    Spec file missing for installed gem\n\nrdoc-4.0.0.gem has 2 problems\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/rdoc-4.0.0.gem:\n    missing gem file \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/rdoc-4.0.0.gem\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/specifications\/rdoc-4.0.0.gemspec:\n    Spec file missing for installed gem\n\ntest-unit-2.0.0.0.gem has 2 problems\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/test-unit-2.0.0.0.gem:\n    missing gem file \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/cache\/test-unit-2.0.0.0.gem\n  \/Users\/gogao\/.rbenv\/versions\/2.0.0-p0\/lib\/ruby\/gems\/2.0.0\/specifications\/test-unit-2.0.0.0.gemspec:\n    Spec file missing for installed gem\n\n$\n<\/code><\/pre>\n<p>Is it a known bug? or am i doing something wrong?<\/p>\n<p id=\"rop\"><small>Originally posted 2014-02-05 08:10:16. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Everything works fine with my installation of ruby 1.9.3. $ rbenv global 1.9.3-p385 $ gem list *** LOCAL GEMS *** bigdecimal (1.1.0) io-console (0.3) json (1.5.4) minitest (2.5.1) rake (0.9.2.2) rdoc (3.9.5) $ gem check $ However after I installed ruby 2.0.0 with rbenv install, some strange error messages showed up in gem check. $ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2662","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2662"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2662\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}