Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3821

Re: Ruby Beginner Need Help..

From James Nathan <badlands_2004@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Ruby Beginner Need Help..
Date 2011-05-01 23:24 -0500
Organization Service de news de lacave.net
Message-ID <770644.25352.qm@web65902.mail.ac4.yahoo.com> (permalink)
References <BANLkTi=PPxhsDe1htkLnK6rfjJiyAbp5+A@mail.gmail.com> <7dd07f8a8e2e694805c50c4d6962ff96@ruby-forum.com> <BANLkTi=25zX012tZRMhTxze8wMKj2Uq0ew@mail.gmail.com> <4DBA3B63.5000801@ucla.edu>

Show all headers | View raw


just seed me a disk so that I can upload it on my computer?



________________________________
From: Justin Collins <justincollins@ucla.edu>
To: ruby-talk ML <ruby-talk@ruby-lang.org>
Sent: Thursday, April 28, 2011 10:15 PM
Subject: Re: Ruby Beginner Need Help..


> 2011/4/29 7stud --<bbxx789_05ss@yahoo.com>
>
>> Didin Ibnu Sarnan wrote in post #995669:
>>> Hi,
>>>
>>> I just installed ruby on my ubuntu, I use this following command to
>>> install
>>> ruby:
>>>
>>> # sudo apt-get install ruby1.9.1-full
>>>
>>> After installation succeeded, I don't know what are the next step to
>>> begin
>>> developing ruby, I from PHP language and I want to try to learn ruby.
>>>
>> You want to get a text editor that does automatic line indenting.  Then
>> you create a new file, enter some ruby code, and save the file with a
>> .rb extension.  Then at the command line type:
>>
>> ruby my_program.rb
>>
>> and you will see any output your program produces.
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>>
>> On 04/28/2011 08:17 PM, Didin Ibnu Sarnan wrote:
>>> Hi,
>>>
>>> Thank you for all answer.
>>>
>>> I have try execute ruby code with Command line and it was success.
>>>
>>> What I want is, I want write ruby code and then display it in my browser
>>> (firefox or whatever)
>>>
>>> how can I do this?
>>>
>>> Thank you :)

This depends on how comfortable you are with setting up Apache and what 
direction you want to go in.

If you are very comfortable with Apache, then install mod_ruby and you 
can make pages using <% ruby_code_here %> (instead of <? php_code_here 
?>). This is, however, considered a rather antiquated way of developing 
web applications (but do it anyway if that is how you want to get started).

If you are thinking of writing full-fledged web applications, then you 
may wish to try one of the many web frameworks suggested in other replies.

-Justin

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Ruby Beginner Need Help.. Didin Ibnu Sarnan <didinna@gmail.com> - 2011-04-28 20:17 -0500
  Re: Ruby Beginner Need Help.. Stu <stu@rubyprogrammer.net> - 2011-04-28 20:48 -0500
  Re: Ruby Beginner Need Help.. Didin Ibnu Sarnan <didinna@gmail.com> - 2011-04-28 22:17 -0500
    Re: Ruby Beginner Need Help.. Stu <stu@rubyprogrammer.net> - 2011-04-28 22:48 -0500
    Re: Ruby Beginner Need Help.. Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 22:51 -0500
    Re: Ruby Beginner Need Help.. Justin Collins <justincollins@ucla.edu> - 2011-04-28 23:15 -0500
      Re: Ruby Beginner Need Help.. Stu <stu@rubyprogrammer.net> - 2011-04-28 23:52 -0500
        Re: Ruby Beginner Need Help.. Didin Ibnu Sarnan <didinna@gmail.com> - 2011-04-29 03:06 -0500
          Re: Ruby Beginner Need Help.. Justin Collins <justincollins@ucla.edu> - 2011-04-29 03:30 -0500
            Re: Ruby Beginner Need Help.. Josh Cheek <josh.cheek@gmail.com> - 2011-04-29 09:33 -0500
      Re: Ruby Beginner Need Help.. James Nathan <badlands_2004@yahoo.com> - 2011-05-01 23:24 -0500
        Re: Ruby Beginner Need Help.. James Nathan <badlands_2004@yahoo.com> - 2011-05-06 22:50 -0500
    Re: Ruby Beginner Need Help.. Didin Ibnu Sarnan <didinna@gmail.com> - 2011-04-28 23:41 -0500
      Re: Ruby Beginner Need Help.. 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-29 13:16 -0500
        Re: Ruby Beginner Need Help.. Didin Ibnu Sarnan <didinna@gmail.com> - 2011-04-29 19:16 -0500
  Re: Ruby Beginner Need Help.. 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-28 21:56 -0500
  Re: Ruby Beginner Need Help.. 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-30 17:53 -0500

csiph-web