octopress 3.0.3.alpha.0 → 3.0.3.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octopress/version.rb +1 -1
- data/lib/octopress.rb +9 -7
- 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: edd34d6b0115fb7d985fc400cacebdcd8d69bc5d
|
4
|
+
data.tar.gz: c49c55abbadf9769f01e0397c83072369c041c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15bf1a0529dec213d4b33f4cf3e107e893296c9ac336b4b183cf9c289b131f65f786593df4c47679107dedcc0c4f96e996542e1029d1b70f81c6902ecc56ec9f
|
7
|
+
data.tar.gz: 719465356587779ee8c888e94f22614efacfd95f39b7cf8cef627d7b229e8d0513b80bb8eced616d0140fd64337aed174134910477b18048b5c8fb74fd5b95d5
|
data/lib/octopress/version.rb
CHANGED
data/lib/octopress.rb
CHANGED
@@ -101,16 +101,18 @@ module Octopress
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def self.require_gems
|
104
|
-
if !ENV["
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
104
|
+
if !ENV["OCTOPRESS_NO_BUNDLER_REQUIRE"] && File.file?("Gemfile")
|
105
|
+
begin
|
106
|
+
require "bundler"
|
107
|
+
Bundler.setup # puts all groups on the load path
|
108
|
+
Bundler.require(:octopress)
|
109
|
+
true
|
110
|
+
rescue LoadError, Bundler::GemfileNotFound
|
111
|
+
false
|
112
|
+
end
|
109
113
|
else
|
110
114
|
false
|
111
115
|
end
|
112
|
-
rescue LoadError, Bundler::GemfileNotFound
|
113
|
-
false
|
114
116
|
end
|
115
117
|
end
|
116
118
|
|