- Softwrap mode:
- Toggle
Blob of data/hooks/rails_env.rb
(raw blob data)
| 1 | |
| 2 | current_dir = File.expand_path(File.dirname(__FILE__)) |
| 3 | app_root = File.join(current_dir, "../../") |
| 4 | |
| 5 | print "=> Syncing Gitorious... " |
| 6 | $stdout.flush |
| 7 | ENV["RAILS_ENV"] ||= "production" |
| 8 | require File.join(app_root,"/config/environment") |
