GithubHelp home page GithubHelp logo

Comments (10)

ohler55 avatar ohler55 commented on May 20, 2024 1

The 1.2.2 release should allow lower case agoo to be used.

from agoo.

ohler55 avatar ohler55 commented on May 20, 2024

rackup -S agoo should work right now but since rack does not name agoo in the like require agoo is needed to allow that.

from agoo.

boazsegev avatar boazsegev commented on May 20, 2024

I tried rackup -p 3000 -s agoo -r agoo which failed.

Using a capital -S doesn't seem to solve it (I get "invalid option").

iodine works with rackup...

Perhaps it has to do with this folder structure or this line... I can't remember what finally worked, but something did, I think maybe both were required.

from agoo.

boazsegev avatar boazsegev commented on May 20, 2024

I got it to work with a capital A in Agoo...

$ RACK_ENV=production rackup -p 3000 -r agoo -s Agoo

IMHO, CLI integration could be improved, but the important part is that I got it running.

Thanks!

from agoo.

ohler55 avatar ohler55 commented on May 20, 2024

I need more feedback to improve. Your feedback helps. Am typing from a phone so the -s was autocorrected. I remember now about capital A in Agoo. Rack expected that as the case sensitive module or class name.

from agoo.

boazsegev avatar boazsegev commented on May 20, 2024

Rack expected that as the case sensitive module or class name.

Maybe register two names ;-)

from agoo.

ohler55 avatar ohler55 commented on May 20, 2024

from agoo.

boazsegev avatar boazsegev commented on May 20, 2024

This might help:

::Rack::Handler.register('agoo', 'Rack::Handler::Agoo') if defined?(::Rack::Handler)

from agoo.

ohler55 avatar ohler55 commented on May 20, 2024

from agoo.

ohler55 avatar ohler55 commented on May 20, 2024

All working. Closing.

from agoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.