LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2006, 11:19 PM   #1
caledfwlch
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Ruby on Rails, on Linux. After the install...


Greetings,

I'm pretty new to the whole Linux scene, but I'm getting along quite well with everything so far. In a nutshell, what I'm trying to do is get Ruby (on Rails) working on my server box (Ubuntu Dapper Drake 6.06 Server LAMP install) so that I can start playing around with it, doing demo pages with it, basically just learning how to code with Ruby for the web. (My previous experience with web programming is PHP, ASP, MySQL, etc etc.)

I've gotten through the intallation following Paul Goscicki's tutorial, and Ruby on Rails seems to be installed.

~# ruby --version

shows 1.8.4

~# rails --version

shows 1.1.2

Now for my roadblock: what now?

All the tutorials/install guides seem to end at the point where you get the "You're riding the rails!" page. They end at:

rails myappname

Sure, now when I nav to localhost/myappname/public I see the Welcome aboard page, but I don't rightly know what to do next. This page displays three more steps, but they don't seem to tell you exactly what to do.

I've managed to figure out that I can type in something of this sort:

/www/var/myappname# script/generate controller test

Bunch of text scrolls by and... I'm no further along than I was before doing that. Nothing new in the directory (though there is a test controller in app/controllers, but how do I get it to show up through my browser?)

So my question is, is there any straightforward instructions out there on how to get Ruby on Rails going (post install), so that I can actually start some programming?
 
Old 06-24-2006, 11:47 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Here's my favorite Ruby on Rails "hello world", an "address book" sample:
http://www-128.ibm.com/developerwork...y/l-rubyrails/

There are also plenty of additional materials available on the IBM site.

'Hope that helps .. PSM
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you help me with search in Ruby on Rails? viniosity Programming 1 01-05-2007 06:25 PM
LXer: Ruby on Rails LXer Syndicated Linux News 0 02-16-2006 04:16 PM
LXer: Ruby on Rails on Debian LXer Syndicated Linux News 0 01-09-2006 07:01 PM
LXer: Ruby off the Rails LXer Syndicated Linux News 0 12-24-2005 04:31 PM
Ruby on Rails pache config gherikill Linux - Software 1 10-11-2005 10:02 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration