B
Bil Kleb
Hi,
Is there a simpler way to refresh my Ruby 1.9 build?
Here's what I'm currently using on my OS X box:
#!/bin/sh
#
# To refresh Ruby 1.9 build after an initial
#
# svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby
svn up
VERSION=`grep 'RUBY_VERSION ' version.h | awk '{print $3}' | sed -e's/"//g'`
SUFFIX=`grep RUBY_RELEASE_CODE version.h | awk '{print $3}'`
echo "Building ${VERSION}-${SUFFIX}" \
&& mkdir ${VERSION}-${SUFFIX} \
&& cd ${VERSION}-${SUFFIX} \
&& ../configure --prefix=/usr/local --program-suffix=19 \
&& make \
&& sudo make install
Later,
Is there a simpler way to refresh my Ruby 1.9 build?
Here's what I'm currently using on my OS X box:
#!/bin/sh
#
# To refresh Ruby 1.9 build after an initial
#
# svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby
svn up
VERSION=`grep 'RUBY_VERSION ' version.h | awk '{print $3}' | sed -e's/"//g'`
SUFFIX=`grep RUBY_RELEASE_CODE version.h | awk '{print $3}'`
echo "Building ${VERSION}-${SUFFIX}" \
&& mkdir ${VERSION}-${SUFFIX} \
&& cd ${VERSION}-${SUFFIX} \
&& ../configure --prefix=/usr/local --program-suffix=19 \
&& make \
&& sudo make install
Later,