Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2014-12-04 16:52:14 +0300
committerJonne Haß <me@jhass.eu>2014-12-04 16:52:14 +0300
commit50a3f03bfc089256858541fddac8d3aa6c0cdf4f (patch)
tree37c6954dfbc6aba16a6bed42d391f70a34ddcf5d /script
parent339111867e4d9e2d3878991f48c3eb20b47c1066 (diff)
Rails is a module
Diffstat (limited to 'script')
-rwxr-xr-xscript/get_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/get_config.rb b/script/get_config.rb
index 32ec9eab7..a9197096d 100755
--- a/script/get_config.rb
+++ b/script/get_config.rb
@@ -15,7 +15,7 @@ require 'active_support/core_ext/class/attribute_accessors'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/module/delegation'
-class Rails
+module Rails
def self.root
@@root ||= Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), "..")))
end