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


Groups > comp.lang.ruby > #3821

Re: Ruby Beginner Need Help..

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!weretis.net!feeder5.news.weretis.net!talisker.lacave.net!lacave.net!not-for-mail
From James Nathan <badlands_2004@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Ruby Beginner Need Help..
Date Sun, 1 May 2011 23:24:47 -0500
Organization Service de news de lacave.net
Lines 27
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>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding Quoted-printable
X-Trace talisker.lacave.net 1304310450 95437 65.111.164.187 (2 May 2011 04:27:30 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Mon, 2 May 2011 04:27:30 +0000 (UTC)
In-Reply-To <4DBA3B63.5000801@ucla.edu>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 382526
X-Ml-Name ruby-talk
X-Gateway-Modified [Note: parts of this message were removed to make it a legal post.]
X-Rubymirror Yes
X-Ruby-Talk <770644.25352.qm@web65902.mail.ac4.yahoo.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:3821

Show key headers only | 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