Distriker
2011-Jun-15 14:37 UTC
Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
Hi, 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 I have searched in Google for a solution, but, I didn''t find a clearly solution. Rewards, Iván -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
joanne ta
2011-Jun-15 16:14 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
I think you turn more than one server is on.. On Wed, Jun 15, 2011 at 10:37 AM, Distriker <ivanhcelrinconelmejor-Re5JQEeQqe8@public.gmane.orgm> wrote:> Hi, 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 > > I have searched in Google for a solution, but, I didn''t find a clearly > solution. > > Rewards, Iván > > -- > 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. > >-- -------------------------------- Thank you, Yen -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Iván Hernández
2011-Jun-15 16:18 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On 06/15/2011 05:14 PM, joanne ta wrote:> I think you turn more than one server is on.. > > > On Wed, Jun 15, 2011 at 10:37 AM, Distriker > <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > Hi, 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 > <http://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 > <http://config.ru:1> > > I have searched in Google for a solution, but, I didn''t find a clearly > solution. > > Rewards, Iván > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > -- > -------------------------------- > > Thank you, > > Yen > > -- > 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.If I try run a server in other port, it show me the same message. Before, if to me fail a port, I could use other, now no. Rewards, Iván -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
joanne ta
2011-Jun-15 16:32 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
1st, what do you use to run the server? netbeans or in ternimal 2011/6/15 Iván Hernández <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> On 06/15/2011 05:14 PM, joanne ta wrote: > > I think you turn more than one server is on.. > > > On Wed, Jun 15, 2011 at 10:37 AM, Distriker < > ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hi, 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 >> >> I have searched in Google for a solution, but, I didn''t find a clearly >> solution. >> >> Rewards, Iván >> >> -- >> 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. >> >> > > > -- > -------------------------------- > > Thank you, > > Yen > > -- > 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. > > If I try run a server in other port, it show me the same message. Before, > if to me fail a port, I could use other, now no. > > Rewards, Iván > > -- > 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. >-- -------------------------------- Thank you, Yen -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
joanne ta
2011-Jun-15 16:41 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
you should turn off all the server that you run. and run "rails server"'' again ... if you have 2 server on check it maybe one of them is http://0.0.0.0:3000 and other is http://0.0.0.0:3001<http://0.0.0.0:3000/> Joanne On Wed, Jun 15, 2011 at 12:32 PM, joanne ta <joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 1st, what do you use to run the server? netbeans or in ternimal > > > 2011/6/15 Iván Hernández <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> On 06/15/2011 05:14 PM, joanne ta wrote: >> >> I think you turn more than one server is on.. >> >> >> On Wed, Jun 15, 2011 at 10:37 AM, Distriker < >> ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> Hi, 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 >>> >>> I have searched in Google for a solution, but, I didn''t find a clearly >>> solution. >>> >>> Rewards, Iván >>> >>> -- >>> 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. >>> >>> >> >> >> -- >> -------------------------------- >> >> Thank you, >> >> Yen >> >> -- >> 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. >> >> If I try run a server in other port, it show me the same message. Before, >> if to me fail a port, I could use other, now no. >> >> Rewards, Iván >> >> -- >> 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. >> > > > > -- > -------------------------------- > > Thank you, > > Yen > >-- -------------------------------- Thank you, Yen -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Iván Hernández
2011-Jun-15 18:35 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On 06/15/2011 05:41 PM, joanne ta wrote:> you should turn off all the server that you run. > and run "rails server"'' again ... if you have 2 server on check it > maybe one of them is http://0.0.0.0:3000 <http://0.0.0.0:3000/> and > other is http://0.0.0.0:3001 <http://0.0.0.0:3000/> > > Joanne > > On Wed, Jun 15, 2011 at 12:32 PM, joanne ta <joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > 1st, what do you use to run the server? netbeans or in ternimal > > > 2011/6/15 Iván Hernández <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > <mailto:ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > On 06/15/2011 05:14 PM, joanne ta wrote: >> I think you turn more than one server is on.. >> >> >> On Wed, Jun 15, 2011 at 10:37 AM, Distriker >> <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> <mailto:ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: >> >> Hi, 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 >> <http://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 >> <http://config.ru:1> >> >> I have searched in Google for a solution, but, I didn''t >> find a clearly >> solution. >> >> Rewards, Iván >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> >> >> >> -- >> -------------------------------- >> >> Thank you, >> >> Yen >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. > If I try run a server in other port, it show me the same > message. Before, if to me fail a port, I could use other, now no. > > Rewards, Iván > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > -- > -------------------------------- > > Thank you, > > Yen > > > > > -- > -------------------------------- > > Thank you, > > Yen > > -- > 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.I run the server with the terminal and I know that if I have two servers the direction is http://0.0.0.0:3000 or 3001, but, any of this direction work, becauseI I think that any server exist. I have shut down my computer because I must go to other site, and when I returned I have switched on again, and my server should work, but no. Have you other idea? Thanks ^^. Rewards, Iván -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Iván Hernández
2011-Jun-18 22:51 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On 06/15/2011 07:35 PM, Iván Hernández wrote:> On 06/15/2011 05:41 PM, joanne ta wrote: >> you should turn off all the server that you run. >> and run "rails server"'' again ... if you have 2 server on check it >> maybe one of them is http://0.0.0.0:3000 <http://0.0.0.0:3000/> and >> other is http://0.0.0.0:3001 <http://0.0.0.0:3000/> >> >> Joanne >> >> On Wed, Jun 15, 2011 at 12:32 PM, joanne ta <joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> <mailto:joanne0558-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: >> >> 1st, what do you use to run the server? netbeans or in ternimal >> >> >> 2011/6/15 Iván Hernández <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> <mailto:ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> >> >> On 06/15/2011 05:14 PM, joanne ta wrote: >>> I think you turn more than one server is on.. >>> >>> >>> On Wed, Jun 15, 2011 at 10:37 AM, Distriker >>> <ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >>> <mailto:ivanhcelrinconelmejor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: >>> >>> Hi, 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 >>> <http://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 >>> <http://config.ru:1> >>> >>> I have searched in Google for a solution, but, I didn''t >>> find a clearly >>> solution. >>> >>> Rewards, Iván >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>> <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >>> >>> >>> >>> -- >>> -------------------------------- >>> >>> Thank you, >>> >>> Yen >>> >>> -- >>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >>> <mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >> If I try run a server in other port, it show me the same >> message. Before, if to me fail a port, I could use other, now no. >> >> Rewards, Iván >> -- >> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> >> >> >> -- >> -------------------------------- >> >> Thank you, >> >> Yen >> >> >> >> >> -- >> -------------------------------- >> >> Thank you, >> >> Yen >> >> -- >> 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. > I run the server with the terminal and I know that if I have two > servers the direction is http://0.0.0.0:3000 or 3001, but, any of this > direction work, becauseI I think that any server exist. > > I have shut down my computer because I must go to other site, and when > I returned I have switched on again, and my server should work, but no. > > Have you other idea? Thanks ^^. > > Rewards, Iván -- > 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.Hi, my problem has been solved. Thanks Yen for your help. I explain what was my error. In my config.ru file (in the root project folder) I have two params in the call of rake, this caused the problem. Regards, Iván -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
gezope
2011-Jun-19 13:08 UTC
Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
Hi, I can see on your error list: "/mysql2/ruby/1.8/gems/ activesupport-3.0.3/lib/active_support/ dependencies.rb:239:in " means you try to use Rails3 with old Ruby version 1.8 probably. Do you use RVM? You might want to see outputs of these: $ ruby -v $ gem -v $ gem list Running Ruby 1.9 with Rails3 is essential and it will have conflicts with your other gems if you have version differences. Iván, ha további kérdésed van, nyugodtan írj!:) cheers, Zoli On Jun 19, 12:51 am, Iván Hernández <ivanhcelrinconelme...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 06/15/2011 07:35 PM, Iv�n Hern�ndez wrote: > > > > > > > > > On 06/15/2011 05:41 PM, joanne ta wrote: > >> you should turn off all the server that you run. > >> and run "rails server"'' again ... if you have 2 server on check it > >> maybe one of them ishttp://0.0.0.0:3000<http://0.0.0.0:3000/> and > >> other ishttp://0.0.0.0:3001<http://0.0.0.0:3000/> > > >> Joanne > > >> On Wed, Jun 15, 2011 at 12:32 PM, joanne ta <joanne0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > >> <mailto:joanne0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > >> 1st, what do you use to run the server? netbeans or in ternimal > > >> 2011/6/15 Iv�n Hern�ndez <ivanhcelrinconelme...@gmail.com > >> <mailto:ivanhcelrinconelme...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > >> On 06/15/2011 05:14 PM, joanne ta wrote: > >>> I think you turn more than one server is on.. > > >>> On Wed, Jun 15, 2011 at 10:37 AM, Distriker > >>> <ivanhcelrinconelme...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > >>> <mailto:ivanhcelrinconelme...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote: > > >>> Hi, 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 > >>> <http://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 > >>> <http://config.ru:1> > > >>> I have searched in Google for a solution, but, I didn''t > >>> find a clearly > >>> solution. > > >>> Rewards, Iv�n > > >>> -- > >>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >>> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > >>> To unsubscribe from this group, send email to > >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >>> <mailto:rubyonrails-talk%2Bunsubscribe@googlegroups.com>. > >>> For more options, visit this group at > >>> http://groups.google.com/group/rubyonrails-talk?hl=en. > > >>> -- > >>> -------------------------------- > > >>> Thank you, > > >>> Yen > > >>> -- > >>> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >>> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > >>> To unsubscribe from this group, send email to > >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >>> <mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > >>> For more options, visit this group at > >>> http://groups.google.com/group/rubyonrails-talk?hl=en. > >> If I try run a server in other port, it show me the same > >> message. Before, if to me fail a port, I could use other, now no. > > >> Rewards, Iv�n > >> -- > >> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >> <mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>. > >> To unsubscribe from this group, send email to > >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > >> <mailto:rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm>. > >> For more options, visit this group at > >> http://groups.google.com/group/rubyonrails-talk?hl=en. > > >> -- > >> -------------------------------- > > >> Thank you, > > >> Yen > > >> -- > >> -------------------------------- > > >> Thank you, > > >> Yen > > >> -- > >> 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-/JYPxA39Uh5TLH3MbocFFw@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. > > I run the server with the terminal and I know that if I have two > > servers the direction ishttp://0.0.0.0:3000or 3001, but, any of this > > direction work, becauseI I think that any server exist. > > > I have shut down my computer because I must go to other site, and when > > I returned I have switched on again, and my server should work, but no. > > > Have you other idea? Thanks ^^. > > > Rewards, Iv�n -- > > 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. > > Hi, my problem has been solved. Thanks Yen for your help. I explain what > was my error. In my config.ru file (in the root project folder) I have > two params in the call of rake, this caused the problem. > > Regards, Iv�n-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law
2011-Jun-19 15:26 UTC
Re: Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On 19 June 2011 14:08, gezope <gezope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> ... > Running Ruby 1.9 with Rails3 is essential and it will have conflicts > with your other gems if you have version differences.Not true, ruby 1.8.7 works fine with rails 3.0.x. I am using it as I type. Colin -- 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.
Peter Bell
2011-Jun-19 15:31 UTC
Re: Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On Jun 19, 2011, at 11:26 AM, Colin Law wrote:> On 19 June 2011 14:08, gezope <gezope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> ... >> Running Ruby 1.9 with Rails3 is essential and it will have conflicts >> with your other gems if you have version differences. > > Not true, ruby 1.8.7 works fine with rails 3.0.x. I am using it as I type.Absolutely. I have a number of Rails 3.0.x apps on 1.8.7. However, I would suggest 1.9.2 for 3.1-pre. I believe 1.8.7 support won''t be phase out until 4.x, but at RailsConf most people were strongly suggesting 1.9.2 for 3.1 . . . Best Wishes, Peter> > Colin > > -- > 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. >-- 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.
Colin Law
2011-Jun-19 15:39 UTC
Re: Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
On 19 June 2011 16:31, Peter Bell <peter-AS9tOuWgs4cAvxtiuMwx3w@public.gmane.org> wrote:> > On Jun 19, 2011, at 11:26 AM, Colin Law wrote: >> On 19 June 2011 14:08, gezope <gezope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>> ... >>> Running Ruby 1.9 with Rails3 is essential and it will have conflicts >>> with your other gems if you have version differences. >> >> Not true, ruby 1.8.7 works fine with rails 3.0.x. I am using it as I type. > > Absolutely. I have a number of Rails 3.0.x apps on 1.8.7. > > However, I would suggest 1.9.2 for 3.1-pre. I believe 1.8.7 support won''t be phase out until 4.x, but at RailsConf most people were strongly suggesting 1.9.2 for 3.1 . . .I have stuck with 1.8.7 because of very slow rails startup on ubuntu with 1.9.2. Hopefully that will be improved by the time I need to move up. Colin -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thiyagarajan Veluchamy
2011-Jun-20 02:25 UTC
Re: Re: Problems with " wrong number of arguments (2 for 1) (ArgumentError) " and rails server
Hi, Yes I agree, We can use Ruby 1.8.7 for rails 3.0.x application, its working for me in production server. On Sun, Jun 19, 2011 at 9:09 PM, Colin Law <clanlaw-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 19 June 2011 16:31, Peter Bell <peter-AS9tOuWgs4cAvxtiuMwx3w@public.gmane.org> wrote: > > > > On Jun 19, 2011, at 11:26 AM, Colin Law wrote: > >> On 19 June 2011 14:08, gezope <gezope-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >>> ... > >>> Running Ruby 1.9 with Rails3 is essential and it will have conflicts > >>> with your other gems if you have version differences. > >> > >> Not true, ruby 1.8.7 works fine with rails 3.0.x. I am using it as I > type. > > > > Absolutely. I have a number of Rails 3.0.x apps on 1.8.7. > > > > However, I would suggest 1.9.2 for 3.1-pre. I believe 1.8.7 support won''t > be phase out until 4.x, but at RailsConf most people were strongly > suggesting 1.9.2 for 3.1 . . . > > I have stuck with 1.8.7 because of very slow rails startup on ubuntu > with 1.9.2. Hopefully that will be improved by the time I need to > move up. > > Colin > > -- > 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. > >-- Thanks & Regards, Thiyagarajan Veluchamy -- 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.