Sheru Thakuri wrote:
> Hi,
> I have installed ruby186-27_rc2 on windows xp for the developement.
> 
> Now I have questions:
> 
> - How do I know now the ruby installed successfully
>

Open a command window and at the prompt type:

ruby -v

and hit Enter/Return.  If ruby installed correctly, that command should 
output the version(-v) that was installed.


> & where do I write
> coding?
>

You write your code in a text file and then you name the file with a .rb 
extension, for example:

myfirstprogram.rb

To make ruby execute your program, you open a command window and cd 
(change directory) to the directory that contains your program.  Then at 
the prompt you type:

ruby myfirstprogram.rb

> 
> - Does package install rubygems automatically or need to do manually?
>

You can check that by opening up a command window and typing:

gem -v





-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to