Need help installing a ruby on rails script

Hello. Im only used to PHP and Perl/CGI scripts. Ruby scripts are VERY
confusing. I have no idea how to install ruby script. Could somebody
plaese
tell me how?

Thank you.

On 30 May 2012 00:03, Matthew H. [email protected] wrote:

Hello. Im only used to PHP and Perl/CGI scripts. Ruby scripts are VERY
confusing. I have no idea how to install ruby script. Could somebody plaese
tell me how?

Thank you.

You don’t install a Ruby script. You run it, much like a PHP script. You
need to have the interpreter (Ruby) and whatever dependencies your
script
has beforehand, then just run:

$ ruby some_script.rb

Hey!

For a quick start i recommend http://tryruby.org/ and
http://railsforzombies.com/ which is free, quick and you will get
some foundations on rails and ruby lang.

It’s possible install some scripts using rubygems library.

If it’s not what you are looking for, let us known your actual problem
you
are trying to solve.

2012/5/31 Colin L. [email protected]

If you are talking about a Ruby on Rails application then I suggest
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Pedro Henrique de Souza Medeiros

Cel: +55 (61) 9197-0993
Email: [email protected]

Beautiful is better than ugly,
Explicit is better than implicit,
Simple is better than complex,
Complex is better than complicated.

The Zen of Python, by Tim Peters

On 30 May 2012 04:03, Matthew H. [email protected] wrote:

Hello. Im only used to PHP and Perl/CGI scripts. Ruby scripts are VERY
confusing. I have no idea how to install ruby script. Could somebody plaese
tell me how?

What do you mean by a ruby script? Is it just a .rb file? In which
case make sure ruby is installed then run it by
ruby the_file.rb

If you are talking about a Ruby on Rails application then I suggest
you work through a Rails tutorial such as railstutorial.org (which is
free to use online) to find out what Rails is about.

Colin