[cairo] [PATCH 1/7] Use RbConfig instead of deprecated Config
Nikolai Weibull
now at bitwi.se
Fri Sep 16 01:32:39 PDT 2011
---
lib/cairo.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/cairo.rb b/lib/cairo.rb
index 6c6d5c2..3f7f687 100644
--- a/lib/cairo.rb
+++ b/lib/cairo.rb
@@ -12,7 +12,7 @@ if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
else
require 'rbconfig'
ENV['PATH'] = %w(bin lib).collect do |dir|
- "#{Config::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
+ "#{RbConfig::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
end.join('') + ENV['PATH']
end
end
--
1.7.5.1
More information about the cairo
mailing list