Skip to content

Instantly share code, notes, and snippets.

@jlbfalcao
Created November 23, 2011 15:16
Show Gist options
  • Save jlbfalcao/1388930 to your computer and use it in GitHub Desktop.
Save jlbfalcao/1388930 to your computer and use it in GitHub Desktop.
Jruby + Bundler - CentOS SETUP
# getting source
wget 'http://jruby.org.s3.amazonaws.com/downloads/1.6.5/jruby-bin-1.6.5.tar.gz' --directory-prefix=`rpm --eval '%{_sourcedir}'`
git clone git@github.com:jlbfalcao/jruby-rpm.git
cd jruby-rpm
cp * `rpm --eval '%{_sourcedir}'`
# build rpm
rpmbuild -bb jruby.spec
# install rpm
rpm -ivh --nodeps /root/rpmbuild/RPMS/x86_64/jruby-1.6.5-1.x86_64.rpm
# install bundler
wget http://rubygems.org/downloads/bundler-1.0.21.gem
jgem install --bindir=/usr/bin bundler-1.0.21.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment