Archive: ComponentOwl Rails app, DB backups, go redirect script

This commit is contained in:
EC2 Default User
2026-03-23 16:20:05 +00:00
commit 50037f386f
218 changed files with 14558 additions and 0 deletions

62
config/environment.rb Normal file
View File

@@ -0,0 +1,62 @@
# Be sure to restart your server when you modify this file
#ENV['GEM_PATH'] = '/home/rulor_com/.gems:/home/jirinovotny/.gems:/usr/lib/ruby/gems/1.8'
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
# 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( #{RAILS_ROOT}/extras )
# Specify gems that this application depends on and have them installed with rake gems:install
# config.gem "bj"
# config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
# config.gem "sqlite3-ruby", :lib => "sqlite3"
# config.gem "aws-s3", :lib => "aws/s3"
config.gem 'mysql'
config.gem 'fastercsv'
config.gem 'searchlogic', :version => '~> 2.4.25'
config.gem 'authlogic', :version => '2.1.6'
config.gem 'less', :version => '~> 1.2.21'
config.gem 'settingslogic'
config.gem 'exception_notification', :version => '2.3.3.0'
config.gem 'twitter4r', :lib => 'twitter', :version => '~> 0.5.1'
config.gem 'httparty'
config.gem "ezcrypto", :version => '~> 0.7.2'
config.gem 'will_paginate', :version => '~> 2.3.12'
config.gem "aws-s3", :lib => "aws/s3"
config.gem "db2s3", :source => "http://gemcutter.org"
config.gem "foresth-cloudfront_asset_host", :lib => "cloudfront_asset_host", :version => '>= 1.0.6.3'
config.gem 'nokogiri', :version => '~> 1.4.3.1'
config.gem 'foresth-ar_mailer', :lib => 'action_mailer/ar_mailer', :version => '~> 2.1.8'
config.gem 'unicorn'
# 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 ]
# Skip frameworks you're not going to use. To use Rails without a database,
# you must remove the Active Record framework.
# config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
# 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.
# config.time_zone = 'UTC'
# 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 = :en
config.action_controller.page_cache_directory = "#{Rails.root}/public/cache"
end