Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Rack map is not working #14

Closed
tak1n opened this issue Apr 30, 2014 · 2 comments
Closed

Rack map is not working #14

tak1n opened this issue Apr 30, 2014 · 2 comments

Comments

@tak1n
Copy link

tak1n commented Apr 30, 2014

I wanted to try reel as rack application server but got this behaviour:

When seperating multiple rack applications into different paths the route is not found with reel-rack, other servers are working properly.

Example to reproduce this:

class MyApp
  def self.call(env)
    Rack::Response.new('hi', 200, { 'Content-Type' => 'text/html; charset=UTF-8' }).finish
  end
end

map '/myapp' do
  run MyApp
end

Running this with reel-rack results into Not Found: /myapp
Is this not implemented yet or should this considered as bug?

@tarcieri
Copy link
Member

Looks like a dupe of #5

@tak1n
Copy link
Author

tak1n commented Apr 30, 2014

yep sry didn't see it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants