bundler-bootstrap 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
+
|