Eu criei o Bundlizer . O Bundlizer é uma ferramenta de gerenciamento de aplicativos RubyGems e Bundler a partir da linha de comando. NÃO PRECISA DE sudo
Para instalar o Bundlizer, abra um terminal e execute este comando
$ curl -L git.io/bundlizer-install | sh
Fonte ~/.bundlizer/etc/bashrc
em seu ~/.bash_profile
ou~/.zshenv
$ echo 'source $HOME/.bundlizer/etc/bashrc' >> ~/.bash_profile
Reinicie seu shell ou exec $SHELL
Uso
Você deseja instalar o aplicativo heroku do GitHub.
$ bundlizer install heroku/heroku
Ou instale a partir do RubyGems.org.
$ bundlizer install heroku
por exemplo
$ bundlizer install heroku/heroku
Cloning into 'heroku'...
remote: Counting objects: 13354, done.
remote: Compressing objects: 100% (4301/4301), done.
remote: Total 13354 (delta 9173), reused 12792 (delta 8675)
Receiving objects: 100% (13354/13354), 1.81 MiB | 220 KiB/s, done.
Resolving deltas: 100% (9173/9173), done.
Start bundle installing to /home/tomohiro/.bundlizer/bundles/heroku
Fetching gem metadata from http://rubygems.org/.........
Installing addressable (2.2.7)
Installing excon (0.14.2)
Installing heroku-api (0.2.6)
Installing launchy (2.1.0)
Installing netrc (0.7.5)
Installing mime-types (1.17.2)
Installing rest-client (1.6.7)
Installing rubyzip (0.9.6.1)
Using heroku (2.28.7) from source at .
Using bundler (1.1.4)
Your bundle is complete! It was installed into ./bundle
It was installed 'heroku' into /home/tomohiro/.bundlizer/apps/heroku
$ type heroku
heroku is /home/tomohiro/.bundlizer/apps/heroku
$ heroku version
heroku-gem/2.28.7 (i686-linux) ruby/1.9.3
Use Pry – https://github.com/pry/pry
$ bundlizer install pry/pry
Atualizar?
$ bundlizer update heroku
$ bundlizer update # update all apps
E outros também.
$ bundlizer list
Bundler apps installed by the Bundlizer:
* foreman (rubygems.org: http://rubygems.org/gems/foreman)
apps: foreman,rake2thor,thor
* guard (git://github.com/guard/guard.git)
apps: guard
* heroku (git://github.com/heroku/heroku.git)
apps: heroku
* pry (git://github.com/pry/pry.git)
apps: pry
* rails (rubygems.org: http://rubygems.org/gems/rails)
apps: erubis,rackup,rails,rake2thor,thor,tilt,tt
* yard (git://github.com/lsegal/yard.git)
apps: yard,yardoc,yri
mais informações: README no GitHub