Need help installing a ruby on rails script

8 views
Skip to first unread message

Matthew Hawley

unread,
May 29, 2012, 11:03:05 PM5/29/12
to rubyonra...@googlegroups.com
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.

Cassiano Leal

unread,
May 31, 2012, 8:48:36 AM5/31/12
to rubyonra...@googlegroups.com
On 30 May 2012 00:03, Matthew Hawley <matt...@gmail.com> 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

Colin Law

unread,
May 31, 2012, 8:52:22 AM5/31/12
to rubyonra...@googlegroups.com
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

pe medeiros

unread,
May 31, 2012, 10:54:28 AM5/31/12
to rubyonra...@googlegroups.com
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 Law <cla...@googlemail.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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
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: pedr...@gmail.com

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


Reply all
Reply to author
Forward
0 new messages