milis/talimatname/genel/r/ruby-bundler/talimat

19 lines
522 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Ruby uygulama-paket yöneticisi
# URL: http://www.ruby-lang.org
# Paketçi: milisarge yakar
# Gerekler: ruby
isim=ruby-bundler
surum=1.17.1
devir=1
kaynak=(https://rubygems.org/downloads/${isim#ruby-}-$surum.gem)
derle() {
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" "${isim#ruby-}-$surum.gem"
rm "$PKG/$_gemdir/cache/${isim#ruby-}-$surum.gem"
}