···1source "https://rubygems.org"
23+gem 'sup'
4+gem 'gpgme'
5+6+# Sup tries to `xapian-ruby` in its extconf instead of listing it as a
7+# dependency.
8+gem 'xapian-ruby', "~> 1.2.15"
···133 # and then set it back to what it was originally.
134 alias original_install_gem_from_spec install_gem_from_spec
135 def install_gem_from_spec(spec, standalone = false, worker = 0)
136- pre_installer = "pre-installers/#{spec.name}"
137- if File.exist?(pre_installer)
138- system(pre_installer)
139- unless $?.success?
140- Bundler.ui.error "The pre-installer script for #{spec.name} failed!"
141- exit 1
142- end
143- env = eval(Bundler.read_file("env/#{spec.name}"))
144 unless env
145 Bundler.ui.error "The environment variables for #{spec.name} could not be loaded!"
146 exit 1
···133 # and then set it back to what it was originally.
134 alias original_install_gem_from_spec install_gem_from_spec
135 def install_gem_from_spec(spec, standalone = false, worker = 0)
136+ env_dump = "env/#{spec.name}"
137+ if File.exist?(env_dump)
138+ env = eval(Bundler.read_file(env_dump))
00000139 unless env
140 Bundler.ui.error "The environment variables for #{spec.name} could not be loaded!"
141 exit 1