Skip to content

Commit 6c56f7c

Browse files
committed
second attempt at including bundler in ruby package
1 parent eb1a322 commit 6c56f7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.packager

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ Packager.build do
6161
'./configure --prefix=/usr --disable-install-doc',
6262
'cpucores=`nproc` make -j `expr $cpucores - 1 \| 1`',
6363
'make install DESTDIR=$PKG_DIR',
64-
'$PKG_DIR/usr/bin/gem install bundler'
64+
'make install',
65+
'gem install bundler -v '~> 1.10' --no-document',
66+
'mkdir -p $PKG_DIR/usr/lib/ruby/gems/2.1.0',
67+
'cp -R /usr/lib/ruby/gems/2.1.0/* $PKG_DIR/usr/lib/ruby/gems/2.1.0'
6568
]
6669
end
6770
end

0 commit comments

Comments
 (0)