{"id":585,"date":"2016-03-06T10:13:05","date_gmt":"2016-03-06T13:13:05","guid":{"rendered":"http:\/\/stefano.salvatori.cl\/blog\/?p=585"},"modified":"2016-03-06T10:13:05","modified_gmt":"2016-03-06T13:13:05","slug":"problems-installing-gem-on-os-x-el-capitan-10-11-3","status":"publish","type":"post","link":"https:\/\/stefano.salvatori.cl\/blog\/2016\/03\/06\/problems-installing-gem-on-os-x-el-capitan-10-11-3\/","title":{"rendered":"Problems installing gem on OS X El Capitan 10.11.3"},"content":{"rendered":"<p>I was getting this error <strong>ERROR: While executing gem &#8230; (Errno::EPERM<\/strong>) trying to install a gem on OS X El Capitan (10.11.3) even with sudo before. I found a solution changing my GEM paths. I&#8217;m using zsh so I had to add two lines to my <strong>.zshrc<\/strong><\/p>\n<pre lang=\"bash\">export GEM_HOME=~\/.gems\r\nexport PATH=$PATH:~\/.gems\/bin\r\n<\/pre>\n<p><a href=\"https:\/\/github.com\/CocoaPods\/CocoaPods\/issues\/3680\">Reference<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was getting this error ERROR: While executing gem &#8230; (Errno::EPERM) trying to install a gem on OS X El Capitan (10.11.3) even with sudo before. I found a solution changing my GEM paths. I&#8217;m using zsh so I had to add two lines to my .zshrc export GEM_HOME=~\/.gems export PATH=$PATH:~\/.gems\/bin Reference<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[26],"tags":[239,238],"class_list":["post-585","post","type-post","status-publish","format-standard","hentry","category-tips","tag-os-x","tag-ruby"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5Pxa3-9r","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/comments?post=585"}],"version-history":[{"count":2,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/585\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/585\/revisions\/588"}],"wp:attachment":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/media?parent=585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/categories?post=585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/tags?post=585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}