Date: Mon, 11 Jun 2012 17:26:35 -0700 From: Stanislav Sedov <stas@FreeBSD.org> To: =?KOI8-R?Q?=FA=CC=C1=D4=CB=CF_=E1=D3=C5=CE=CF=D7?= <zlatko.asenov@gmail.com> Cc: ruby@freebsd.org Subject: Re: [Solved] ExecJS::RuntimeError in Demo#index Message-ID: <20120611172635.03dba3d1.stas@FreeBSD.org> In-Reply-To: <4FD65FBE.8070909@gmail.com> References: <4FD5A6AD.4060303@gmail.com> <4FD65FBE.8070909@gmail.com>
index | next in thread | previous in thread | raw e-mail
On Tue, 12 Jun 2012 00:14:38 +0300 ϊΜΑΤΛΟ αΣΕΞΟΧ <zlatko.asenov@gmail.com> mentioned: > Hi All, > > I resolved the issue. > > What I did: > > 1. # pkg_deinstall -r rubygem\* > > Didn't help. > > 2. # portmaster --force-config www/node and unchecked SHARED_V8 option. > > 3. # portmaster devel/ruby-gems > > 4. # gem install rails > > Now it works :) > > If I may ask a question: Is it better to install gems from ports or > using the 'gem install' method? > Personally, I'd recommend using gems (at least for development). This way you will get the updates faster, and will be able to have multiple version of a gem installed, which sometimes is required by some libraries. Also, tools like 'bundle' utilize gems system as well. BTW, you can have gems installed locally for a particular user while having ports managing the system-wide gems. They won't interfere. Just set the GEM_HOME variable to point to a place where you want gems to be installed. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachmentshelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120611172635.03dba3d1.stas>
