Created
March 13, 2012 02:02
-
-
Save anonymous/2026140 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path('../boot', __FILE__) | |
| require 'rails/all' | |
| # If you have a Gemfile, require the gems listed there, including any gems | |
| # you've limited to :test, :development, or :production. | |
| Bundler.require(:default, Rails.env) if defined?(Bundler) | |
| puts "Bundler Requires Complete at :#{Time.now}" | |
| REST_AUTH_SITE_KEY = 'f5945d1c74d3502f8a3de85hl62e5bf21fe3fec887' | |
| REST_AUTH_DIGEST_STRETCHES = 10 | |
| module Oma30 | |
| 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. | |
| # Custom directories with classes and modules you want to be autoloadable. | |
| config.action_controller.logger = Logger.new(STDOUT) | |
| # config.autoload_paths += %W(#{config.root}/workers #{config.root}/lib) | |
| # config.autoload_paths << Rails.root.join("app").to_s | |
| config.autoload_paths << Rails.root.join("lib").to_s | |
| config.autoload_paths << Rails.root.join("workers").to_s | |
| config.action_view.javascript_expansions[:defaults] = %w(jquery rails) | |
| # 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 ] | |
| config.middleware.use Rack::Cache, | |
| :verbose => true, | |
| :metatstore => "file:/tmp/cache/rack/meta", | |
| :entitystore => "file:/tmp/cache/rack/body", | |
| :allow_reload => false, | |
| :allow_revalidate => false | |
| # 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)' | |
| config.time_zone = 'UTC' | |
| config.active_record.default_timezone = :utc | |
| config.action_controller.cache_store = :memory_store | |
| # 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}').to_s] | |
| # config.i18n.default_locale = :de | |
| # JavaScript files you want as :defaults (application.js is always included). | |
| # config.action_view.javascript_expansions[:defaults] = %w(jquery rails) | |
| # Configure the default encoding used in templates for Ruby 1.9. | |
| config.encoding = "utf-8" | |
| # Configure sensitive parameters which will be filtered from the log file. | |
| config.filter_parameters += [:password] | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is used by Rack-based servers to start the application. | |
| require ::File.expand_path('../config/environment', __FILE__) | |
| run Oma30::Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Load the rails application | |
| require File.expand_path('../application', __FILE__) | |
| # Initialize the rails application | |
| puts "BEFORE INITIALIZE APPLICATION" | |
| Oma30::Application.initialize! | |
| puts "AFTER INITIALIZE APPLICATION" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :rubygems | |
| source 'http://gems.github.com/' | |
| group :backend do | |
| gem "pismo" | |
| gem 'anemone', :require => false | |
| gem "http_parser.rb", "~> 0.5.1", :require => false | |
| gem 'em-socksify', :require => false | |
| # attempting to find a parallel gem that will help with retrieval io time | |
| gem 'parallel', :require => false | |
| gem 'koala' , :git => "git://github.com/noverloop/koala.git" | |
| # opportunity pipeline | |
| gem 'eventmachine', :require => false | |
| gem 'redfinger', :require => false | |
| gem 'em-synchrony', :require => false | |
| # gem 'rapleaf_api', :require => false | |
| gem "grapi", :require => false | |
| gem 'loofah', :require => false | |
| gem 'phrasie', :require => false | |
| gem 'openamplify', :require => false | |
| end | |
| group :default do | |
| gem "utf8_utils" | |
| gem 'oauth', :require => false | |
| gem 'oauth-plugin', :require => false | |
| gem 'iron_worker' | |
| gem 'faraday_middleware' | |
| gem 'postrank-uri' | |
| gem 'rack-cache' | |
| # layout | |
| gem 'haml' | |
| gem "compass" | |
| gem 'url2png' | |
| gem 'formtastic', "~> 1.1.0" | |
| gem 'rd_searchlogic', :require => 'searchlogic', :git => 'git://github.com/railsdog/searchlogic.git' | |
| # mongo | |
| gem 'bson_ext' | |
| gem 'bson' | |
| gem 'mongoid' | |
| # pagination | |
| gem 'kaminari' | |
| # parsing | |
| gem 'nokogiri' | |
| gem "diffy", :require => false | |
| # adwords gems | |
| gem 'psych' | |
| gem 'google-client_login', '1.1.2', :require => false | |
| # base gems | |
| gem 'rails', '3.0.11' | |
| gem 'pg' | |
| gem 'acts_as_commentable', :require => "acts_as_commentable" | |
| gem 'prawn', :require => false | |
| gem 'paperclip', "~> 2.3" | |
| gem 'gravtastic' | |
| gem 'rake' | |
| gem 'recurly', '~> 2.0.10' | |
| # gem 'moneta' | |
| gem 'yajl-ruby', :require => "yajl" | |
| gem 'jquery-rails', '>= 1.0.12' | |
| # compatibility versions | |
| gem 'awesome_print', :require => "ap" | |
| # UTF8 encoding fixes | |
| # gem 'utf8_utils' | |
| # URL parsing | |
| gem "public_suffix" | |
| # Crawler Gems | |
| gem 'whois', :require => false | |
| gem 'stemmer', :require => false | |
| gem 'prism', :require => false | |
| gem 'unicode' | |
| gem 'typhoeus', '0.3.3' ### For EC2 boxes | |
| gem "redis" | |
| gem 'addressable' | |
| gem "zip", "~> 2.0.2" | |
| gem 'retryable' | |
| gem 'socialcount' , :require => false | |
| # logging | |
| gem 'remote_syslog' | |
| # API Access GEMS | |
| gem 'json' | |
| gem 'linkscape' , :require => false | |
| gem "twitter"# upgrade to 2.0 to get better batch processing , "~> 1.7.2" | |
| gem "googlepagerank" | |
| gem 'ruby-openid', :require => 'openid' | |
| gem 'topsy', :require => false | |
| gem 'alexa' | |
| gem "linkedin", "~> 0.3.2", :require => false | |
| gem 'simple_youtube', :require => false | |
| # graph | |
| gem 'rest-client' | |
| gem 'vpim', :require => false | |
| gem 'calais', :require => false | |
| gem 'acts-as-taggable-on' , "~> 2.1.1" | |
| gem 'googlecharts', :require => 'gchart' | |
| gem 'rbing', :require => false | |
| gem 'net-dns' | |
| # local | |
| #gem 'geocoder', :require => false | |
| #gem "google_places", :require => false | |
| # import export | |
| gem 'fastercsv', :require => false | |
| # gem 'csv-mapper', :require => false | |
| # gem 'texticle', :require => false | |
| # duplicates | |
| gem "simhash", :require => false | |
| # Classification | |
| # gem 'bayes_motel', :require => false | |
| # gem 'clusterer', :require => false | |
| gem 'sanitize', :require => false | |
| gem "ap", :require => false | |
| # gem "ruby_reddit_api", "~> 0.2.6", :require => false | |
| gem 'ruby-openid', :require => 'openid' | |
| # Link Processing | |
| gem 'majesticseo', :require => false | |
| #charting | |
| gem 'gchartrb', :require => false | |
| # AMAZON | |
| gem 'amazon-ec2', :require => "AWS" | |
| gem 'aws-s3', :require => "aws/s3" | |
| gem 'aws' | |
| # web server | |
| gem 'thin' | |
| # new cedar stack | |
| gem 'foreman' | |
| # gem 'newrelic_rpm' | |
| # gem 'newrelic_rpm' | |
| # gem "rack-timeout" | |
| # Testing GEMS, can be removed unless specifically mentioend to keep | |
| # gem 'twitter-stream' | |
| # gem 'text', :require => false | |
| # gem 'socialcount', :require => false | |
| # routing | |
| gem 'subdomain-fu', :git => "git://github.com/nhowell/subdomain-fu.git" | |
| gem 'garb', :require => false | |
| gem 'aasm', :require => "aasm" | |
| gem 'gibbler', :require => false #consistent hashes, hashes are not consistent session to session in ruby 1.9, | |
| gem 'crewait', :require => false | |
| gem 'feed-normalizer', :require => false | |
| end | |
| group :production do | |
| gem 'exceptional' | |
| # gem "new_relic" | |
| end | |
| group :development do | |
| gem 'rb-fsevent' | |
| gem 'heroku' | |
| end | |
| group :test do | |
| gem 'rspec', '2.6.0' | |
| gem 'rspec-core', '2.6.4' | |
| gem 'rspec-expectations', '2.6.0' | |
| gem 'rspec-mocks','2.6.0' | |
| end | |
| gem "engtagger", :require => false | |
| gem "google-adwords-api", :require => false | |
| gem 'bing_translate', :git => "git://github.com/chrishein/bing_translate.git", :require => false | |
| # HIGH MEMORY GEMS eliminated | |
| # NOT VALID FOR RAILS3 | |
| # gem 'validates_url_format_of', '0.1.1' | |
| # gem 'formtastic', '~> 1.1.0' | |
| # gem 'ar-extensions', "~> 0.9.5" | |
| # gem 'searchlogic', '2.5.6' | |
| # gem 'mongoid', :git => "git://github.com/mongoid/mongoid.git", :branch => "legacy", :tag => 'v1.9.5' | |
| # gem 'bson_ext' , '1.3.1' | |
| # gem 'bson' | |
| # gem "validatable", "~> 1.6.7" | |
| # gem "fake_arel" | |
| # gem 'rake', '0.8.7' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment