how do i know which is line 22 On Wed, Dec 8, 2010 at 2:58 PM, Vamsi Krishna <li...@ruby-forum.com> wrote:
> Kannav R. wrote in post #967147: > > paste here yours > > D:/vamsi/config/environment.rb:22 > > > > On Wed, Dec 8, 2010 at 2:12 PM, Vamsi Krishna <li...@ruby-forum.com> > > wrote: > > > >> > > >> D:/vamsi/vendor/rai > >> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in > >> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > >> ls/activesupport/lib/active_support/dependencies.rb:156:in `require' > >> `require' > >> vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb' > >> D:/vamsi/config/../ > >> vendor/rails/railties/lib/initializer.rb:113:in `run' > >> ls/activesupport/lib/active_support/dependencies.rb:521:in > >> `invoke_with_call_c > >> `invoke_prerequisit > >> `invoke_task' > >> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' > >> > >> > > -- > > Thanks: > > Rajeev sharma > > +919013155133 > Here it is: > > > 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. > # See Rails::Configuration for more options. > > # Skip frameworks you're not going to use. To use Rails without a dat > abase > # you must remove the Active Record framework. > # config.frameworks -= [ :active_record, :active_resource, > :action_mailer ] > > # Specify gems that this application depends on. > # They can then be installed with "rake gems:install" on new > installations. > # You have to specify the :lib option for libraries, where the Gem > name (sqlite3-ruby) differs from the file itself (sqlite3) > > #active_support loads this for you, rails dependency handling is > completely fucked up > config.gem "json" > config.gem 'memcache-client', :lib => 'memcache' > > #now to the gems we do control > config.gem "haml", :version => "2.2.20" > config.gem "geoip", :version => '0.8.6', :lib => > false > config.gem "nokogiri", :version => '1.4.1', :source => > 'http://gemcutter.org' > config.gem "rubyist-aasm", :version => "2.1.1", :lib => > "aasm", :source => 'http://gems.github.com' > config.gem "newrelic_rpm", :version => '2.12.0' > config.gem 'htmlentities', :version => "4.2.0" > config.gem 'will_paginate', :version => '2.3.11', :source => > 'http://gemcutter.org' > config.gem 'rufus-tokyo', :version => '1.0.5', :lib => > 'rufus/tokyo' > config.gem 'oauth', :version => '0.3.4' > config.gem 'moomerman-twitter_oauth', :version => '0.2.1', :lib => > 'twitter_oauth', :source => 'http://gems.github.com' > config.gem 'httparty', :version => '0.4.5' > config.gem 'ar_mailer', :version => '1.5.0', :lib => > 'action_mailer/ar_mailer', :source => 'http://gemcutter.org' > config.gem "block_helpers", :source => > "http://gemcutter.org" > config.gem 'redis-namespace', :lib => 'redis/namespace' > config.gem 'resque', :version => '1.2.3' > config.gem 'attr_encrypted', :version => '1.1.2' > # config.gem "ambethia-recaptcha", :lib => "recaptcha/rails", > :source => "http://gems.github.com" > > # config.gem "methodmissing-scrooge", :lib => 'scrooge', :source => > 'http://gems.github.com' > # Only load the plugins named here, in the order given. By default, > all > # plugins in vendor/plugins are loaded in alphabetical order. > # :all can be used as a placeholder for all plugins not explicitly > named > # config.plugins = [ :exception_notification, :ssl_requirement, :all ] > > # observers > config.active_record.observers = :block_observer, :following_observer > > # Add additional load paths for your own custom dirs > > config.load_paths += %W( > #{RAILS_ROOT}/app/observers > #{RAILS_ROOT}/app/middlewares > #{RAILS_ROOT}/app/mailers > #{RAILS_ROOT}/app/services > ) > # config.load_paths += ["#{RAILS_ROOT}/vendor/cyqueue/app/jobs"] > > # Make Time.zone default to the specified zone, and make Active Record > store time values > # in the database in UTC, and return them converted to the specified > local zone. > # Run "rake -D time" for a list of tasks for finding time zone names. > Comment line to use default local time. > config.time_zone = 'UTC' > > # The internationalization framework can be changed to have another > default locale (standard is :en) or more load paths. > # All files from config/locales/*.rb,yml are added automatically. > # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', > '*.{rb,yml}')] > # config.i18n.default_locale = :de > > > # 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. > config.action_controller.session = { > :session_key => '_my_session', > :secret => > > '08860360e661ffc3b5fc4fcd53d9fc4fcd9954cec6619a86694f4fc115594277ca5ce59b371b451a4da2211838f92015513dee31811196d335aec8a0ea93d5d' > } > > config.action_controller.session_store = :cookie_store > > config.after_initialize do > require 'ruby_core_extensions' # Look here for Hash and String > additions > require 'iconv' > end > end > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Thanks: Rajeev sharma +919013155133 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.