Try this:

*********
ExecJS::RuntimeUnavailable
*********

Add these two lines to you Gemfile text file located in your project
directory. You can add them somewhere in the text file (you can add them
after "gem 'sqlite3'" for example):
gem 'execjs'
gem 'therubyracer'

Save the file and the run bundle install again from the project directory:
$ bundle install

Start the Rails server again to see if it worked:
$ rails server  (or "rails s")


MIrcea


On Wed, Oct 12, 2011 at 2:55 PM, amvis <vgrkrish...@gmail.com> wrote:

> i followed this *http://www.ruby-lang.org/en/documentation/quickstart/3/*,
> and setup all the stuffs.
>
> After i created a new  rails application, when i create a database i got
> one error like
>
>
> *cyberpro@ubuntu:~/blog$ rake db:create
> 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)*
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/c2OTNLOeJvAJ.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
---------------------
Mircea Goia
Email: mirceag...@gmail.com
Website: www.mirceagoia.com

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to