View Full Version : HELP Ruby!
December 26th, 2006, 10:25 PM
I just installed Ruby. Again, how do i load the application? I have added this "Command Application Launch" I type ruby...
I really know nothing about Linux so please help me!
December 27th, 2006, 07:48 AM
I thought tha ti had answered this questions for you already. I don't kow if you did not get to read it, but I think that you are confused. when you ask How do I load the application?
Ruby is not and application but a language. So to create something with ruby I will do this
enable universe repositories
sudo apt-get install ruby irb rdoc
The ruby pacakege install is 1.8.2
2. Test it
You can do it so many ways
a.)you can open a shell and type irb and then Enter
you should get a hello world
b.) or open your favorite text editor
Type puts ' Hello World'
Save it as helloworld.rb
from the command line type Ruby helloworld.rb
your should get hello world as output.
I don't know if that answers your question, but if you could be a little bit more precise I am sure that we could help you. Maybe what you want to install is rails in taht case
sudo apt-get install rails
and you can take it from there
December 27th, 2006, 12:37 PM
Thanks for your reply.
1. How do i open the shell?
2. How do i get the command line open?
Thanks, but i only migrated from Windows a few days ago!
Ramses de Norre
December 27th, 2006, 01:01 PM
The terminal should be somewhere in Applications > system tools or something when using gnome. When you've got kde you'll need to look in your menu for Konsole.
December 27th, 2006, 07:50 PM
I use kde so you can use konsole for the shell and command line part of the instructions.
I don't know where they are on gnome. You can also apt-get install yakuake and then you can type f12 and it appears on the top. I like to use that so that I can still use it and make it appear and dissapear any time
I am sorry that I can't be of more help with gnome, but I trie looking up the wiki and it was slaw so maybe later I can look that up.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.