Jruby error on loading ActiveMerchant plugin
--------------------------------------------
Key: JRUBY-1271
URL: http://jira.codehaus.org/browse/JRUBY-1271
Project: JRuby
Issue Type: Bug
Components: Interpreter
Affects Versions: JRuby 1.0.0
Environment: OSX, but shouldn't be related to OS
Reporter: Jonathan Bartlett
The following will reproduce the bug:
rails testing
cd testing
jruby script/plugin install
http://activemerchant.googlecode.com/svn/trunk/active_merchant
jruby script/server
This produces the following error:
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:498:in
`require': wrong number of arguments(4 for 1) (ArgumentError)
from script/../config/../vendor/plugins/active_merchant/init.rb:2:in
`binding'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:400:in
`eval'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:400:in
`load_plugin'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:184:in
`silence_warnings'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:402:in
`load_plugin'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:184:in
`load_plugins'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:106:in
`each'
from
/opt/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:185:in
`load_plugins'
... 10 levels...
from
/opt/jruby-1.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from
/opt/jruby-1.0/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from :-1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email