rb2exe 0.1.55 → 0.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rb2exe +2 -2
- data/lib/rb2exe/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: fba9e4189ba905da321ce5c16b0f4227d51a8023
|
4
|
+
data.tar.gz: 5bd31698f6ff0971eec23d6f0b04b5b2fe1f022b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e722e897a946cf1240c1f0e591f6dd067f5c18a869792746c4d0efad1d0c1defe819cad7239cbed4be7938897e0c7959748709523e4048680eee91c089a859ad
|
7
|
+
data.tar.gz: 3a4fc0f9eed0d3bc374d32f4df92e2cd10acfb9681a3548a45706af48bc561170724c8f92f3a58544790aa068d9317fdcd6b019670bb3f306d674cf0f993aea8
|
data/bin/rb2exe
CHANGED
@@ -81,7 +81,7 @@ Dir.mktmpdir do |tmp_dir|
|
|
81
81
|
puts "Gemfile detected. Loading gems." unless options[:quiet]
|
82
82
|
FileUtils.mkdir_p("#{tmp_dir}/payload/lib/tmp") # Create a "tmp" folder on ".package/payload/lib"
|
83
83
|
FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile", "#{tmp_dir}/payload/lib/tmp/") # Copy the project Gemfile to tmp
|
84
|
-
FileUtils.
|
84
|
+
FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/tmp/") if File.exists?("#{tmp_dir}/payload/lib/app/Gemfile.lock")
|
85
85
|
# Download gems into the "lib/vendor" folder
|
86
86
|
Bundler.with_clean_env do
|
87
87
|
Dir.chdir("#{tmp_dir}/payload/lib/app") do
|
@@ -91,7 +91,7 @@ Dir.mktmpdir do |tmp_dir|
|
|
91
91
|
FileUtils.rm_rf("#{tmp_dir}/payload/lib/tmp/") # Delete tmp folder
|
92
92
|
%x[cd #{tmp_dir}/payload/lib/ && rm -f vendor/*/*/cache/*] # Delete gem's cache in the vendor folder
|
93
93
|
FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile", "#{tmp_dir}/payload/lib/vendor/") # Copy the Gemfile to the vendor folder
|
94
|
-
FileUtils.
|
94
|
+
FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/vendor/") if File.exists?("#{tmp_dir}/payload/lib/app/Gemfile.lock")
|
95
95
|
# Create a bundler config
|
96
96
|
FileUtils.mkdir_p("#{tmp_dir}/payload/lib/vendor/.bundle")
|
97
97
|
FileUtils.cp("#{gem_dir}/lib/bundler-config", "#{tmp_dir}/payload/lib/vendor/.bundle/config")
|
data/lib/rb2exe/version.rb
CHANGED