You need a javascript interpreter like therubyracer installed. Keep that
line, but remove the version. It shouldn't be necessary. Try running your
app with and without the uglifier gem. My guess is a problem with uglifier.
If so, post the error from that.

On Fri, May 27, 2011 at 9:36 AM, Andrey Voronkov <[email protected]>wrote:

> Oh, I forgot! I think the problem is somewhere around these two lines
> in my Gemfile:
>
> gem 'therubyracer', :require => 'v8'
> gem 'uglifier'
>
> Because without the first line Rails gives me this on start:
> in `<module:ExecJS>': Could not find a JavaScript runtime. See
> https://github.com/sstephenson/execjs for a list of available
> runtimes. (ExecJS::RuntimeUnavailable)
>
> 2011/5/27 Andrey Voronkov <[email protected]>:
> > Environment:
> > rvm
> > ruby 1.9.2-p180
> > rails 3.1.rc1
> >
> > Conditions:
> > gem "coffee-script" # in Gemfile
> > at least one file with .js.coffee (even empty inside) in app/assets
> >
> > Result:
> > WEBrick or Unicorn hangs. Only kill -9 <pid> helps.
> >
> > P.S. What additional info should I provide?
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to