Install ruby on the mac

hello,
total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

1. open terminal
2. enter the command

bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head)

and here's what i get:

  % Total % Received % Xferd Average Speed Time Time
Time Current
                                 Dload Upload Total Spent
Left Speed
106 426 106 426 0 0 1338 0 --:--:-- --:--:--
--:--:-- 3203
bash: line 18: git: command not found
bash: line 20: cd: rvm: No such file or directory
bash: ./scripts/install: No such file or directory

wish there's a oneclickinstall of ruby on the mac.

thanks!

You are missing the "git" command which is required for checking out the latest version of rvm. You may want to look at macports.org which lets you easily install UNIX tools like git using the "port" command. After installing macports, install git and try the rvm installation again.

cr

···

On Oct 3, 2010, at 1:01 PM, Basi Lambanog wrote:

hello,
total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

1. open terminal
2. enter the command

bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head\)

and here's what i get:

% Total % Received % Xferd Average Speed Time Time
Time Current
                                Dload Upload Total Spent
Left Speed
106 426 106 426 0 0 1338 0 --:--:-- --:--:--
--:--:-- 3203
bash: line 18: git: command not found
bash: line 20: cd: rvm: No such file or directory
bash: ./scripts/install: No such file or directory

How you installed git? It is available in the PATH? (which git)

Also check the prerequisites page of RVM:

http://rvm.beginrescueend.com/rvm/prerequisites/

A working Xcode installation also is needed.

···

On Oct 3, 2:55 pm, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

hello,
total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

--
Luis Lavena

total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

You already have ruby. If all you want to do is learn ruby, then do nothing. Open your terminal, type 'irb' and hit return:

% irb
>> 1 + 1
=> 2
>> "this is a test".scan(/\w+/)
=> ["this", "is", "a", "test"]

rubygems is already installed. You really need not do anything at this point.

···

On Oct 3, 2010, at 11:01 , Basi Lambanog wrote:

Thanks for the reply. So I'm downloading Xcode ... but for some
reasons it's taking a long time (8 hrs! believe it or not) to download
on DSL 2.9GB. That is unusual...

···

On Oct 3, 12:06 pm, Luis Lavena <luislav...@gmail.com> wrote:

On Oct 3, 2:55 pm, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

> hello,
> total mac newby here. i'm traying to install ruby via rvm but i'm not
> having much success. git is already installed. What I do:

How you installed git? It is available in the PATH? (which git)

Also check the prerequisites page of RVM:

http://rvm.beginrescueend.com/rvm/prerequisites/

A working Xcode installation also is needed.

--
Luis Lavena

Hey, thanks. Yes, indeed, Ruby is installed, rubygems is installed.
Amazing. Now I'd like to install Sinatra and play with it.

···

On Oct 3, 7:22 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:

On Oct 3, 2010, at 11:01 , Basi Lambanog wrote:

> total mac newby here. i'm traying to install ruby via rvm but i'm not
> having much success. git is already installed. What I do:

You already have ruby. If all you want to do is learn ruby, then do nothing. Open your terminal, type 'irb' and hit return:

> % irb
> >> 1 + 1
> => 2
> >> "this is a test".scan(/\w+/)
> => ["this", "is", "a", "test"]

rubygems is already installed. You really need not do anything at this point.

If youre using snow leopard all you need is Xcode. Rubygems is already installed so if you want version 1.8.7 just issue the following command

sudo gem install ruby

That should so it. If you want ruby 1.9.2 that's a little different of course.

Best,
Steve

···

Sent from my iPhone

On Oct 3, 2010, at 6:15 PM, Basi Lambanog <basi.lambanog.tuba@gmail.com> wrote:

Thanks for the reply. So I'm downloading Xcode ... but for some
reasons it's taking a long time (8 hrs! believe it or not) to download
on DSL 2.9GB. That is unusual...

On Oct 3, 12:06 pm, Luis Lavena <luislav...@gmail.com> wrote:

On Oct 3, 2:55 pm, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

hello,
total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

How you installed git? It is available in the PATH? (which git)

Also check the prerequisites page of RVM:

http://rvm.beginrescueend.com/rvm/prerequisites/

A working Xcode installation also is needed.

