title: heroku: command not found
body: <p>This would appear to have been solved before in <a href="https://stackoverflow.com/questions/909673/gems-and-ubuntu-9-04">How do I use gems with Ubuntu?</a> as well as in other answers but none of the solutions seem to work for me.</p>
  
  <p>I am using Mac OSX 10.6</p>
  
  <p>I have installed heroku using bundler. The following shows my gem environment and my path - i have tried adding the folders listed in EXECUTABLE DIRECTORY and GEM PATHS to my $PATH but i always get command not found when i type heroku from within my rails project.</p>
  
  <pre><code>$ bundle show heroku
  /Library/Ruby/Gems/1.8/gems/heroku-1.18.3
  
  $ gem environment
  RubyGems Environment:
    - RUBYGEMS VERSION: 1.6.1
    - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
    - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
    - RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    - EXECUTABLE DIRECTORY: /usr/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - universal-darwin-10
    - GEM PATHS:
       - /Library/Ruby/Gems/1.8
       - /Users/iantinsley/.gem/ruby/1.8
       - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :benchmark =&gt; false
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - http://rubygems.org/
  
  $ echo $PATH
  /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/iantinsley/bin:/usr/local/bin:/usr/bin
  
  $ heroku
  -bash: heroku: command not found
  </code></pre>
  
  <p>any help greatly appreciated</p>