[Solved] ExecJS::RuntimeError in Demo#index

Stanislav Sedov stas at FreeBSD.org
Tue Jun 12 00:26:41 UTC 2012


On Tue, 12 Jun 2012 00:14:38 +0300
Златко Асенов <zlatko.asenov at 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 attachments


More information about the freebsd-ruby mailing list