Message from discussion
How install libv8 (therubyracer) Windows 7
Received: by 10.180.104.41 with SMTP id gb9mr1292891wib.4.1340260365779;
Wed, 20 Jun 2012 23:32:45 -0700 (PDT)
X-BeenThere: rubyonrails-talk@googlegroups.com
Received: by 10.216.215.71 with SMTP id d49ls198504wep.2.gmail; Wed, 20 Jun
2012 23:31:38 -0700 (PDT)
Received: by 10.180.104.41 with SMTP id gb9mr1292360wib.4.1340260298163;
Wed, 20 Jun 2012 23:31:38 -0700 (PDT)
Received: by 10.180.104.41 with SMTP id gb9mr1292359wib.4.1340260298153;
Wed, 20 Jun 2012 23:31:38 -0700 (PDT)
Return-Path: <li...@ruby-forum.com>
Received: from eq4.andreas-s.net (eq4.andreas-s.net. [188.40.52.210])
by gmr-mx.google.com with ESMTPS id e10si8253257wiz.3.2012.06.20.23.31.38
(version=TLSv1/SSLv3 cipher=AES128-SHA);
Wed, 20 Jun 2012 23:31:38 -0700 (PDT)
Received-SPF: pass (google.com: domain of li...@ruby-forum.com designates 188.40.52.210 as permitted sender) client-ip=188.40.52.210;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of li...@ruby-forum.com designates 188.40.52.210 as permitted sender) smtp.mail=li...@ruby-forum.com
Received: from localhost (localhost [127.0.0.1])
(uid 1004)
by eq4.andreas-s.net with local; Thu, 21 Jun 2012 08:31:37 +0200
id 00000000005CC053.000000004FE2BFC9.0000084F
Old-Return-Path: <li...@ruby-forum.com>
Date: Thu, 21 Jun 2012 08:31:37 +0200
From: "Alan M." <li...@ruby-forum.com>
Reply-To: rubyonrails-talk@googlegroups.com
To: rubyonrails-talk@googlegroups.com
Message-ID: <e9ed56146cd229f862adaa4cc8f090b3@ruby-forum.com>
In-Reply-To: <CANjz52=g=e9r8XLudL5KDJhT=Ope1xy8Z9KxWup9oCtnkt_CLg@mail.gmail.com>
References: <ad155881c25498132b61fac252010e9e@ruby-forum.com> <dda138f92c2ba08dfaf4818d581f76e5@ruby-forum.com> <CANjz52=g=e9r8XLudL5KDJhT=Ope1xy8Z9KxWup9oCtnkt_CLg@mail.gmail.com>
Subject: Re: Re: How install libv8 (therubyracer) Windows 7
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Errors-to: li...@ruby-forum.com
Hi Everaldo,
I'm also using Windows 7 and I've had the same problem as Felipe, I
tried including
gem 'therubyracer', :platform => :ruby
in my gemfile but I still cannot start the "rails server" to start,
since I get the following error:
[WARNING] Please install gem 'therubyracer' to use Less.
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib/less/java_sc
ript/v8_context.rb:2:in `require': cannot load such file -- v8
(LoadError)
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less/java_script/v8_context.rb:2:in `<top (required)>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less/java_script.rb:9:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less/java_script.rb:9:in `default_context_wrapper'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less/java_script.rb:17:in `context_wrapper'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less/loader.rb:10:in `initialize'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less.rb:14:in `new'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less.rb:14:in `<module:Less>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.2.1/lib
/less.rb:9:in `<top (required)>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-rails-2.2
.3/lib/less/rails.rb:6:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-rails-2.2
.3/lib/less/rails.rb:6:in `<top (required)>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-rails-2.2
.3/lib/less-rails.rb:1:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-rails-2.2
.3/lib/less-rails.rb:1:in `<top (required)>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:68:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:66:in `each'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:66:in `block in require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:55:in `each'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler/runtime.rb:55:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/bundler-1.0.22
/lib/bundler.rb:122:in `require'
from C:/Sites/thousandtools/config/application.rb:7:in `<top
(required)>
'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.3
/lib/rails/commands.rb:53:in `require'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.3
/lib/rails/commands.rb:53:in `block in <top (required)>'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.3
/lib/rails/commands.rb:50:in `tap'
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/railties-3.2.3
/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Everaldo Gomes wrote in post #1062753:
> Hi Felipe!
>
> Try this, please:
>
> gem 'therubyracer', :platform => :ruby
>
> I found this on Stack Overflow:
>
> http://stackoverflow.com/questions/6356450/therubyracer-gem-on-windows
>
> They said that you don't need to install therubyracer on Windows,
> because the OS already comes with a Javascript Runtime Environment
>
> Best Regards,
> Everaldo
>
> On Thu, May 31, 2012 at 8:23 PM, Felipe Pieretti Umpierre
--
Posted via http://www.ruby-forum.com/.