--
Luis Lavena

sudo gem update --system
sudo gem update ruby
sudo gem install sinatra

···

Sent from my iPhone

On Oct 3, 2010, at 9:30 PM, Basi Lambanog <basi.lambanog.tuba@gmail.com> wrote:

Hey, thanks. Yes, indeed, Ruby is installed, rubygems is installed.
Amazing. Now I'd like to install Sinatra and play with it.

On Oct 3, 7:22 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:

On Oct 3, 2010, at 11:01 , Basi Lambanog wrote:

total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

You already have ruby. If all you want to do is learn ruby, then do nothing. Open your terminal, type 'irb' and hit return:

% irb

1 + 1

=> 2

"this is a test".scan(/\w+/)

=> ["this", "is", "a", "test"]

rubygems is already installed. You really need not do anything at this point.

If you still have the install disks for your computer, Xcode is on disk 2. Install from there and then run software update.

cr

···

On Oct 3, 2010, at 5:15 PM, Basi Lambanog wrote:

Thanks for the reply. So I'm downloading Xcode ... but for some
reasons it's taking a long time (8 hrs! believe it or not) to download
on DSL 2.9GB. That is unusual...

On Oct 3, 12:06 pm, Luis Lavena <luislav...@gmail.com> wrote:

On Oct 3, 2:55 pm, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

hello,
total mac newby here. i'm traying to install ruby via rvm but i'm not
having much success. git is already installed. What I do:

How you installed git? It is available in the PATH? (which git)

Also check the prerequisites page of RVM:

http://rvm.beginrescueend.com/rvm/prerequisites/

A working Xcode installation also is needed.

Steve,
Thank you for the reply. I'll likely go for 1.9.2 to avoid the hassle
of upgrade from an earlier version. I'm having a problem downloading
xcode. As it turned out, we got suckered into an internet-cable
connection in which the internet and two TV boxes split the signlas.
Upgrade to a faster speed will cost extra $13 a month. Don't you just
love them providers, eh?
basi

···

On Oct 3, 4:46 pm, Steven Elliott Jr <rubydevelo...@me.com> wrote:

If youre using snow leopard all you need is Xcode. Rubygems is already installed so if you want version 1.8.7 just issue the following command

sudo gem install ruby

That should so it. If you want ruby 1.9.2 that's a little different of course.

Best,
Steve

Sent from my iPhone

On Oct 3, 2010, at 6:15 PM, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

> Thanks for the reply. So I'm downloading Xcode ... but for some
> reasons it's taking a long time (8 hrs! believe it or not) to download
> on DSL 2.9GB. That is unusual...

> On Oct 3, 12:06 pm, Luis Lavena <luislav...@gmail.com> wrote:
>> On Oct 3, 2:55 pm, Basi Lambanog <basi.lambanog.t...@gmail.com> wrote:

>>> hello,
>>> total mac newby here. i'm traying to install ruby via rvm but i'm not
>>> having much success. git is already installed. What I do:

>> How you installed git? It is available in the PATH? (which git)

>> Also check the prerequisites page of RVM:

>>http://rvm.beginrescueend.com/rvm/prerequisites/

>> A working Xcode installation also is needed.

>> --
>> Luis Lavena

What does gem update ruby do? I've never seen that before.

Ben

···

On Oct 3, 2010, at 7:01 PM, Steven Elliott Jr <rubydeveloper@me.com> wrote:

sudo gem update --system
sudo gem update ruby

there is no 'ruby' gem. That doesn't do anything that you're suggesting it does.

···

On Oct 3, 2010, at 19:01 , Steven Elliott Jr wrote:

sudo gem update ruby

Thanks all, guys. With all this help, I feel very much welcome. I'm
all set to try and enjoy the Mac.

basi

···

On Oct 3, 9:40 pm, Ryan Davis <ryand-r...@zenspider.com> wrote:

On Oct 3, 2010, at 19:01 , Steven Elliott Jr wrote:

> sudo gem update ruby

there is no 'ruby' gem. That doesn't do anything that you're suggesting it does.

there is no 'ruby' gem. That doesn't do anything that you're suggesting it does.

You're right, I messed up. Sometimes writing from the iPhone is not good. Sorry for the confusion.