Ruby/How to install RoR

From Meshplex

Jump to: navigation, search
Image:Ruby_on_rails_tutorials.jpg
Ruby for complete beginners
Ruby Introduction
What can I use RoR for?
Reasons for choosing RoR over other popular programming languages such as php or asp.net .What makes Ruby so much more special
Where can I find RoR? In what “forms” does it come?
How to install RoR.Solutions for both the novice and professional programmers on Windows,Mac OS X and Linux.Prerequisites.
Ruby programming tutorials for beginners:
Ruby Basics
Ruby Variables, Datatypes, Operators
Ruby Symbols
Ruby Statements
Ruby Converting data to another type: type conversion or typecasting
Ruby Arrays, Hashes, Ranges
Ruby Functions and built in functions
Ruby Control structures
Ruby Regular expressions and blocks
Ruby Loops
Ruby Recursion
Ruby Data Structures
Ruby Methods, Classes, Modules, Namespaces
Ruby Exceptions
Ruby Object Oriented Programming
Ruby Multithreading
Ruby File Handling.Input and Output
Ruby Basic GUI
Ruby and databases.Ruby on Rails and MySQL
Ruby Basic CGI.Using fastCGI
Ruby Basic Networking and web programming
Ruby Basic Graphics
Ajax and Rails.Web 2.0 and what it means
Ruby Testing, Debugging, Automation of tasks
Ruby Apache,Capistrano, Mongrel,lighttpd – reviews and tips
Finding a Ruby on Rails ready web hosting company
BONUS: mini tutorial for a simple RoR application

[edit] How to install RoR.Solutions for both the novice and professional programmers on Windows,Mac OS X and Linux.Prerequisites.

For Windows

The easiest way to have Ruby on Rails running on Windows is to install InstantRails.The latest version of InstantRails at the moment I'm writing this is 1.7 available for direct download from here

Once you download it, you need to unzip it in a directory of choice; make sure the name of the folder does not contain any space breaks.Once unzipped, click on InstantRails.exe ; this will cause InstantRails to detect the directory it's running from and will ask you if you wish to update paths in the config files.Click "yes".

InstantRails comes pre-packed with 2 sample RoR applications : a cookbook application and a photo share one; it also includes both Apache and WEBrick as web servers.

Image:Instantrails_2.gif Image:Instantrails_3.gif

To have access to the menu, just click on the black "I" letter in the left. An editor with full syntax highlighting features for Ruby is also included in the package - SciTE.To use it, browse to the "ruby" folder, and then to the "scite" folder inside; click on SciTe.exe

This is where RadRails comes in.If you want more than a text editor with syntax highlighting like SciTe for example, you need to install RadRails.

There's nothing special about the installation process( except that you need to install Java first if you don't already have it on your system; go to www.java.com ), so I won't be posting screenshots of that.If you want to make RadRails and InstantRails work together, you need to go to Window -> Preferences -> , then select Ruby -> Installed Interpreters ; click on "add" and type a name for the interpreter you want to use, in our case , you can type something along the lines of "InstantRails" and then browse to the path where ruby.exe is located (folder_where_you_extracted/InstantRails/ruby/bin/ruby.exe )

After this, you can start creating your first Ruby project from File -> New -> Rails -> Rails Project

If you're having problems, it's good to read the forums, your questions have probably already been aswered.


Previous Next
Personal tools