Hi, When i was migrating the db i got the following error. rake db:migrate rake aborted! no such file to load -- java Can you please let me know what to do to solve this. -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
run with -- trace and post here On Wed, Dec 8, 2010 at 1:05 PM, Vamsi Krishna <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > When i was migrating the db i got the following error. > > rake db:migrate > rake aborted! > no such file to load -- java > > Can you please let me know what to do to solve this. > > -- > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Kannav R. wrote in post #967134:> run with -- trace and post here > > On Wed, Dec 8, 2010 at 1:05 PM, Vamsi Krishna <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > >> -- >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Thanks: > Rajeev sharma > +919013155133here the trace: C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' C:/Ruby/lib/ruby/gems/1.8/gems/snarl-0.1.0/lib/snarl.rb:1 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_re quire'' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/plu gins/simple_notification/lib/simple_notification/windows.rb:1 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire'' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/plu gins/simple_notification/lib/simple_notification.rb:45 D:/vamsi/vendor/plu gins/simple_notification/lib/simple_notification.rb:45:in `each'' D:/vamsi/vendor/plu gins/simple_notification/lib/simple_notification.rb:45 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire'' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/plu gins/simple_notification/init.rb:1:in `evaluate_init_rb'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_ warnings'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin.rb:48:in `load'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'' D:/vamsi/config/../ vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'' D:/vamsi/config/../ vendor/rails/railties/lib/initializer.rb:369:in `load_plugins'' D:/vamsi/config/../ vendor/rails/railties/lib/initializer.rb:165:in `process'' D:/vamsi/config/../ vendor/rails/railties/lib/initializer.rb:113:in `send'' D:/vamsi/config/../ vendor/rails/railties/lib/initializer.rb:113:in `run'' D:/vamsi/config/env ironment.rb:22 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire'' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'' D:/vamsi/vendor/rai ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' D:/vamsi/vendor/rai ls/railties/lib/tasks/misc.rake:4 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_c hain'' C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_c hain'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisit es'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisit es'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_c hain'' C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_c hain'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exceptio n_handling'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exceptio n_handling'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 C:/Ruby/bin/rake:19:in `load'' C:/Ruby/bin/rake:19 -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
paste here yours D:/vamsi/config/environment.rb:22 On Wed, Dec 8, 2010 at 2:12 PM, Vamsi Krishna <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Kannav R. wrote in post #967134: > > run with -- trace and post here > > > > On Wed, Dec 8, 2010 at 1:05 PM, Vamsi Krishna <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > > wrote: > > > >> -- > >> http://groups.google.com/group/rubyonrails-talk?hl=en. > >> > >> > > > > > > -- > > Thanks: > > Rajeev sharma > > +919013155133 > > here the trace: > > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > C:/Ruby/lib/ruby/gems/1.8/gems/snarl-0.1.0/lib/snarl.rb:1 > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_re > quire'' > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in > `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/plu > gins/simple_notification/lib/simple_notification/windows.rb:1 > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_re > quire'' > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/plu > gins/simple_notification/lib/simple_notification.rb:45 > D:/vamsi/vendor/plu > gins/simple_notification/lib/simple_notification.rb:45:in `each'' > D:/vamsi/vendor/plu > gins/simple_notification/lib/simple_notification.rb:45 > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_re > quire'' > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/plu > gins/simple_notification/init.rb:1:in `evaluate_init_rb'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin.rb:158:in `evaluate_init_rb'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in > `silence_ > warnings'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin.rb:154:in `evaluate_init_rb'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin.rb:48:in `load'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin/loader.rb:38:in `load_plugins'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `each'' > D:/vamsi/config/../ > vendor/rails/railties/lib/rails/plugin/loader.rb:37:in `load_plugins'' > D:/vamsi/config/../ > vendor/rails/railties/lib/initializer.rb:369:in `load_plugins'' > D:/vamsi/config/../ > vendor/rails/railties/lib/initializer.rb:165:in `process'' > D:/vamsi/config/../ > vendor/rails/railties/lib/initializer.rb:113:in `send'' > D:/vamsi/config/../ > vendor/rails/railties/lib/initializer.rb:113:in `run'' > D:/vamsi/config/env > ironment.rb:22 > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_re > quire'' > C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:521:in > `new_constants_in'' > D:/vamsi/vendor/rai > ls/activesupport/lib/active_support/dependencies.rb:156:in `require'' > D:/vamsi/vendor/rai > ls/railties/lib/tasks/misc.rake:4 > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in > `invoke_with_call_c > hain'' > C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in > `invoke_with_call_c > hain'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in > `invoke_prerequisit > es'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in > `invoke_prerequisit > es'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in > `invoke_with_call_c > hain'' > C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in > `invoke_with_call_c > hain'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in > `invoke_task'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in > `top_level'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in > `top_level'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exceptio > n_handling'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in > `top_level'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exceptio > n_handling'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > C:/Ruby/bin/rake:19:in `load'' > C:/Ruby/bin/rake:19 > > -- > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > 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 > +919013155133Here 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rajeevsharma86
2010-Dec-08 09:39 UTC
Re: Re: Re: rake aborted! nosuch file to load -- java
how do i know which is line 22 On Wed, Dec 8, 2010 at 2:58 PM, Vamsi Krishna <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
this is the line no: 22 Rails::Initializer.run do |config| -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.