Getting started

Ruby on rails can be downloaded from many sources over the internet like from http://api.rubyonrails.org/ where there are also instructions on how to quickly install and start programming. The first lessons would be the forever basic “Hello World” program which is very easy if you get set-up right. For a more automated installation you could also check-out Instant Rails or Locomotive for users on the Mac platform.
An example of the shortest way to get from installation to your first application would be;
alias rails_hello_world=’rails hello && cd hello && ./script/generate controller welcome hello && echo “Hello World” > app/views/welcome/hello.rhtml && ./script/server -d && firefox 0.0.0.0:3000/welcome/hello’. The code was compliments of ReinH. In the following posts we would start with the declarations and other basic stuff that will get us on the right track to making more complicated procedures.

This entry was posted in Development, Programming Basics, Programming Language and tagged , , . Bookmark the permalink. Comments are closed, but you can leave a trackback: Trackback URL.