Camping: Error when running script

Discussion in 'Ruby' started by Kristen, Mar 11, 2007.

  1. Kristen

    Kristen Guest


    I just installed the Camping micro-framework with the command:

    gem install camping-omnibus --source

    Then I created a file which contained the following:

    Camping.goes :Nuts

    and called it nuts.rb

    Then I executed the the file in the terminal, but it gives me the error:

    system:~/Documents/camping kristen$ camping nuts.rb
    `const_missing': uninitialized constant
    Mongrel::Camping::CampingHandler::Sync (NameError)
    from /usr/local/bin/camping:18

    Im not sure what this is or how to fix it. Does anyone have any ideas?

    Kristen, Mar 11, 2007
    1. Advertisements

  2. Kristen

    eden li Guest

    Hrm.. that's strange. Have you tried upgrading mongrel? Maybe
    that'll fix it?

    $ gem install mongrel --include-dependencies
    eden li, Mar 11, 2007
    1. Advertisements

  3. Kristen

    Al Cholic Guest

    Thanks. That worked!

    Al Cholic, Mar 11, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.