gem_liux1 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gem_liux1/version.rb +1 -1
- data/lib/gem_liux1.rb +3 -6
- metadata +3 -3
data/lib/gem_liux1/version.rb
CHANGED
data/lib/gem_liux1.rb
CHANGED
@@ -14,15 +14,12 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
testall_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'stylesheets'))
|
17
|
+
ENV['SASS_PATH'] ||= ''
|
17
18
|
begin
|
18
19
|
require 'compass'
|
19
20
|
Compass::Frameworks.register('testall', :stylesheets_directory => testall_stylesheets_path)
|
20
21
|
rescue LoadError
|
21
|
-
# compass not found, register on the Sass path via the environment.
|
22
|
-
if ENV.has_key?("SASSPATH")
|
23
|
-
ENV["SASSPATH"] = ENV["SASSPATH"] + File::PATH_SEPARATOR + testall_stylesheets_path
|
24
|
-
else
|
25
|
-
ENV["SASSPATH"] = testall_stylesheets_path
|
26
|
-
end
|
27
22
|
end
|
23
|
+
# compass not found, register on the Sass path via the environment.
|
24
|
+
ENV['SASS_PATH'] += File::PATH_SEPARATOR + true_stylesheets_path
|
28
25
|
|
metadata
CHANGED