Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 206
- Log:
Initial import of Gullery, an open source photo gallery:
http://nubyonrails.com/pages/gullery
- Author:
- rool
- Date:
- Sun May 20 19:05:59 +0100 2007
- Size:
- 548 Bytes
1 | # Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb |
2 | |
3 | unless defined?(RAILS_ROOT) |
4 | root_path = File.join(File.dirname(__FILE__), '..') |
5 | unless RUBY_PLATFORM =~ /mswin32/ |
6 | require 'pathname' |
7 | root_path = Pathname.new(root_path).cleanpath(true).to_s |
8 | end |
9 | RAILS_ROOT = root_path |
10 | end |
11 | |
12 | if File.directory?("#{RAILS_ROOT}/vendor/rails") |
13 | require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" |
14 | else |
15 | require 'rubygems' |
16 | require 'initializer' |
17 | end |
18 | |
19 | Rails::Initializer.run(:set_load_path) |