bundler-bootstrap 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/bundler-bootstrap +5 -4
- metadata +2 -2
data/bin/bundler-bootstrap
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
3
|
if (system "which curl")
|
|
4
|
-
system %{curl -O https://raw.github.com/jfreeze/Bundler-Bootstrap/master/Gemfile}
|
|
5
|
-
system %{mkdir .bundle; (cd .bundle; curl -O https://raw.github.com/jfreeze/Bundler-Bootstrap/master/.bundle/config)}
|
|
4
|
+
system %{curl -O https://raw.github.com/jfreeze/Bundler-Bootstrap-Data/master/Gemfile}
|
|
5
|
+
system %{mkdir .bundle; (cd .bundle; curl -O https://raw.github.com/jfreeze/Bundler-Bootstrap-Data/master/.bundle/config)}
|
|
6
6
|
elsif (system "which wget")
|
|
7
|
-
system %{wget --no-check-certificate https://raw.github.com/jfreeze/Bundler-Bootstrap/master/Gemfile}
|
|
8
|
-
system %{mkdir .bundle; (cd .bundle; wget --no-check-certificate https://raw.github.com/jfreeze/Bundler-Bootstrap/master/.bundle/config)}
|
|
7
|
+
system %{wget --no-check-certificate https://raw.github.com/jfreeze/Bundler-Bootstrap-Data/master/Gemfile}
|
|
8
|
+
system %{mkdir .bundle; (cd .bundle; wget --no-check-certificate https://raw.github.com/jfreeze/Bundler-Bootstrap-Data/master/.bundle/config)}
|
|
9
9
|
else
|
|
10
10
|
puts "Cannot install bundle bootstrap. Cannot find 'curl' or 'wget'"
|
|
11
11
|
end
|
|
12
|
+
|