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 <[email protected] <mailto:[email protected]>> wrote:

    1st, what do you use to run the server? netbeans or in ternimal


    2011/6/15 Iván Hernández <[email protected]
    <mailto:[email protected]>>

        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
        <[email protected]
        <mailto:[email protected]>> 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
            [email protected]
            <mailto:[email protected]>.
            To unsubscribe from this group, send email to
            [email protected]
            <mailto:rubyonrails-talk%[email protected]>.
            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
        [email protected]
        <mailto:[email protected]>.
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:[email protected]>.
        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
        [email protected]
        <mailto:[email protected]>.
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:rubyonrails-talk%[email protected]>.
        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 [email protected].
To unsubscribe from this group, send email to [email protected]. 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 [email protected].
To unsubscribe from this group, send email to [email protected]. 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to