I've heard about Ruby and have wanted to learn to use it and have a host that supports it but I have a question.
I've seen many tutorials on it but they seem to use command line to run ruby scripts and such so am wondering how this works when I am under a shared server.
How exactly would I get started with Ruby? Creating a ruby script and executing it I mean. I've seen .rb files but what do you do with those?
Anyone want to fill me in on some details? Thanks.
Ruby - Getting Started
Page 1 of 17 Replies - 5184 Views - Last Post: 10 September 2007 - 07:05 AM
Replies To: Ruby - Getting Started
#2
Re: Ruby - Getting Started
Posted 25 October 2006 - 03:57 PM
pdesigns, on 25 Oct, 2006 - 01:39 PM, said:
How exactly would I get started with Ruby? Creating a ruby script and executing it I mean. I've seen .rb files but what do you do with those?
Anyone want to fill me in on some details? Thanks.
Anyone want to fill me in on some details? Thanks.
I assume you're in a Windows environment, so here's a link for something you might want to take a look at. Goes from the ground up getting started.
http://www.onlamp.co...1/20/rails.html
#3
Re: Ruby - Getting Started
Posted 26 October 2006 - 10:03 AM
rockstar_, on 25 Oct, 2006 - 03:57 PM, said:
pdesigns, on 25 Oct, 2006 - 01:39 PM, said:
How exactly would I get started with Ruby? Creating a ruby script and executing it I mean. I've seen .rb files but what do you do with those?
Anyone want to fill me in on some details? Thanks.
Anyone want to fill me in on some details? Thanks.
I assume you're in a Windows environment, so here's a link for something you might want to take a look at. Goes from the ground up getting started.
http://www.onlamp.co...1/20/rails.html
Sorry, I forgot to specify that I'm using a Linux server. Shared hosting under a linux box and my host says it supports Ruby on Rails but how exactly do I utilize it?
#4
Re: Ruby - Getting Started
Posted 26 October 2006 - 10:09 AM
You run a ruby script by calling it through the command line interface (one way), but are you asking about building command line ruby applications, or building web applications?
#5
Re: Ruby - Getting Started
Posted 06 November 2006 - 01:25 AM
Ruby can be interpreted by command line (type 'irb' in your shell), but it's possible to run scripts too (.rb extension)
You can learn everything you need on this sites:
http://www.ruby-lang.org/en/ (Official Ruby site, everything you need)
http://www.rubygarden.org/faq/ (Good Ruby FAQ)
http://www.ruby-lang.../documentation/ (Direct link to documentation)
You need to download interpreter of course, here are the links:
ftp://ftp.ruby-lang....by-1.8.5.tar.gz (Source code for Linux)
http://rubyforge.org.../ruby185-21.exe (One-click installer for Windows)
GL & HF with this superb language
You can learn everything you need on this sites:
http://www.ruby-lang.org/en/ (Official Ruby site, everything you need)
http://www.rubygarden.org/faq/ (Good Ruby FAQ)
http://www.ruby-lang.../documentation/ (Direct link to documentation)
You need to download interpreter of course, here are the links:
ftp://ftp.ruby-lang....by-1.8.5.tar.gz (Source code for Linux)
http://rubyforge.org.../ruby185-21.exe (One-click installer for Windows)
GL & HF with this superb language
#6
Re: Ruby - Getting Started
Posted 19 November 2006 - 04:49 AM
You can download a free copy of the eBook which I wrote to help newcomers to Ruby, The Little Book Of Ruby. It's ten chapters - starst with "hello world" and goes on to cover most of the essentials (classes, blocks, modules, mixins, YAMl etc.) - you can also download a zip of all the source code to go with the example programs.
Get a copy here: http://www.sapphires...le-Book-Of-Ruby
best wishes
Huw
Get a copy here: http://www.sapphires...le-Book-Of-Ruby
best wishes
Huw
#7
Re: Ruby - Getting Started
Posted 02 June 2007 - 07:36 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|