Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How install libv8 (therubyracer) Windows 7
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrew Meyer  
View profile  
 More options Jun 23 2012, 8:27 pm
From: Andrew Meyer <andrewm....@gmail.com>
Date: Sat, 23 Jun 2012 17:27:36 -0700 (PDT)
Local: Sat, Jun 23 2012 8:27 pm
Subject: Re: Re: How install libv8 (therubyracer) Windows 7

The problem is that less doesn't officially depend on therubyracer. It
installs just fine, but when you try to run 'rails server' afterwards it
crashes, claiming that you need to install therubyracer. (It does do this
on less 2.2.1)

On Thursday, June 21, 2012 6:37:34 PM UTC-5, Luis Lavena wrote:

> On Thursday, June 21, 2012 1:16:05 PM UTC-3, Ruby-Forum.com User wrote:

>> Hi Luis,
>> Thanks for the answer.  I did run bundle install and bundle update a few
>> times after I changed the gemfile without any luck.  I wonder why less
>> is depending on therubyracer?  Any ideas?  

> I have no idea of the contents of your Gemfile or Gemfile.lock to
> determine that.

> The only hint I have is that less 2.1.0 might be the gem that depends on
> that:

> http://rubygems.org/gems/less/versions/2.1.0

> Upgrading to latest less might solve the issue (latest less is 2.2.1)

>> I read on different threads
>> that Win7 has Java Runtime Development included and that is why
>> therubyracer should not be required.  Any clarification on this topic
>> would be hugely appreciated!  I am completely stuck right now.  Thanks!!

> You mean JavaScript runtime? Yes, Windows have a built-in JavaScript
> runtime accessible through "cscript" executable.

> ExecJS, the gem that uses the JavaScript engine will detect it and use it.

> Under some circumstances (messed up Windows installation or uninstalled
> components due customized versions of Windows) it might not work and ExecJS
> will trigger an exception saying there is no JavaScript runtime engine and
> you should install one.

> If that is the case, install NodeJS and restart your computer, that should
> solve the issue.

> So, to summarize:

> 1) Remove therubyracer from your Gemfile
> 2) Update less to a version that doesn't depend on therubyracer (2.2.1
> doesn't)
> 3) Do "bundle update less" so the Gemfile.lock gets updated
> 4) Start your app (ruby script\rails server)
> 5) If ExecJS fails, install NodeJS and try step 4 again.

> --
> Luis Lavena


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.