Skip to main content

Problems with " wrong"wrong number of arguments (2 for 1) (ArgumentError) ""

I'm trying initialize my local rails server but I haven't canbeen able to, because when I write "rails server", show me this message:

=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require': wrong number of arguments (2 for 1) (ArgumentError) 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:596:in 
`new_constants_in' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/config.ru:6 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `initialize' 
from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' 
from /home/distriker/Documentos/public_html/auth/config.ru:1 

RewardsRegards, Iván

Problems with " wrong number of arguments (2 for 1) (ArgumentError) "

I'm trying initialize my local rails server but I haven't can, because when I write "rails server", show me this message:

=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require': wrong number of arguments (2 for 1) (ArgumentError) 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:596:in 
`new_constants_in' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/config.ru:6 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `initialize' 
from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' 
from /home/distriker/Documentos/public_html/auth/config.ru:1 

Rewards, Iván

Problems with "wrong number of arguments (2 for 1) (ArgumentError)"

I'm trying initialize my local rails server but I haven't been able to, because when I write "rails server", show me this message:

=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require': wrong number of arguments (2 for 1) (ArgumentError) 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:596:in 
`new_constants_in' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/config.ru:6 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `initialize' 
from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' 
from /home/distriker/Documentos/public_html/auth/config.ru:1 

Regards, Iván

added 116 characters in body
Source Link
cHao
  • 87k
  • 20
  • 147
  • 178

=> Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require': wrong number of arguments (2 for 1) (ArgumentError) from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:596:in new_constants_in' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/config.ru:6 from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in instance_eval' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in initialize' from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' from /home/distriker/Documentos/public_html/auth/config.ru:1

=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require': wrong number of arguments (2 for 1) (ArgumentError) 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:596:in 
`new_constants_in' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/config.ru:6 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `initialize' 
from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' 
from /home/distriker/Documentos/public_html/auth/config.ru:1 

=> Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require': wrong number of arguments (2 for 1) (ArgumentError) from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:596:in new_constants_in' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/config.ru:6 from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in instance_eval' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in initialize' from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' from /home/distriker/Documentos/public_html/auth/config.ru:1

=> Booting WEBrick 
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000 
=> Call with -d to detach 
=> Ctrl-C to shutdown server 
Exiting 
/home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require': wrong number of arguments (2 for 1) (ArgumentError) 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:596:in 
`new_constants_in' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:225:in 
`load_dependency' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in 
`require' 
from /home/distriker/Documentos/public_html/auth/config.ru:6 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `instance_eval' 
from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ 
rack-1.2.3/lib/rack/builder.rb:46:in `initialize' 
from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' 
from /home/distriker/Documentos/public_html/auth/config.ru:1 
Source Link
Ivanhercaz
  • 745
  • 1
  • 11
  • 31

Problems with " wrong number of arguments (2 for 1) (ArgumentError) "

I'm trying initialize my local rails server but I haven't can, because when I write "rails server", show me this message:

=> Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require': wrong number of arguments (2 for 1) (ArgumentError) from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:596:in new_constants_in' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/distriker/Documentos/public_html/auth/config.ru:6 from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in instance_eval' from /home/distriker/Documentos/public_html/auth/mysql2/ruby/1.8/gems/ rack-1.2.3/lib/rack/builder.rb:46:in initialize' from /home/distriker/Documentos/public_html/auth/config.ru:1:in `new' from /home/distriker/Documentos/public_html/auth/config.ru:1

Rewards, Iván