Rails::Plugin::Dependencies in rails-2.2

i got “Rails::Plugin::Dependencies” error after updating my gem version
to rails -2.2.0

any idea?

On Nov 24, 3:35 pm, Thani A. [email protected]
wrote:

i got “Rails::Plugin::Dependencies” error after updating my gem version
to rails -2.2.0

any idea?

Not without more details.

Fred

Frederick C. wrote:

On Nov 24, 3:35�pm, Thani A. [email protected]
wrote:

i got “Rails::Plugin::Dependencies” error after updating my gem version
to rails -2.2.0

any idea?

Not without more details.

Fred

already i was using rails-2.0.2
my project working fine
just now i am updating rails gems to rails 2.2.0
this is the error

C:/projects/forum>rake db:migrate --trace
(in c:/projects/forum)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant Rails::Plugin::Dependencies
c:/projects/forum/vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in
const_missing' c:/projects/forum/vendor/plugins/svn/init.rb:7:inevaluate_init_rb’
c:/projects/forum/vendor/plugins/svn/init.rb:6:in each' c:/projects/forum/vendor/plugins/svn/init.rb:6:inevaluate_init_rb’
c:/projects/forum/config/…/vendor/rails/railties/lib/rails/plugin.rb:103:in
evaluate_init_rb' c:/projects/forum/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:insilence_warnings’
c:/projects/forum/config/…/vendor/rails/railties/lib/rails/plugin.rb:99:in
evaluate_init_rb' c:/projects/forum/config/../vendor/rails/railties/lib/rails/plugin.rb:44:inload’
c:/projects/forum/config/…/vendor/rails/railties/lib/rails/plugin/loader.rb:33:in
load_plugins' c:/projects/forum/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:32:ineach’
c:/projects/forum/config/…/vendor/rails/railties/lib/rails/plugin/loader.rb:32:in
load_plugins' c:/projects/forum/config/../vendor/rails/railties/lib/initializer.rb:319:inload_plugins’
c:/projects/forum/config/…/vendor/rails/railties/lib/initializer.rb:157:in
process' c:/projects/forum/config/../vendor/rails/railties/lib/initializer.rb:112:insend’
c:/projects/forum/config/…/vendor/rails/railties/lib/initializer.rb:112:in
run' c:/projects/forum/config/environment.rb:13 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require’
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' c:/projects/forum/vendor/rails/activesupport/lib/active_support/dependencies.rb:148:inrequire’
c:/projects/forum/vendor/rails/activesupport/lib/active_support/dependencies.rb:507:in
new_constants_in' c:/projects/forum/vendor/rails/activesupport/lib/active_support/dependencies.rb:148:inrequire’
c:/projects/forum/vendor/rails/railties/lib/tasks/misc.rake:3
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in call' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:inexecute’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:inexecute’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in
invoke_with_call_chain' c:/ruby/lib/ruby/1.8/monitor.rb:242:insynchronize’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:ininvoke_prerequisites’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:ininvoke_prerequisites’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in
invoke_with_call_chain' c:/ruby/lib/ruby/1.8/monitor.rb:242:insynchronize’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in
invoke_with_call_chain' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:ininvoke’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in
invoke_task' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in each' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:intop_level’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in
standard_exception_handling' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:intop_level’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:instandard_exception_handling’
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in run' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 c:/ruby/bin/rake:19:inload’
c:/ruby/bin/rake:19

C:/projects/forum>

i am trying to use beast (which named as svn in plugins)
init.rb

ActionView::Base.send :include, SavageBeast::AuthenticationSystem
ActionController::Base.send :include, SavageBeast::AuthenticationSystem

FIX for engines model reloading issue in development mode
if ENV[‘RAILS_ENV’] != ‘production’
load_paths.each do |path|
Dependencies.load_once_paths.delete(path)
end
end

On 25 Nov 2008, at 03:55, Thani A. wrote:

load_paths.each do |path|
Dependencies.load_once_paths.delete(path)
end
end

Dependencies is now ActiveSupport::Dependencies

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs