{"id":7685,"date":"2012-09-18T18:03:34","date_gmt":"2012-09-18T12:33:34","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=7685"},"modified":"2016-12-19T15:30:08","modified_gmt":"2016-12-19T10:00:08","slug":"install-rhosync-on-ubuntu-11-10-with-fix","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/install-rhosync-on-ubuntu-11-10-with-fix\/","title":{"rendered":"Install RhoSync on ubuntu 11.10 (with fix)"},"content":{"rendered":"<p>Recently, I was trying to install RhoMobile suite on my ubuntu11.10 machine. And faced some issues for installing &#8216;rhosync&#8217; package. This blog tells how to fix these issues (as they worked for me).<\/p>\n<p>&nbsp;<\/p>\n<p>I am assuming ruby and gem are already installed on your machine.<br \/>\n<strong>Note<\/strong>: if you are on older version of ruby please upgrade to 1.9.2<\/p>\n<p>&nbsp;<\/p>\n<p>Rhodes was installed without any problem &#8211;<br \/>\n[shell]<br \/>\nsudo gem install rhodes<br \/>\n[\/shell]<\/p>\n<p><strong>Now, the problem arrived for installing RhoSync<\/strong><br \/>\n[shell]<br \/>\nsalil@local:~$ sudo gem install rhosync<br \/>\nBuilding native extensions.  This could take a while&#8230;<br \/>\nERROR:  Error installing rhosync:<br \/>\n    ERROR: Failed to build gem native extension.<\/p>\n<p>\/usr\/bin\/ruby1.9.1 extconf.rb<br \/>\n&lt;internal:lib\/rubygems\/custom_require&gt;:29:in `require&#8217;: no such file to load &#8212; mkmf (LoadError)<br \/>\n    from &lt;internal:lib\/rubygems\/custom_require&gt;:29:in `require&#8217;<br \/>\n    from extconf.rb:1:in `&lt;main&gt;&#8217;<br \/>\n[\/shell]<\/p>\n<p>&nbsp;<\/p>\n<p><strong>To fix the above error, run following command &#8212;<\/strong><br \/>\n[shell]<br \/>\napt-get install ruby1.9.1-dev<br \/>\n[\/shell]<\/p>\n<p>Now retry installing rhosync.<br \/>\n[shell]<br \/>\nsudo gem install rhosync<br \/>\n[\/shell]<\/p>\n<p>Now, you will see the &#8216;rhosync&#8217; getting installed successfully.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Another common error &#8211;<\/strong><br \/>\n[shell]<br \/>\nERROR:  Could not find a valid gem &#8216;Rhosync&#8217; (&gt;= 0) in any repository<br \/>\n[\/shell]<\/p>\n<p>To fix the above error, check the following points-<br \/>\n1. Check the name of the package you are trying to install. It should be &#8216;rhosync&#8217; instead of &#8216;Rhosync&#8217;. It&#8217;s case-sensitive.<br \/>\n2. It&#8217;s possible that the source for your gem repository is empty. So, add one with the following command &#8211;<br \/>\n[shell]gem sources &#8211;add http:\/\/rubygems.org[\/shell]<\/p>\n<p>&nbsp;<\/p>\n<p>Cheers!<br \/>\nSalil Kalia<br \/>\nSalil [at] IntelliGrape [dot] com<br \/>\nTwitter LinkedIn<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I was trying to install RhoMobile suite on my ubuntu11.10 machine. And faced some issues for installing &#8216;rhosync&#8217; package. This blog tells how to fix these issues (as they worked for me). &nbsp; I am assuming ruby and gem are already installed on your machine. Note: if you are on older version of ruby [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1},"categories":[518],"tags":[4845,260,984,983,981,982,980,8],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/7685"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=7685"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/7685\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=7685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=7685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=7685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}