From 56039cc595a389fd739f98fb47be0d6f9be12ea5 Mon Sep 17 00:00:00 2001 From: Eugene Korbut Date: Sun, 19 Apr 2009 02:42:14 +1100 Subject: [PATCH] README update --- README | 14 ++++---------- config/environment.rb | 2 ++ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README b/README index 8e41e2b..0030f04 100644 --- a/README +++ b/README @@ -2,17 +2,13 @@ Installation Guide Requirements - * Ruby 1.8.2 or higher - * Rails 0.14.2 - * MySQL or PostgreSQL with Ruby bindings - * Ruby-GetText? 0.8.0 or higher (http://ponx.s5.xrea.com/hiki/ruby-gettext.html) + * Ruby 1.8.7 + * Rails 2.2.2 Installation 1. Checkout the source code - 2. Create database called mailr. Create the database schema using db/schema.mysql.sql or db/schema.pgsql.sql - 3. Change the config/database.yml to reflect your newly created database configuration - 4. If you need to override some of the default constants used in the application take a look at config/default_site.rb. Then create config/site.rb that contains only the keys which you want to override. Example content of config/site.rb is: + 2. If you need to override some of the default constants used in the application take a look at config/default_site.rb. Then create config/site.rb that contains only the keys which you want to override. Example content of config/site.rb is: module CDF @@ -21,6 +17,4 @@ Installation } end - - 5. Start your web server and login in the application with your IMAP user and password. - + 3 Use it diff --git a/config/environment.rb b/config/environment.rb index ebbca64..679cefa 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -4,6 +4,8 @@ # (Use only when you can't set environment variables through your web/app server) # ENV['RAILS_ENV'] = 'production' +RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION + # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot')