Friday, March 2, 2012

Re: [Rails] Can't start server, why?

Ok and thanks now it works fine :)
Ing. Reynier Perez Mira
eMail: reynierpm@gmail.com, reynierpm@hotmail.com
Skype: reynierpm
Mobile: +58 424.180.5609
Site: http://reynierpm.site90.com


On Fri, Mar 2, 2012 at 9:04 AM, Colin Law <clanlaw@googlemail.com> wrote:
On 2 March 2012 11:46, ReynierPM <reynierpm@gmail.com> wrote:
>> $ rake environment
>
> (in /var/www/html/jobapp)
> rake aborted!
>
> Could not find a JavaScript runtime. See
> https://github.com/sstephenson/execjs for a list of available runtimes.
>
> (See full trace by running task with --trace)
>
>
>> 2) Add the line
>>
>>    gem 'therubyracer'
>>
>> to your Gemfile
>
> I've stopped here because I'm starting with Ruby and RoR and not know what
> you mean. Could you explain me a bit? Sorry for my ignorance but I'm just
> learning

In the top level folder of your rails project you will find a file
Gemfile.  Add the line gem 'therubyracer' to that (in fact I think you
may find it there already, but commented out, and then run bundle
install.

Of course you could have found this out with a bit of googling.

Colin

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


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate