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
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
add a version string, fix rake db:bootstrap to create the log before an 
error

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@1990 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Sat Sep 02 19:46:55 -0700 2006
commit  26e849d40a5b40cb207afb0809c97062831f6840
tree    4ef9df045bdf78b5f419f8f76d95e14891fbe022
parent  58e5614d15a8460c85670840c414b054061f98ee
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 * SVN *
0
 
0
+* 0.6.1 *
0
+
0
 * Use ActionController::AbstractRequest.relative_url_root for sites under a root path like /blog
0
 
0
 * fix odd timezone bug when saving articles
...
36
37
38
39
 
40
41
42
...
36
37
38
 
39
40
41
42
0
@@ -36,7 +36,7 @@ end
0
 # Include your application configuration below
0
 require 'mephisto_init'
0
 
0
-# Set this if you're running on a root path
0
+# Set this if you're running under a sub directory
0
 # ActionController::AbstractRequest.relative_url_root = '/blog'
0
 
0
 # turn this on to get detailed cache sweeper logging in production mode
...
1
2
3
 
 
 
4
5
6
...
9
10
11
12
13
14
15
16
 
17
18
19
...
1
2
 
3
4
5
6
7
8
...
11
12
13
 
 
14
15
 
16
17
18
19
0
@@ -1,6 +1,8 @@
0
 namespace :db do
0
   desc "Loads a schema.rb file into the database and then loads the initial database fixtures."
0
- task :bootstrap => ['db:schema:load', 'db:bootstrap:load'] do
0
+ task :bootstrap do
0
+ mkdir_p File.join(RAILS_ROOT, 'log')
0
+ %w(environment db:schema:load db:bootstrap:load tmp:create).each { |t| Rake::Task[t].execute }
0
     site_dir = File.join(RAILS_ROOT, 'themes/site-1')
0
     if File.exists?(site_dir)
0
       puts "skipping default theme creation..."
0
@@ -9,11 +11,9 @@ namespace :db do
0
       puts "copied default theme to #{site_dir}..."
0
     end
0
     
0
- mkdir_p File.join(RAILS_ROOT, 'log')
0
-
0
     puts
0
     puts '=' * 80
0
- puts "Thank you for trying out Mephisto 0.6: Immortus Edition!"
0
+ puts "Thank you for trying out Mephisto #{Mephisto::Version::STRING}: #{Mephisto::Version::TITLE} Edition!"
0
     puts
0
     puts "Now you can start the application with script/server, visit "
0
     puts "http://mydomain.com/admin, and log in with admin / test."

Comments

    No one has commented yet.