public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
Johan Sørensen (author)
Mon Apr 28 12:11:49 -0700 2008
commit  35ad4575858b22e34b6a4426e6d933d7b0a0c9a9
tree    9114d29bfed6eaa65da43d7e46713cdce5cd52f0
parent  d3372aaf74ae26643e03e11f2cccdb9d65849457
gitorious / data / hooks / rails_env.rb
100644 10 lines (6 sloc) 0.233 kb
1
2
3
4
5
6
7
8
9
10
current_dir = File.expand_path(File.dirname(__FILE__))
app_root = File.join(current_dir, "../../")
 
print "=> Syncing Gitorious... "
$stdout.flush
ENV["RAILS_ENV"] ||= "production"
require File.join(app_root,"/config/environment")