rb2exe 0.1.54 → 0.1.55
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: 1dc9b1766408e235ba1d6a8912e9daee707a98c9
|
4
|
+
data.tar.gz: 8cbeb5e534be931adb38688125ece3a95b22cb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 660cff9600e196da0b1d026a2f5c5d39df137f322d9b2a7a171d08f9a6891a7c2821edca756b614e75002ef8cb3eeec83ec1bc3b08b303bfaa6dfcb00a92601d
|
7
|
+
data.tar.gz: 1e06bdb44c84daad9ffe3e21ff6bbc2bbf0b47e081a93882a435411071aff850c2e0e1a1be4cf3dd581f219d68f3ed570cc5ef03fc8ae0506fa69280f1f54f87
|
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_r("#{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_r("#{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