Skip to content

Instantly share code, notes, and snippets.

@lloydk
Created April 27, 2010 01:37
Show Gist options
  • Save lloydk/380198 to your computer and use it in GitHub Desktop.
Save lloydk/380198 to your computer and use it in GitHub Desktop.
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Auto-require default libraries and those for the current Rails environment.
Bundler.require :default, Rails.env
module Adedia
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Add additional load paths for your own custom dirs
# config.load_paths += %W( #{config.root}/extras )
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
# config.i18n.default_locale = :de
# Configure generators values. Many other options are available, be sure to check the documentation.
# config.generators do |g|
# g.orm :active_record
# g.template_engine :erb
# g.test_framework :test_unit, :fixture => true
# end
config.generators do |g|
g.template_engine :erb
g.test_framework :rspec, :fixture => true, :views => false
g.fixture_replacement :factory_girl, :dir => "spec/factories"
end
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters << :password
end
end
source 'http://gemcutter.org'
## Bundle edge rails:
gem "rails", :git => "git://github.com/rails/rails.git"
gem "mysql"
gem "haml", :git => "git://github.com/nex3/haml.git"
gem "compass", "0.10.0.rc2"
gem "show_for", :git => "git://github.com/plataformatec/show_for.git"
gem "simple_form", :git => "git://github.com/plataformatec/simple_form.git"
gem "responders", :git => "git://github.com/plataformatec/responders.git"
## Bundle the gems you use:
# gem "bj"
# gem "hpricot", "0.6"
# gem "sqlite3-ruby", :require => "sqlite3"
# gem "aws-s3", :require => "aws/s3"
## Bundle gems used only in certain environments:
#gem "rspec", :group => :test
group :test do
gem "rspec", "2.0.0.beta.7", :require => nil
# gem "factory_girl", :git => "git://github.com/thoughtbot/factory_girl.git", :branch => "rails3"
gem 'factory_girl', :git => 'git://github.com/szimek/factory_girl.git', :branch => 'rails3'
gem "rspec-rails", "2.0.0.beta.7", :require => nil
gem 'remarkable', '>=4.0.0.alpha1'
gem 'remarkable_activemodel', '>=4.0.0.alpha1'
gem 'remarkable_activerecord', '>=4.0.0.alpha1'
end
group :development do
gem "rspec-rails", "2.0.0.beta.7"
gem "rails3-generators"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment