Ruby on Rails Thursday, March 1, 2012

Hi:
I'm trying to run rails server and I get this error:

[root@ruby-devserver config]# rails server
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:68:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:66:in `each'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:66:in `block in require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:55:in `each'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler/runtime.rb:55:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.0.22/lib/bundler.rb:122:in `require'
        from /var/www/html/jobapp/config/application.rb:7:in `<top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:53:in `require'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:53:in `block in <top (required)>'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
        from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'

What is missing there? Why I can't test my application?

Ing. Reynier Pérez Mira


--
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.

No comments:

Post a Comment