Ruby/How to install RoR2

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.
** Install Ruby on Windows
** Install Ruby on Mac/Linux
** Install Ruby on Linux
** Install MySQL for Ruby
** Ruby Install Troubleshooting
** Ruby Install Troubleshooting2
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 - page 2

[edit] For Windows


This is another way of installing Ruby on Rails:

Download the One-Click Ruby installer here At some point during the install process you will be asked what extensions to install;select what you want and process with the rest of the install.

Image:One_click_ruby.gif


You also get "fxri" in the package, which does exactly what it claims to do: provides an interactive Ruby help & documentation console.


Image:Fxri_ruby.gif


To use your newly installed software, go to Start > Run ; type "cmd" for getting the command prompter.To access the Ruby interpreter, type "irb" in the command prompter.After that, you can do your thing,whatever that is...I mean start programming.Just type regular Ruby commands and the interpreter will do the rest.

If you only want to test your install for the moment, type


puts "hello world"

to display the "hello world" text on the prompter. When you finish what you had to do, use "quit" NOT "exit" to close the interpreter, "exit" won't work like it does in the regular windows command prompter.

Previous Next