Hello

Hello,

I’m new to the Ruby community, but I am very adamant about joining.
I apologize for the inital #help command that was incorrectly sent here.

I’m a full-time web developer in Chicago.

I hope to contribute in the future.

Thanks,
Moises M.

I’m a full-time web developer in Chicago.

Do you use ruby at work?

There was a post recently where someone asked if learning ruby would
help them find a job. So, what tools do you use? Such a tale may be
beneficial to our learnings about the world and the things in it…

Cheers
Johnny

hello I am trying to get it stated myself, but I am not sure if I am
setting Ruby up right.

— On Wed, 4/6/11, Moises M. [email protected] wrote:

From: Moises M. [email protected]
Subject: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 4:09 PM

Hello,

I’m new to the Ruby community, but I am very adamant about joining.
I apologize for the inital #help command that was incorrectly sent here.

I’m a full-time web developer in Chicago.

I hope to contribute in the future.

Thanks,
Moises M.

details?

I am having a hard time to get it up and running. that is Ruby and Ruby
on Rails. it seems that no one is willing to help so that we can enjoy
this porgram. If their anyway that I can get it downloaded to me, some
help to make sure that have the right porgrams.
James N.

— On Wed, 4/6/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 9:53 PM

hello I am trying to get it stated myself, but I am not sure if I am
setting Ruby up right.

— On Wed, 4/6/11, Moises M. [email protected] wrote:

From: Moises M. [email protected]
Subject: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 4:09 PM

Hello,

I’m new to the Ruby community, but I am very adamant about joining.
I apologize for the inital #help command that was incorrectly sent here.

I’m a full-time web developer in Chicago.

I hope to contribute in the future.

Thanks,
Moises M.

hi james -

take a look at the ruby download page:
http://www.ruby-lang.org/en/downloads/

and for rails:
http://rubyonrails.org/download

if you still have problems, you should mention what system you have
(linux, osx, windows, etc.) and how you are trying to install. people
here are generally very helpful, but details are always needed.

good luck,

-j

No one is willing to help? That doesn’t sound like the ruby on rails
community; I always found those guys awesome.

What’s the problem you’re having? Have you installed Ruby correctly?
What OS
are you on?

Jake,
I have been reading Beginning Rails, and Beginning Ruby. the system that
i have is Window 7 Professional I just wanted to try to get it up and
running so that I can start writing a program. I do not want give up on
ruby. is their anyway that someone can help me up load the program.
James N.

— On Thu, 4/7/11, jake kaiden [email protected] wrote:

