Giter Site home page Giter Site logo

can't rackup about rack HOT 5 CLOSED

columbian-chris avatar columbian-chris commented on June 13, 2024
can't rackup

from rack.

Comments (5)

dentarg avatar dentarg commented on June 13, 2024

What does the code you run look like?

This doesn't look like a problem with Rack.

from rack.

jeremyevans avatar jeremyevans commented on June 13, 2024

Definitely not a problem with Rack itself, as Rack does not use dry-types.

from rack.

columbian-chris avatar columbian-chris commented on June 13, 2024

Thanks for the response, @dentarg and @jeremyevans. I'm just talking about the initial test as instructed by the readme.

I installed ruby, rack, and tried to rackup.

$ gem install rack rack-session rackup
$ rackup

I'm not very experienced in ruby, so maybe you might give me some insight as to why the basic instructions threw me this error? Installed on Ubuntu 20.04.

from rack.

jeremyevans avatar jeremyevans commented on June 13, 2024

Does your config.ru file contain the following, as the README instructs?:

run do |env|
  [200, {}, ["Hello World"]]
end

from rack.

columbian-chris avatar columbian-chris commented on June 13, 2024

Yes, and that works on its own. It's clearly not an issue with Rack. Thank you for your answers.

from rack.

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.