autoproj 2.0.0.rc8 → 2.0.0.rc9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/autoproj_bootstrap +2 -2
- data/bin/autoproj_bootstrap.in +1 -1
- data/bin/autoproj_install +1 -1
- data/lib/autoproj/ops/install.rb +1 -1
- data/lib/autoproj/package_managers/bundler_manager.rb +4 -1
- data/lib/autoproj/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1df5021c43b37d6c5518d493f79fbbaea9f2521
|
4
|
+
data.tar.gz: 0d9eed9c7fa03564259281202ecaba4bf984ef75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6acb320695ee6c3991275a4aec2c89a8a5e445888a74d2f0bea7b520f62894f3f7721b6a32fcb1112cf7cf301393f47db0a39b1adda41597ba3026b3ba948e38
|
7
|
+
data.tar.gz: 3fffc2abaa6b8b5eff4bd4e14f9b6c0884f1e6f3a1c27bd272062319cd1c4446cc1f673c656703c985e4a51286fb3fe30b5a065cc8937c0a5da59c51445c5763
|
data/bin/autoproj_bootstrap
CHANGED
@@ -240,7 +240,7 @@ module Autoproj
|
|
240
240
|
def install_autoproj(bundler)
|
241
241
|
# Force bundler to update. If the user does not want this, let him specify a
|
242
242
|
# Gemfile with tighter version constraints
|
243
|
-
lockfile = File.join(
|
243
|
+
lockfile = File.join(autoproj_install_dir, 'Gemfile.lock')
|
244
244
|
if File.exist?(lockfile)
|
245
245
|
FileUtils.rm lockfile
|
246
246
|
end
|
@@ -437,7 +437,7 @@ end
|
|
437
437
|
ENV.delete('BUNDLE_GEMFILE')
|
438
438
|
ENV.delete('RUBYLIB')
|
439
439
|
ops = Autoproj::Ops::Install.new(Dir.pwd)
|
440
|
-
ops.parse_options(ARGV)
|
440
|
+
bootstrap_options = ops.parse_options(ARGV)
|
441
441
|
ops.stage1
|
442
442
|
|
443
443
|
# we assume that Install#run loads bundler and autobuild. Load autoproj and run
|
data/bin/autoproj_bootstrap.in
CHANGED
@@ -10,7 +10,7 @@ AUTOPROJ_OPS_INSTALL
|
|
10
10
|
ENV.delete('BUNDLE_GEMFILE')
|
11
11
|
ENV.delete('RUBYLIB')
|
12
12
|
ops = Autoproj::Ops::Install.new(Dir.pwd)
|
13
|
-
ops.parse_options(ARGV)
|
13
|
+
bootstrap_options = ops.parse_options(ARGV)
|
14
14
|
ops.stage1
|
15
15
|
|
16
16
|
# we assume that Install#run loads bundler and autobuild. Load autoproj and run
|
data/bin/autoproj_install
CHANGED
@@ -240,7 +240,7 @@ module Autoproj
|
|
240
240
|
def install_autoproj(bundler)
|
241
241
|
# Force bundler to update. If the user does not want this, let him specify a
|
242
242
|
# Gemfile with tighter version constraints
|
243
|
-
lockfile = File.join(
|
243
|
+
lockfile = File.join(autoproj_install_dir, 'Gemfile.lock')
|
244
244
|
if File.exist?(lockfile)
|
245
245
|
FileUtils.rm lockfile
|
246
246
|
end
|
data/lib/autoproj/ops/install.rb
CHANGED
@@ -233,7 +233,7 @@ def find_bundler
|
|
233
233
|
def install_autoproj(bundler)
|
234
234
|
# Force bundler to update. If the user does not want this, let him specify a
|
235
235
|
# Gemfile with tighter version constraints
|
236
|
-
lockfile = File.join(
|
236
|
+
lockfile = File.join(autoproj_install_dir, 'Gemfile.lock')
|
237
237
|
if File.exist?(lockfile)
|
238
238
|
FileUtils.rm lockfile
|
239
239
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'bundler'
|
1
2
|
module Autoproj
|
2
3
|
module PackageManagers
|
3
4
|
# Package manager interface for the RubyGems system
|
@@ -32,7 +33,7 @@ def initialize_environment
|
|
32
33
|
env.init_from_env 'GEM_PATH'
|
33
34
|
env.system_env['GEM_PATH'] = Gem.default_path
|
34
35
|
|
35
|
-
if env.original_env['GEM_HOME'].empty?
|
36
|
+
if (env.original_env['GEM_HOME'] || '').empty?
|
36
37
|
env.unset('GEM_HOME')
|
37
38
|
end
|
38
39
|
|
@@ -200,6 +201,7 @@ def install(gems)
|
|
200
201
|
end
|
201
202
|
|
202
203
|
def discover_rubylib
|
204
|
+
require 'bundler'
|
203
205
|
Tempfile.open 'autoproj-rubylib' do |io|
|
204
206
|
result = Bundler.clean_system(
|
205
207
|
Hash['RUBYLIB' => nil],
|
@@ -213,6 +215,7 @@ def discover_rubylib
|
|
213
215
|
end
|
214
216
|
|
215
217
|
def discover_bundle_rubylib
|
218
|
+
require 'bundler'
|
216
219
|
gemfile = File.join(ws.prefix_dir, 'gems', 'Gemfile')
|
217
220
|
Tempfile.open 'autoproj-rubylib' do |io|
|
218
221
|
result = Bundler.clean_system(
|
data/lib/autoproj/version.rb
CHANGED