Heroku Toolbelt Installation on Centos 6.5 -


i'm trying heroku toolbelt installed on our centos server, , can't seem figure out. have ruby , rubygems installed , functioning, , ran stand-alone download heroku getting started tutorial

wget -qo- https://toolbelt.heroku.com/install.sh | sh  

running 'whereis heroku', get

heroku: /usr/local/heroku 

and 'which heroku' outputs

/usr/local/heroku/bin/heroku 

however, when try , run 'heroku login', get

/usr/local/heroku/bin/heroku /usr/local/heroku/lib/heroku/helpers.rb:13:in `home_directory': undefined method `home' dir:class (nomethoderror)     /usr/local/heroku/lib/heroku/updater.rb:22:in `updated_client_path'     /usr/local/heroku/lib/heroku/updater.rb:170:in `inject_libpath'     /usr/local/heroku/bin/heroku:19 

i'm unable find same error heroku on google, , i'm not sure error means. thank help!

update 6/22/15

adding software versions

centos: 6.5 ruby: 1.9.3 gems: 2.4.8 

after upgrading ruby 1.9.3, different error.

running "which heroku" gives me following error which heroku /usr/bin/which: no heroku in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hugmungus/bin)

update 6/23/15

i've attempted add path using following steps sf question, i'm still getting same error when running 'which heroku'

ok, got working. here steps took:

step 1

following jeff dickey's suggestion, took , tried install newer version of ruby (1.8.4 -> 1.9.3), however, using wget method not giving me results. such, used rvm update 2.1.0 using article, here actual steps ruby installed

download development tools

yum groupinstall -y 'development tools' 

install rvm

curl -l get.rvm.io | bash -s stable   

if error missing public key, run first suggestion installer , re-run curl command

gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 

add rvm system path

source /etc/profile.d/rvm.sh 

reload rvm ensure it's in path, , install ruby

rvm reload rvm install 2.1.0  

after that, ruby installed.

step 2

add heroku system path, used this server fault question accomplish this

find heroku location

whereis heroku 

add path

echo 'pathmunge <your heroku install path>' > /etc/profile.d/her.sh 

open permissions allow execute

chmod +x /etc/profile.d/ree.sh 

log out, , log in, , that's it. can run command after login verify has been added path.

echo $path 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -