Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
build = ruby-1.9.3-p0
ruby_dir = ./ruby/bin
gem_dir = ./gems
ruby_opts = GEM_HOME=$(gem_dir)
gem = $(ruby_dir)/gem
ruby = $(ruby_dir)/ruby
bundler = $(gem_dir)/bin/bundle
error: $(bundler) Gemfile
$(ruby_opts) $(bundler)
Gemfile:
echo "bundler" > $?
$(bundler): $(ruby_dir)
$(ruby_opts) $(gem) install bundler
$(ruby_dir): $(build)/Makefile
( cd ./$(build) ; make install)
$(build)/Makefile: $(filter-out $(wildcard $(build)), $(build))
( cd ./$? ; ./configure --prefix=`pwd`/../ruby)
$(build): $(build).tar.bz2
tar xjf $?
$(build).tar.bz2:
wget http://ftp.ruby-lang.org/pub/ruby/1.9/$@
clean:
rm -rf $(build)*
# Required apt packages: libyaml-dev zlib1g-dev libssl-dev libreadline5-dev libxml2-dev libsqlite3-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.