7 Replies - 5292 Views - Last Post: 10 September 2007 - 07:05 AM Rate Topic: -----

#1 pdesigns  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 14-September 06

Ruby - Getting Started

Posted 25 October 2006 - 01:39 PM

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.

Is This A Good Question/Topic? 0
  • +

Replies To: Ruby - Getting Started

#2 rockstar_  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 32
  • View blog
  • Posts: 189
  • Joined: 16-October 06

Re: Ruby - Getting Started

Posted 25 October 2006 - 03:57 PM

View Postpdesigns, 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.

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
Was This Post Helpful? 0
  • +
  • -

#3 pdesigns  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 14-September 06

Re: Ruby - Getting Started

Posted 26 October 2006 - 10:03 AM

View Postrockstar_, on 25 Oct, 2006 - 03:57 PM, said:

View Postpdesigns, 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.

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?
Was This Post Helpful? 0
  • +
  • -

#4 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

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?
Was This Post Helpful? 0
  • +
  • -

#5 k0b13r  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 15
  • View blog
  • Posts: 243
  • Joined: 18-July 06

Re: Ruby - Getting Started

Post icon  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 :)
Was This Post Helpful? 0
  • +
  • -

#6 Huw  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 3
  • Joined: 19-November 06

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
Was This Post Helpful? 0
  • +
  • -

#7 IndianGuru  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 02-June 07

Re: Ruby - Getting Started

Posted 02 June 2007 - 07:36 PM

You can download my Free Ruby Study Notes eBook. This is based on my site on Learning Ruby.
Was This Post Helpful? 0
  • +
  • -

#8 Alinux  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 10-September 07

Re: Ruby - Getting Started

Posted 10 September 2007 - 07:05 AM

:^:
thnx a lot
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1