heroku: command not found

Hi,

I’m trying to install and use Heroku and having the following problem:

Here’s what I do and what I get:

Run:

sudo gem install heroku

Get:

Successfully installed heroku-1.10.5

1 gem installed

Installing ri documentation for heroku-1.10.5…

Installing RDoc documentation for heroku-1.10.5…

Run:

heroku keys:add

Get:

-bash: heroku: command not found

I’m stuck here! Even though the gem install appears successful, it doesn’t seem to be on my system (or more likely, I don’t know where to look since I’m new to this).

My environment:

Mac OS X 10.6.4

My Enviornment:

MANPATH=/opt/local/share/man:

TERM_PROGRAM=Apple_Terminal

GEM_HOME=/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@rails3tutorial

TERM=xterm-color

SHELL=/bin/bash

IRBRC=/Users/Applnb/.rvm/rubies/ruby-1.9.2-p0/.irbrc

TMPDIR=/var/folders/6c/6cQuGPD4Go4NwOFJ9WkDdE+++TI/-Tmp-/

Apple_PubSub_Socket_Render=/tmp/launch-u2RyM4/Render

TERM_PROGRAM_VERSION=273

MY_RUBY_HOME=/Users/Applnb/.rvm/rubies/ruby-1.9.2-p0

USER=Applnb

__shell_array_start=0

COMMAND_MODE=unix2003

rvm_path=/Users/Applnb/.rvm

SSH_AUTH_SOCK=/tmp/launch-54iIaw/Listeners

__CF_USER_TEXT_ENCODING=0x1F5:0:0

PATH=/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@rails3tutorial/bin:/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@global/bin:/Users/Applnb/.rvm/rubies/ruby-1.9.2-p0/bin:/Users/Applnb/.rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin

PWD=/Users/Applnb

LANG=en_US.UTF-8

rvm_version=1.0.9

SHLVL=1

HOME=/Users/Applnb

BUNDLE_PATH=/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@rails3tutorial

LOGNAME=Applnb

GEM_PATH=/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@rails3tutorial:/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@global

DISPLAY=/tmp/launch-OxYb44/org.x:0

RUBY_VERSION=ruby-1.9.2-p0

_=/usr/bin/env

Any help will be greatly appreciated!

Thanks,

Jeff

I'm trying to install and use Heroku and having the following problem:

:

sudo gem install heroku

My environment:

GEM_HOME=/Users/Applnb/.rvm/gems/ruby-1.9.2-p0@rails3tutorial

While I haven't started using rvm myself, I believe you're supposed
to do gem installs as the current user, i.e., don't use `sudo`.

See if that makes a difference.

That seems to have done it. Thank you!