rubygems-bundler 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -45,14 +45,15 @@ begin
|
|
45
45
|
false
|
46
46
|
ensure
|
47
47
|
Bundler.reset!
|
48
|
+
ENV['BUNDLE_GEMFILE'] = nil
|
48
49
|
end
|
49
50
|
|
50
51
|
def setup
|
51
52
|
log "Noexec"
|
52
|
-
return if %w(bundle rubygems-bundler-uninstaller).include?(File.basename($0))
|
53
|
-
return if ENV['BUNDLE_GEMFILE']
|
53
|
+
return if %w(bundle rubygems-bundler-uninstaller).include?(File.basename($0))
|
54
|
+
return if ENV['BUNDLE_GEMFILE'] && ENV['BUNDLE_BIN_PATH'] && ENV['RUBYOPT']
|
54
55
|
return if %w(0 skip).include?( ENV['NOEXEC'] )
|
55
|
-
gemfile = File.join(CURRENT, "Gemfile")
|
56
|
+
gemfile = ENV['BUNDLE_GEMFILE'] || File.join(CURRENT, "Gemfile")
|
56
57
|
while true
|
57
58
|
if File.exist?(gemfile)
|
58
59
|
log "Examining #{gemfile}"
|
@@ -24,7 +24,7 @@ module RubyGemsBundlerInstaller
|
|
24
24
|
|
25
25
|
def self.shebang(inst, bin_file_name)
|
26
26
|
# options were defined first in 1.5, we want to support back to 1.3.7
|
27
|
-
ruby_name = Gem::ConfigMap[:ruby_install_name] if inst.
|
27
|
+
ruby_name = Gem::ConfigMap[:ruby_install_name] if inst.instance_variable_get(:@env_shebang)
|
28
28
|
bindir = inst.bin_dir ? inst.bin_dir : Gem.bindir(inst.gem_home)
|
29
29
|
path = File.join bindir, inst.formatted_program_filename(bin_file_name)
|
30
30
|
first_line = File.open(path, "rb") {|file| file.gets}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Josh Hull
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-05-
|
19
|
+
date: 2012-05-17 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: dtf
|