summaryrefslogtreecommitdiff
path: root/config/environment.rb
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
committergitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
commit9ba1224867665844b117fa037e1465bb706b3685 (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /config/environment.rb
parent93efff945215a4407afcaf0cba15ac601b56df0d (diff)
downloadgitlab-ce-9ba1224867665844b117fa037e1465bb706b3685.tar.gz
init commit
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
new file mode 100644
index 00000000000..1c2d723e18b
--- /dev/null
+++ b/config/environment.rb
@@ -0,0 +1,7 @@
+# Load the rails application
+require File.expand_path('../application', __FILE__)
+
+# Initialize the rails application
+Gitlab::Application.initialize!
+
+require File.join(Rails.root, "lib", "gitosis")