Skip to content

Commit

Permalink
Update rails defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Nov 30, 2008
1 parent 0b8f053 commit 94c1203
Show file tree
Hide file tree
Showing 6 changed files with 774 additions and 671 deletions.
4 changes: 2 additions & 2 deletions config/boot.rb
Expand Up @@ -67,7 +67,7 @@ def load_rails_gem

class << self
def rubygems_version
Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
Gem::RubyGemsVersion rescue nil
end

def gem_version
Expand All @@ -82,7 +82,7 @@ def gem_version

def load_rubygems
require 'rubygems'
min_version = '1.1.1'
min_version = '1.3.1'
unless rubygems_version >= min_version
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
exit 1
Expand Down
1 change: 0 additions & 1 deletion config/environments/production.rb
Expand Up @@ -10,7 +10,6 @@
# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_view.cache_template_loading = true

# Use a different cache store in production
# config.cache_store = :mem_cache_store
Expand Down

0 comments on commit 94c1203

Please sign in to comment.