From: jake kaiden [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Thursday, April 7, 2011, 7:59 PM

hi james -

take a look at the ruby download page:
http://www.ruby-lang.org/en/downloads/

and for rails:
http://rubyonrails.org/download

if you still have problems, you should mention what system you have
(linux, osx, windows, etc.) and how you are trying to install. people
here are generally very helpful, but details are always needed.

good luck,

-j

no I do not use ruby at work, I just like to use so that I can write a
program for myself.

— On Wed, 4/6/11, Johnny M. [email protected] wrote:

From: Johnny M. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 6:00 PM

I’m a full-time web developer in Chicago.

Do you use ruby at work?

There was a post recently where someone asked if learning ruby would
help them find a job. So, what tools do you use? Such a tale may be
beneficial to our learnings about the world and the things in it…

Cheers
Johnny

On Fri, Apr 8, 2011 at 5:12 AM, James N. [email protected]
wrote:

Jake,
I have been reading Beginning Rails, and Beginning Ruby. the system that i have
is Window 7 Professional I just wanted
to try to get it up and running so that I can start writing a program. I do not
want give up on ruby. is their anyway that
someone can help me up load the program.

Does the installer at http://rubyinstaller.org/ not work?

Frankly, you are stating that you have a problem, but not what
problem you have, making it very difficult to help you solve your
problem.


Phillip G.

Though the folk I have met,
(Ah, how soon!) they forget
When I’ve moved on to some other place,
There may be one or two,
When I’ve played and passed through,
Who’ll remember my song or my face.

On 2011-04-10, at 15:39, James N. wrote:

does the Free Ride program for Ruby the command program that I need to run and
write my program?
James N.

James, I’m not sure what your background is, so please accept my
apologies if this answer doesn’t
suit your needs.

Ruby programs are run via the ruby' command, which takes as an argument the name of the file containing your Ruby program. For example, if you put the following contents into a file namedprog.rb’

puts(‘Hello, world!’)
%w(fee fie foe fum).each do |word|
puts(word+word)
end
puts(‘And now goodbye’)

(not an interesting program, but it serves as an example) and run it
from a terminal window (Command Prompt in Windows), you will get output
like this.

utopia:tmp vmanis$ ruby prog.rb
Hello, world!
feefee
fiefie
foefoe
fumfum
And now goodbye

I did this on Macintosh OS X (the output is cut&pasted from my Terminal
window), but you will get similar results on any system.

Now how did you get the program into the file prog.rb'? You use a text editor for that purpose. I used Emacs, because I know and love it. Others will get equally good results with Vim, TextMate or TextEdit (on Macs), or one of many other editors. (I don't really recommend Windows NotePad, because (a) it is almost featureless, and (b) it really wants to edit text (.txt) files, but no doubt some people can use it happily. Don't try to use Microsoft Word or OpenOffice as your text editor, these are really not designed for editing programs. Don't post an email sayingWhat is the best editor for Ruby programmers?’, unless you want to get
a LOT of email where people argue that THEIR editor is the best and
everyone else’s is garbage :slight_smile:

The irb program, provided as a part of the core Ruby package, provides a
great way of experimenting with programs. It also runs in your
terminal/Command Prompt window. Suppose you put the following into
prog2.rb:

def greet(who)
puts(“Hello, #{who}”)
end

Now you can try it out by calling the procedure interactively, by
running irb.

utopia:tmp vmanis$ irb
irb(main):001:0> load ‘prog2.rb’
=> true
irb(main):002:0> greet(“Gandalf”)
Hello, Gandalf
=> nil
irb(main):003:0>

Not so useful for running a program on its own, but very convenient for
trying things out and also for debugging.

FreeRIDE is intended to be an integrated development environment for
Ruby, including an editor, debugger, and other tools. I don’t know its
current status, but a look on its web page, freeride.rubyforge,org,
seems to indicate nothing has happened to it since approximately 2006,
which suggests it’s not something you want to start using. There are a
number of supported IDEs for Ruby out there, including plugins for
Eclipse and Visual Studio, as well as commercial products (some of which
cost money, others might be available at no cost), from companies such
as JetBrains or ActiveState.

All of these IDEs sit on top of the actual Ruby package. Their job is to
make a programmer’s job more productive. Some people really like them,
others don’t. But you don’t need them if you want to get started
programming in Ruby.

I hope you found that useful. Please feel free to email me if you have
additional questions. – vincent

does the Free Ride program for Ruby the command program that I need to
run and write my program?
James N.

— On Thu, 4/7/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Thursday, April 7, 2011, 7:29 PM

I am having a hard time to get it up and running. that is Ruby and Ruby
on Rails. it seems that no one is willing to help so that we can enjoy
this porgram. If their anyway that I can get it downloaded to me, some
help to make sure that have the right porgrams.
James N.

— On Wed, 4/6/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 9:53 PM

hello I am trying to get it stated myself, but I am not sure if I am
setting Ruby up right.

— On Wed, 4/6/11, Moises M. [email protected] wrote:

From: Moises M. [email protected]
Subject: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 4:09 PM

Hello,

I’m new to the Ruby community, but I am very adamant about joining.
I apologize for the inital #help command that was incorrectly sent here.

I’m a full-time web developer in Chicago.

I hope to contribute in the future.

Thanks,
Moises M.

is there a disk that we can seen off and use. so that we can all the
parts of ruby and ruby on rails. I would like this disk.
James N.

— On Sun, 4/10/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Sunday, April 10, 2011, 4:39 PM

does the Free Ride program for Ruby the command program that I need to
run and write my program?
James N.

— On Thu, 4/7/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Thursday, April 7, 2011, 7:29 PM

I am having a hard time to get it up and running. that is Ruby and Ruby
on Rails. it seems that no one is willing to help so that we can enjoy
this porgram. If their anyway that I can get it downloaded to me, some
help to make sure that have the right porgrams.
James N.

— On Wed, 4/6/11, James N. [email protected] wrote:

From: James N. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 9:53 PM

hello I am trying to get it stated myself, but I am not sure if I am
setting Ruby up right.

— On Wed, 4/6/11, Moises M. [email protected] wrote:

From: Moises M. [email protected]
Subject: Hello
To: “ruby-talk ML” [email protected]
Date: Wednesday, April 6, 2011, 4:09 PM

Hello,

I’m new to the Ruby community, but I am very adamant about joining.
I apologize for the inital #help command that was incorrectly sent here.

I’m a full-time web developer in Chicago.

I hope to contribute in the future.

Thanks,
Moises M.

is there a disk that can be sent out for us to use for ruby and ruby on
rails. so that we call the information that we need to set up our ruby
program?
James N.

— On Sun, 4/10/11, Vincent M. [email protected] wrote:

From: Vincent M. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Sunday, April 10, 2011, 5:34 PM

On 2011-04-10, at 15:39, James N. wrote:

does the Free Ride program for Ruby the command program that I need to run and
write my program?
James N.

James, I’m not sure what your background is, so please accept my
apologies if this answer doesn’t
suit your needs.

Ruby programs are run via the ruby' command, which takes as an argument the name of the file containing your Ruby program. For example, if you put the following contents into a file named prog.rb’

puts(‘Hello, world!’)
%w(fee fie foe fum).each do |word|
puts(word+word)
end
puts(‘And now goodbye’)

(not an interesting program, but it serves as an example) and run it
from a terminal window (Command Prompt in Windows), you will get output
like this.

utopia:tmp vmanis$ ruby prog.rb
Hello, world!
feefee
fiefie
foefoe
fumfum
And now goodbye

I did this on Macintosh OS X (the output is cut&pasted from my Terminal
window), but you will get similar results on any system.

Now how did you get the program into the file prog.rb'? You use a text editor for that purpose. I used Emacs, because I know and love it. Others will get equally good results with Vim, TextMate or TextEdit (on Macs), or one of many other editors. (I don't really recommend Windows NotePad, because (a) it is almost featureless, and (b) it really wants to edit text (.txt) files, but no doubt some people can use it happily. Don't try to use Microsoft Word or OpenOffice as your text editor, these are really not designed for editing programs. Don't post an email saying What is the best editor for Ruby programmers?', unless you want to get
a LOT of email where people argue that THEIR editor is the best and
everyone else’s is garbage :slight_smile:

The irb program, provided as a part of the core Ruby package, provides a
great way of experimenting with programs. It also runs in your
terminal/Command Prompt window. Suppose you put the following into
prog2.rb:

def greet(who)
puts(“Hello, #{who}”)
end

Now you can try it out by calling the procedure interactively, by
running irb.

utopia:tmp vmanis$ irb
irb(main):001:0> load ‘prog2.rb’
=> true
irb(main):002:0> greet(“Gandalf”)
Hello, Gandalf
=> nil
irb(main):003:0>

Not so useful for running a program on its own, but very convenient for
trying things out and also for debugging.

FreeRIDE is intended to be an integrated development environment for
Ruby, including an editor, debugger, and other tools. I don’t know its
current status, but a look on its web page, freeride.rubyforge,org,
seems to indicate nothing has happened to it since approximately 2006,
which suggests it’s not something you want to start using. There are a
number of supported IDEs for Ruby out there, including plugins for
Eclipse and Visual Studio, as well as commercial products (some of which
cost money, others might be available at no cost), from companies such
as JetBrains or ActiveState.

All of these IDEs sit on top of the actual Ruby package. Their job is to
make a programmer’s job more productive. Some people really like them,
others don’t. But you don’t need them if you want to get started
programming in Ruby.

I hope you found that useful. Please feel free to email me if you have
additional questions. – vincent

James N. wrote in post #992175:

is there a disk that we can seen off and use. so that we can all the
parts of ruby and ruby on rails. I would like this disk.
James N.

i don’t know of any disk, but maybe some of this will help…

these two are the ruby and rails base class api’s, which will give you
information on the built in classes and how to use them:
http://www.ruby-doc.org/core/
api.rubyonrails.org/

the “pragmatic guide” is also very good, and has examples and
tutorials:
http://www.ruby-doc.org/docs/ProgrammingRuby/

this is also a decent introduction tutorial:

and, of course - there is my personal favorite, the “poignant-guide”:
http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/

-j

On 2011-04-11, at 16:50, jake kaiden wrote:

Ruby Basic Tutorial

and, of course - there is my personal favorite, the “poignant-guide”:
http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/

These are all excellent books, and for those who really want to grok
Ruby, the Poignant Guide is excellent. But for somebody who is brand
new to Ruby, and to programming in general, I’d still recommend Ullman’s
Ruby: Visual Quickstart Guide as a really good place to start. It does
things like walking you through installing Ruby, for example.

– vincent

On 2011-04-11, at 16:19, James N. wrote:

is there a disk that we can seen off and use. so that we can all the parts of
ruby and ruby on rails. I would like this disk.
James N.

James,

The Ruby system is at www.ruby-lang.org. It contains all of the source
code for the Ruby system, written in C and Ruby. If you’re running on
Windows, you should use the Ruby Installer for Windows, at
ruby-forge.org. This has all the software for Ruby on Windows: you
download it and run it, and you have Ruby on your computer.

If you haven’t read a book on Ruby, I really recommend you do that. You
might possibly find `Ruby: Visual Quickstart Guide’ useful. According to
the listing on ruby-lang.org, it had 4 glowing reviews and no bad ones,
so it might be a good book. You can probably find it in your local
public library if you don’t want to buy it (I found it in the online
catalogs of 2 suburban Vancouver-area libraries, so libraries in your
area probably have it as well).

Hope that helps – vincent

I have try that and ruby 1.9.2 Page 180 I have interactive ruby, ruby
gems documentation server, start command prompt with ruby. now with free
ride for ruby I have a porgram free ride. what else do I need?
James N.

— On Mon, 4/11/11, jake kaiden [email protected] wrote:

From: jake kaiden [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Monday, April 11, 2011, 5:50 PM

James N. wrote in post #992175:

is there a disk that we can seen off and use. so that we can all the
parts of ruby and ruby on rails. I would like this disk.
James N.

i don’t know of any disk, but maybe some of this will help…

these two are the ruby and rails base class api’s, which will give you
information on the built in classes and how to use them:
ruby-doc.org/core/
api.rubyonrails.org/

the “pragmatic guide” is also very good, and has examples and
tutorials:
http://www.ruby-doc.org/docs/ProgrammingRuby/

this is also a decent introduction tutorial:

and, of course - there is my personal favorite, the “poignant-guide”:
http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/

-j

On 2011-04-11, at 17:37, James N. wrote:

I have try that and ruby 1.9.2 Page 180 I have interactive ruby, ruby gems
documentation server, start command prompt with ruby. now with free ride for ruby
I have a porgram free ride. what else do I need?
James N.

That’s almost enough to do Ruby programming with. I doubt very much that
FreeRIDE will work with Ruby 1.9.2, though, because, as I mentioned in
an earlier message, work on it apparently stopped in 2006. But maybe it
will work. As I also mentioned in that earlier message, if FreeRIDE
doesn’t work for you, then you need a text editor. I suggest you do some
projects in Ruby first, before trying Rails.

– vincent

I will just give up on Ruby and Ruby on Rails for now
James N.

— On Mon, 4/11/11, Vincent M. [email protected] wrote:

From: Vincent M. [email protected]
Subject: Re: Hello
To: “ruby-talk ML” [email protected]
Date: Monday, April 11, 2011, 5:55 PM

On 2011-04-11, at 16:50, jake kaiden wrote:

Ruby Basic Tutorial

and, of course - there is my personal favorite, the “poignant-guide”:
http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/

These are all excellent books, and for those who really want to grok
Ruby, the Poignant Guide is excellent. But for somebody who is brand new
to Ruby, and to programming in general, I’d still recommend Ullman’s
Ruby: Visual Quickstart Guide as a really good place to start. It does
things like walking you through installing Ruby, for example.

– vincent