public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
dont require redcloth multiple times when the environment.rb file is 
loaded multiple times

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2500 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Nov 22 21:28:15 -0800 2006
commit  17a33c8037bbfa474ef3b78cc90c333dad6e1c5e
tree    4fbe5bc4da990e1ed50c6c8fe4f5a330732dbefa
parent  22f93d28741fe34cfd856af4dbc357bab29c8396
...
12
13
14
15
 
16
17
18
...
12
13
14
 
15
16
17
18
0
@@ -12,7 +12,7 @@
0
 require File.join(File.dirname(__FILE__), 'boot')
0
 
0
 # requires vendor-loaded redcloth
0
-require 'RedCloth-3.0.4/lib/redcloth'
0
+require 'RedCloth-3.0.4/lib/redcloth' unless Object.const_defined?(:RedCloth)
0
 Rails::Initializer.run do |config|
0
   # Settings in config/environments/* take precedence those specified here
0
   

Comments

    No one has commented yet.