ruby - zsh: Heroku toolbelt not found anymore -


i switched zsh, pretty happy that. except heroku toolbelt doesn't work anymore ...

here have when type heroku -v :

/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': not find heroku (>= 0) amongst [actionmailer-3.2.13, actionpack-3.2.13, activemodel-3.2.13, activerecord-3.2.13, activeresource-3.2.13, activesupport-3.2.13, arel-3.0.2, bcrypt-ruby-3.0.1, bootstrap-sass-2.3.1.0, builder-3.0.4, bundler-1.3.5, climate_control-0.0.3, cocaine-0.5.1, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.6.2, daemons-1.1.9, devise-2.2.3, erubis-2.7.0, eventmachine-1.0.3, execjs-1.4.0, faraday-0.8.7, haml-3.1.4, hashie-1.2.0, hike-1.2.2, httpauth-0.2.0, i18n-0.6.1, journey-1.0.4, jquery-rails-2.2.1, json-1.7.7, jwt-0.1.8, mail-2.5.3, mime-types-1.23, mime-types-1.22, multi_json-1.7.3, multi_json-1.7.2, multipart-post-1.2.0, oauth2-0.8.1, omniauth-1.1.3, omniauth-facebook-1.4.1, omniauth-oauth2-1.1.1, orm_adapter-0.4.0, paperclip-3.4.1, pg-0.15.1, polyglot-0.3.3, rack-1.4.5, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2, rails-3.2.13, railties-3.2.13, rake-10.0.4, rdoc-3.12.2, rubygems-bundler-1.1.1, rvm-1.11.3.7, sass-3.2.9, sass-rails-3.2.6, sprockets-2.2.2, thin-1.5.1, thor-0.18.1, tilt-1.4.1, tilt-1.3.7, treetop-1.4.12, tzinfo-0.3.37, uglifier-2.1.0, warden-1.2.1] (gem::loaderror)     /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'     /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'     /usr/local/bin/heroku:22:in `<main>' 

i tried reinstall toolbelt since read it, same result happen.

i compared bash , zsh $paths seem contain same pointers heroku folders :

bash:

/usr/local/heroku/bin:/home/augustin/.rvm/gems/ruby-1.9.3-p392/bin:/home/augustin/.rvm/gems/ruby-1.9.3-p392@global/bin:/home/augustin/.rvm/rubies/ruby-1.9.3-p392/bin:/home/augustin/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/google/google_appengine:/usr/local/heroku/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/google/google_appengine:/home/augustin/.rvm/bin:/home/augustin/.rvm/bin 

zsh:

/home/augustin/.rvm/gems/ruby-1.9.3-p392/bin:/home/augustin/.rvm/gems/ruby-1.9.3-p392@global/bin:/home/augustin/.rvm/rubies/ruby-1.9.3-p392/bin:/home/augustin/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/google/google_appengine:/usr/local/heroku/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/google/google_appengine:/home/augustin/.rvm/bin 

i have read installing heroku gem since have ruby errors, read it's depreciated since toolbelt exists: https://github.com/robbyrussell/oh-my-zsh/issues/1401

so problem?

i'm pretty new ruby, still don't understand rvms , have feeling error linked it.

finally, here .zshrc file, think too.

# path oh-my-zsh configuration. zsh=$home/.oh-my-zsh  # set name of theme load. # in ~/.oh-my-zsh/themes/ # optionally, if set "random", it'll load random theme each # time oh-my-zsh loaded. #zsh_theme="robbyrussell" #zsh_theme="muse" zsh_theme="ys"  # example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh"  # set use case-sensitive completion # case_sensitive="true"  # comment out disable bi-weekly auto-update checks # disable_auto_update="true"  # uncomment change how before auto-updates occur? (in days) # export update_zsh_days=13  # uncomment following line if want disable colors in ls # disable_ls_colors="true"  # uncomment following line if want disable autosetting terminal title. # disable_auto_title="true"  # uncomment following line if want disable command autocorrection # disable_correction="true"  # uncomment following line if want red dots displayed while waiting completion # completion_waiting_dots="true"  # uncomment following line if want disable marking untracked files under # vcs dirty. makes repository status check large repositories much, # faster. # disable_untracked_files_dirty="true"  # plugins load? (plugins can found in ~/.oh-my-zsh/plugins/*) # custom plugins may added ~/.oh-my-zsh/custom/plugins/ # example format: plugins=(rails rails3 git textmate ruby lighthouse)  source $home/.aliases  plugins=(git ruby rails rails3 rvm heroku)  source $zsh/oh-my-zsh.sh  # [[ -s "$home/.rvm/scripts/rvm" ]] && . “$home/.rvm/scripts/rvm” if [[ -s $home/.rvm/scripts/rvm ]] ; source $home/.rvm/scripts/rvm ; fi  # customize needs... export path=$path:/usr/local/heroku/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/google/google_appengine:/home/augustin/.rvm/bin 

great in advance.

edit last line of ~/.zshrc , change to:

export path=/usr/local/heroku/bin:$path:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/local/games:/opt/google/google_appengine 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -