Created
November 23, 2011 15:16
-
-
Save jlbfalcao/1388930 to your computer and use it in GitHub Desktop.
Jruby + Bundler - CentOS SETUP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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