rb2exe 0.1.53 → 0.1.54
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: 13f33678bf0b344ddcbe1e0803726859d1b29cb1
|
4
|
+
data.tar.gz: 303221a6fc9dbf38a43932a4ac1ebe255c75c92d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c05dbc25a292d393385235f20b7a45f68556033afdcaf2ff47781ed21200da2af34bec3aa4716b1a8f83fa415bfe6dea1e1c9201a571ea0205fd910cbd05bad
|
7
|
+
data.tar.gz: 8fe616d326382fe7f4f5a6addb58045fd8fe283cbe0737460f47625f452ceb8d993f370875a1c2466402df7b3f679daaea45176655736bfb572e3ede4dd89591
|
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_rf("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/tmp/")
|
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_rf("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/vendor/")
|
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