Fedora Linux Support Community & Resources Center
  #1  
Old 29th December 2006, 01:16 PM
winblowz Offline
Registered User
 
Join Date: Dec 2006
Location: The Great White North
Posts: 41
ruby on rails

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?

Quote:
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.
thanks
__________________
Think for a moment about the concept of the flamethrower... at some point, some person said to himself, "Gee, I sure would like to set those people on fire over there. But I'm way too far away to get the job done." - George Carlin
Reply With Quote
Reply

Tags
rails, ruby

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Ruby on Rails Server baffa Servers & Networking 0 6th September 2009 09:32 PM
Rails Failure after latest Ruby update to 1.8.6.230-1 tonypmartin Installation and Live Media 1 25th June 2008 04:07 PM
Web Development with Ruby on Rails weave Programming & Packaging 6 11th April 2008 09:39 AM
Apache + Ruby on Rails komi Servers & Networking 1 26th November 2006 03:05 PM
Ruby on rails vs PHP pamount Programming & Packaging 0 3rd April 2006 05:13 AM


Current GMT-time: 11:59 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat