|
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.
You also get "fxri" in the package, which does exactly what it claims to do: provides an interactive Ruby help & documentation console.
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.
|