On Oct 16, 12:03 pm, Carlos Gustavo Guerra <li...@ruby-forum.com> wrote: > I had the same problem, that I solved installing a java runtime in > Ubuntu: > sudo apt-get install nodejs > > I follow this post:http://www.adanacs.com/node/3
To be clear, the problem is caused by the lack of javascript runtime support NOT java. For a list of libraries see https://github.com/sstephenson/execjs An alternative to installing node.js is to simply add gem "therubyracer" to your Gemfile and run "bundle install" again. PS - I've needed to add javascript support when installing on both Ubuntu and Debian recently. Specifically, I get a ExecJS::RuntimeUnavailable error when trying to run "rails generate" or "rails server" on a newly installed 3.1.1. ("rails new" runs without complaint.) The fixes above get things rolling again. Is there a known bug that I've missed somehow? Dan Nachbar -- 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.