diff options
Diffstat (limited to 'data/rubygems/make.sh')
-rw-r--r-- | data/rubygems/make.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/rubygems/make.sh b/data/rubygems/make.sh new file mode 100644 index 000000000..a8de2a0bc --- /dev/null +++ b/data/rubygems/make.sh @@ -0,0 +1,7 @@ +shopt -s extglob +pkg:extract +cd * +ruby setup.rb --prefix="${PKG_DEST}/usr" +pkg: sed -i -e 's/^#!.*/#!\/usr\/bin\/ruby/' /usr/bin/gem /usr/bin/update_rubygems +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 |