Bundlizer: RubyGems and Bundler application manager
I'm created the Bundlizer. The Bundlizer is RubyGems and Bundler apps management tool from the command line. DO NOT NEED sudo
To install the Bundlizer, open a terminal and run this command
$ curl -L git.io/bundlizer-install | sh
Source ~/.bundlizer/etc/bashrc
in your ~/.bash_profile
or ~/.zshenv
$ echo 'source $HOME/.bundlizer/etc/bashrc' >> ~/.bash_profile
Restart your shell or exec $SHELL
Usage
You want to install heroku app from the GitHub.
$ bundlizer install heroku/heroku
Or, install from the RubyGems.org.
$ bundlizer install heroku
e.g.
$ 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
Update?
$ bundlizer update heroku
$ bundlizer update # update all apps
And others too.
$ 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
more information: README at GitHub
Written by Tomohiro TAIRA
Related protips
1 Response
Great work. Any chance of getting this into a Homebrew recipe?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#