Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (14 sloc) 0.495 kb
7862130 @brixen Build Rubinius file system location independent.
brixen authored
1 namespace :gems do
2 desc 'Install the pre-installed gems'
3 task :install do
4 ENV['GEM_HOME'] = ENV['GEM_PATH'] = nil
5
6 if BUILD_CONFIG[:stagingdir]
7 rbx = "#{BUILD_CONFIG[:stagingdir]}#{BUILD_CONFIG[:bindir]}/#{BUILD_CONFIG[:program_name]}"
8 else
1a8fa71 @brixen Added --program-name configure option.
brixen authored
9 rbx = "#{BUILD_CONFIG[:sourcedir]}/bin/#{BUILD_CONFIG[:program_name]}"
7862130 @brixen Build Rubinius file system location independent.
brixen authored
10 end
11
12 BUILD_CONFIG[:version_list].each do |ver|
8029ae3 @brixen Install gems with API instead of using subprocesses.
brixen authored
13 sh "#{rbx} -X#{ver} #{BUILD_CONFIG[:sourcedir]}/rakelib/preinstall_gems.rb"
7862130 @brixen Build Rubinius file system location independent.
brixen authored
14 end
15 end
16 end
Something went wrong with that request. Please try again.