Guest User

Untitled

a guest
Apr 20th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. # Be sure to restart your server when you modify this file
  2. # Uncomment below to force Rails into production mode when
  3. # you don't control web/app server and can't set it the proper way
  4. # ENV['RAILS_ENV'] ||= 'production'
  5.  
  6. # Specifies gem version of Rails to use when vendor/rails is not present
  7. RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
  8.  
  9. # Bootstrap the Rails environment, frameworks, and default configuration
  10. require File.join(File.dirname(__FILE__), 'boot')
  11.  
  12. Rails::Initializer.run do |config|
  13. # Settings in config/environments/* take precedence over those specified here.
  14. # Application configuration should go into files in config/initializers
  15. # -- all .rb files in that directory are automatically loaded.
  16. # See Rails::Configuration for more options.
  17. # Skip frameworks you're not going to use (only works if using vendor/rails).
  18. # To use Rails without a database, you must remove the Active Record framework
  19. # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
  20.  
  21. # Only load the plugins named here, in the order given. By default, all plugins
  22. # in vendor/plugins are loaded in alphabetical order.
  23. # :all can be used as a placeholder for all plugins not explicitly named
  24. # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
  25.  
  26. # Add additional load paths for your own custom dirs
  27. # config.load_paths += %W( #{RAILS_ROOT}/extras )
  28.  
  29. # Force all environments to use the same logger level
  30. # (by default production uses :info, the others :debug)
  31. # config.log_level = :debug
  32.  
  33. # Your secret key for verifying cookie session data integrity.
  34. # If you change this key, all old sessions will become invalid!
  35. # Make sure the secret is at least 30 characters and all random,
  36. # no regular words or you'll be exposed to dictionary attacks.
  37. config.action_controller.session = {
  38. :session_key => '_CollabFilter_session',
  39. :secret => 'e7a20913b21980a264ddf344e24bab181755ae1432651498f59ba1b3961d1ffbb3bb6b46b4667c854a212390e3cc4f22bee8ca3f2668b453ff37c6116ef4e6cd'
  40. }
  41.  
  42. # Use the database for sessions instead of the cookie-based default,
  43. # which shouldn't be used to store highly confidential information
  44. # (create the session table with 'rake db:sessions:create')
  45. # config.action_controller.session_store = :active_record_store
  46.  
  47. # Use SQL instead of Active Record's schema dumper when creating the test database.
  48. # This is necessary if your schema can't be completely dumped by the schema dumper,
  49. # like if you have constraints or database-specific column types
  50. # config.active_record.schema_format = :sql
  51.  
  52. # Activate observers that should always be running
  53. # config.active_record.observers = :cacher, :garbage_collector
  54.  
  55. # Make Active Record use UTC-base instead of local time
  56. # config.active_record.default_timezone = :utc
  57.  
  58. USER_LOG = ActiveSupport::BufferedLogger.new("log/user-#{Date.today}_1.log", 1)
  59. USER_LOG.auto_flushing = 5
  60. require 'acts_as_ferret'
  61.  
  62. end
  63.  
  64.  
  65. ERROR
  66.  
  67. /home/derek/apps/city/config/environment.rb:58: uninitialized constant ActiveSupport (NameError)
Add Comment
Please, Sign In to add comment