Skip to content

Commit 7676d78

Browse files
committed
pre-install bundler gem in the ruby package
1 parent ec1fa6a commit 7676d78

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ pack_ruby() {
344344
mv "${rubyroot}/bin/ruby" "${rubyroot}/bin/ruby.arm" >&3 2>&1 || die
345345
ln -s "${system_ruby}" "${rubyroot}/bin/ruby" >&3 2>&1 || die
346346
$system_ruby "${rubyroot}/bin/gem" "update" "--system" "--no-ri" "--no-rdoc" "-V" >&3 2>&1 || die
347+
348+
echo -ne "ok\n[ruby] - installing bundler..."
349+
$system_ruby "${rubyroot}/bin/gem" "install" "bundler" "--no-ri" "--no-rdoc" "--bindir=${rubyroot}/bin" "-V" >&3 2>&1 || die
350+
347351
rm "${rubyroot}/bin/ruby" >&3 2>&1 || die
348352
rm "${rubyroot}/lib/ruby/1.9.1/rbconfig.rb" >&3 2>&1 || die
349353
rm -rf "${rubyroot}/home/ruby/.gem" >&3 2>&1 || die

0 commit comments

Comments
 (0)