You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
Rack::Builder.new do
map("/oauth/admin") { run Rack::OAuth2::Server::Admin }
map("/") { run MyApp }
end
This results in the folllowing error for me:
"/Users/mseeger/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.0/lib/rack/builder.rb:129:in `to_app': missing run or map statement (RuntimeError)"
Just using:
map("/oauth/admin") { run Rack::OAuth2::Server::Admin }
map("/") { run MyApp }
Seems to work for me though
The text was updated successfully, but these errors were encountered:
This is the suggested syntax for the config.ru:
This results in the folllowing error for me:
"/Users/mseeger/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.0/lib/rack/builder.rb:129:in `to_app': missing run or map statement (RuntimeError)"
Just using:
Seems to work for me though
The text was updated successfully, but these errors were encountered: