Hi..to 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
./configure
make install
now we successfully installed node.js in our system..now 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 http://0.0.0.0:3000
=> 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..