lib/generators/instance/templates/instance_environment.rb in radiant-1.0.0.rc2 vs lib/generators/instance/templates/instance_environment.rb in radiant-1.0.0.rc3
- old
+ new
@@ -10,22 +10,19 @@
require 'radius'
Radiant::Initializer.run do |config|
# Skip frameworks you're not going to use (only works if using vendor/rails).
# To use Rails without a database, you must remove the Active Record framework
- config.frameworks -= [ :action_mailer ]
+ # config.frameworks -= [ :action_mailer ]
# Only load the extensions named here, in the order given. By default all
# extensions in vendor/extensions are loaded, in alphabetical order. :all
# can be used as a placeholder for all extensions not explicitly named.
# config.extensions = [ :all ]
- # By default, only English translations are loaded. Remove any of these from
- # the list below if you'd like to provide any of the additional options
- config.ignore_extensions [:dutch_language_pack, :french_language_pack, :german_language_pack,
- :italian_language_pack, :japanese_language_pack, :russian_language_pack,
- :debug]
+ # Unload the extensions named here.
+ # config.ignore_extensions []
# Your secret key for verifying cookie session data integrity.
# If you change this key, all old sessions will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
@@ -72,21 +69,13 @@
%{<span class="error-with-field">#{html} <span class="error">#{[instance.error_message].flatten.first}</span></span>}
else
html
end
end
-
- config.gem 'haml', :version => '~> 3.0.24'
- config.gem 'compass', :version => '~> 0.10.6'
- config.gem 'will_paginate', :version => '~> 2.3.11'
- config.gem 'delocalize', :version => '~> 0.2.3'
- config.gem 'paperclip', :version => '~> 2.3.3'
- config.gem 'uuidtools'
- config.gem 'acts_as_list'
config.after_initialize do
# Add new inflection rules using the following format:
ActiveSupport::Inflector.inflections do |inflect|
inflect.uncountable 'config'
end
end
-end
\ No newline at end of file
+end