From: Brian Candler Date: 2010-05-04T19:46:17+09:00 Subject: Re: School teacher still at it learning programming language Hilary Bailey wrote: > Now I while glimpsing at the beauty of Ruby, there is the software of > Rails. I downloaded it from from the c:\ using gem install rails, then > typed in rails mydiary and got a whole lot of create ...... listing. > NOW, how do I use Rails. Rails is a web application framework. By typing "rails mydiary" you have created an empty application called "mydiary". If you cd into that directory, you can start it running (ruby script/server) and then point browser to http://127.0.0.1:3000/ to see it. But it won't be useful until you add your own behaviour to it. For an old but still useful introduction see: http://oreilly.com/ruby/archive/rails-revisited.html Note that Rails is a big piece of software in its own right, which just happens to be written in Ruby. So if you have problems with any components of Rails (e.g. Rails scripts, classes, helper methods, controllers, views), you would be best off asking them on a Rails mailing list. If you find even Rails doesn't do enough work for you out-of-the-box, have a look at http://hobocentral.net/. But you probably want to understand Rails first. -- Posted via http://www.ruby-forum.com/.