i have been using php with apache & mysql for quite some time now. someone was mentioning perhaps ruby on rails would be a worthwhile looksie. i went thru the below method for installing RoR & everything looked fine except after starting the WEBrick server & pointing a browser to http://localhost:3000/
i don't get anyhting other than a failed to connect to that page.
apache is really my webserver of choice but i thought i would just try & get things working as laid out in the method below first.
can anyone mention or add anything to the method below that might help me see the default page once WEBrick is fired up & running?
Installing Ruby on Rails on Fedora Core 5
Submitted by sandip on Sat, 04/08/2006 - 23:17. Linux
Quick notes on installing Ruby on Rails on Fedora Core 5 ( It should be similar for other linux distros as well )
1.Install ruby rpms via yum:
# yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs
2.Download and install rubygems from rubygems.org.
Change to the extracted directory and run:
# ruby setup.rb
3.Now use gem to install rails. It will ask about installing dependencies. Answer "Y" or just hit return.
# gem install rails
4.Test it by creating a skeleton rails app in your home directory:
$ cd ~
$ rails testapp
5.Start the WEBrick server.
$ cd ~/testapp
$ ruby script/server
The WEBrick server should now be started and listening to the default port - 3000 .
Point your browser to: http://localhost:3000/
You should see a welcome page with some additional getting started info.