Java script error while running rails server all today i got javascript error while starting the rails server after creating a simple application.

This error is runtime error due to javascript

The solution to this problem is to install node.js in our system.

To install node.js in ubuntu do the following

Download the latest node.js file from node.js

after downloading extract that file using

tar xzvf node-v0.8.6.tar.gz


make install

now we successfully installed node.js in our you can run the rails server using

rails server

it shows the starting of the server like this

/usr/local/lib/ruby/1.8/webrick/httpservlet/cgihandler.rb:20: Use RbConfig instead of obsolete and deprecated Config.
=> Booting WEBrick
=> Rails 3.2.8 application starting in development on
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2012-08-16 13:13:19] INFO WEBrick 1.3.1
[2012-08-16 13:13:19] INFO ruby 1.8.8 (2012-07-27) [i686-linux]
[2012-08-16 13:13:24] INFO WEBrick::HTTPServer#start: pid=2621 port=3000

now you can run the server in browser by run server

Thanks to all..

Author: Balaji

Hi..My name is Balaji and i am working as a Senior Software Developer in India. I am interested in Shell scripts, python, erlang , linux kernel .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: