this question was posted by befour but the answers did not work. I should have run through to mention that I am completely new to the ruby. I made a mistake while running the tutorial
here are the steps:
[first_app (master)]$ gem install heroku
I get
Successfully installed heroku-2.24.0
but when i try
[first_app (master)]$ heroku keys:add
I get
-bash: heroku: command not found
i then tried the heap by removing the gem update build, reinstalling it, but that didn't help
$ bundle exec heroku
/Users/vng/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': heroku is not part of the bundle. Add it to Gemfile. (Gem::LoadError) from /Users/vng/.rbenv/versions/1.9.3-p125/bin/heroku:18:in `block in replace_gem': heroku is not part of the bundle. Add it to Gemfile. (Gem::LoadError) from /Users/vng/.rbenv/versions/1.9.3-p125/bin/heroku:18:in `block in replace_gem': heroku is not part of the bundle. Add it to Gemfile. (Gem::LoadError) from /Users/vng/.rbenv/versions/1.9.3-p125/bin/heroku:18:in ''
echo $PATH
/Users/vng/.rbenv/shims:/Users/vng/.rbenv/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
the environment of my gem
RubyGems environment:
- VERSION OF ABROADS: 1.8.11
- RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [x86_64-darwin11.3.0]
- INSTALLATION INSTRUCTIONS: /Users/vng/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1
- RUBY EXECUTIVE: /Users/vng/.rbenv/versions/1.9.3-p125/bin/ruby
- EXECUTIVE DIRECTORY: /Users/vng/.rbenv/versions/1.9.3-p125/bin
- PLATFORMS RUBING:
- ruby
- x86_64-darwin-11
- GEM PATHS:
- / Users / vng / .rbenv / versions / 1.9.3-p125 / lib / ruby / gems / 1.9.1
- / Users / vng / .gem / ruby / 1.9.1
- GEM CONFIGURATION:
-: update_sources => true
-: verbose => true
-: benchmark => false
-: backtrace => false
-: bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
help with thanks
source share