sudo apt-get install nodejs worked for me On Tuesday, March 27, 2012 9:04:27 AM UTC+3, Rai M wrote: > > > > I have installed > > ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux] > rails 3.2.2 > gem 1.8.21 > > on ubuntu 10.04 > > > when i created my first application and tried running it on server I > get the following error not sure how to proceed further.... > > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/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 > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/ > execjs.rb:5:in `<module:ExecJS>' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/ > execjs.rb:4:in `<top (required)>' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > script-2.2.0/lib/coffee_script.rb:1:in `require' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > script-2.2.0/lib/coffee-script.rb:1:in `require' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > rails-3.2.2/lib/coffee-rails.rb:1:in `require' > from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/coffee- > rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:68:in `require' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:68:in `block (2 levels) in require' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:66:in `each' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:66:in `block in require' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:55:in `each' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler/runtime.rb:55:in `require' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.1.3/lib/ > bundler.rb:119:in `require' > from /home/fakirbaba/mitin/railsprograms/firstapp/config/ > application.rb:7:in `<top (required)>' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.2/ > lib/rails/commands.rb:53:in `require' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.2/ > lib/rails/commands.rb:53:in `block in <top (required)>' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.2/ > lib/rails/commands.rb:50:in `tap' > from > /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.2.2/ > lib/rails/commands.rb:50:in `<top (required)>' > from script/rails:6:in `require' > from script/rails:6:in `<main>' > > > thanks
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/6ZgIxR9hC94J. For more options, visit https://groups.google.com/groups/opt_out.

