summaryrefslogtreecommitdiff
path: root/data/rubygems/make.sh
blob: b1af2a99882c381309089513136f324beb4baaff (plain)
1
2
3
4
5
6
shopt -s extglob
pkg:setup
ruby setup.rb --prefix="${PKG_DEST}/usr"
pkg: sed -i -e 's/^#!.*/#!\/usr\/bin\/ruby/' /usr/bin/gem
pkg: mkdir -p /usr/lib/ruby/site_ruby/1.8
mv "${PKG_DEST}"/usr/lib/!(ruby) "${PKG_DEST}"/usr/lib/ruby/site_ruby/1.8