Ruby 2.3.4 için Bundler paketlendi

This commit is contained in:
Aydın Yakar 2017-06-27 13:34:02 +03:00 committed by GitHub
parent 914777756f
commit c7f1dd5a72
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Description: Ruby uygulama-paket yöneticisi
# URL: http://www.ruby-lang.org
# Packager: yakar (aydin@komutan.org)
# Depends on: ruby23
name=ruby-bundler23
_name=ruby-bundler
version=1.15.1
release=1
source=(https://rubygems.org/downloads/${_name#ruby-}-$version.gem)
build () {
cd "$SRC"
local _gemdir="$(ruby -e'puts Gem.default_dir')"
HOME="/tmp" GEM_HOME="$_gemdir"
GEM_PATH="$_gemdir"
gem install --no-user-install --ignore-dependencies -i "$PKG/$_gemdir" -n "$PKG/usr/bin" "${_name#ruby-}-$version.gem"
rm "$PKG/$_gemdir/cache/${_name#ruby-}-$version.gem"
}