2012-08-28 11:30:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class RbenvBundler < Formula
|
|
|
|
homepage 'https://github.com/carsomyr/rbenv-bundler'
|
|
|
|
url 'https://github.com/carsomyr/rbenv-bundler/tarball/0.94'
|
2012-12-20 09:06:50 +00:00
|
|
|
sha1 '741477ed78bfbf88f1b010ff8071f95d880793ef'
|
2012-08-28 11:30:27 +00:00
|
|
|
|
|
|
|
depends_on 'rbenv'
|
|
|
|
|
|
|
|
def install
|
|
|
|
prefix.install Dir['*']
|
2012-10-22 16:39:45 +00:00
|
|
|
|
2012-11-01 11:12:45 +00:00
|
|
|
rbenv_plugins = "#{HOMEBREW_PREFIX}/var/lib/rbenv/plugins"
|
|
|
|
mkdir_p rbenv_plugins
|
|
|
|
ln_sf opt_prefix, "#{rbenv_plugins}/#{name}"
|
2012-10-22 16:39:45 +00:00
|
|
|
end
|
2012-08-28 11:30:27 +00:00
|
|
|
end
|