Problem
NameError: uninitialized constant ActionController::AbstractRequest from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in `load_missing_constant' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing' from c:/ruby/lib/ruby/gems/1.8/gems/opensocial-0.0.4/lib/opensocial/auth/action_controller_request.rb:32 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/opensocial-0.0.4/lib/opensocial.rb:19 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
Fix
OpenC:\ruby\lib\ruby\gems\1.8\gems\opensocial-0.0.4\lib\opensocial\auth\action_controller_request.rband resplace "proxies ActionController::AbstractRequest" with "proxies ActionController::Request" at Line 32
or more specifically
module OAuth::RequestProxy #:nodoc: all class ActionControllerRequest < OAuth::RequestProxy::Base # proxies ActionController::AbstractRequest if ActionController.const_defined?(:AbstractRequest) proxies ActionController::AbstractRequest else proxies ActionController::Request end #... #... end
No comments:
Post a Comment