Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread
Message: 89665
BY: James Britt (jamesgbritt)
DATE: 2009-08-15 02:20
SUBJECT: RE: What needs to happen in config.ru?

 

Thanks. This is much like the Rack app example I linked to previously.

It differs from the standard config.ru in that there is no app.call.

Where, in such a config.ru, would I add my Rack middleware?

When I've tried to add something like "user Rack::Something" in my own config.ru I get an error that the method 'use' is undefined.


Thread View

Thread Author Date
What needs to happen in config.ru?James Britt2009-08-13 02:30
      RE: What needs to happen in config.ru?James Britt2009-08-13 02:59
            RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-15 00:23
                  RE: What needs to happen in config.ru?James Britt2009-08-15 02:20
                        RE: What needs to happen in config.ru?James Britt2009-08-15 02:50
                              RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-15 02:59
                        RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-15 02:53
                              RE: What needs to happen in config.ru?James Britt2009-08-15 17:41
                                    RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-16 14:42
                                          RE: What needs to happen in config.ru?James Britt2009-08-16 23:45
                                                RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-17 21:27
                                                RE: What needs to happen in config.ru?John Lloyd-Jones2009-08-17 20:59
                                                      RE: What needs to happen in config.ru?James Britt2009-08-17 21:43
                                                            RE: What needs to happen in config.ru?Vivek Pandey2009-08-18 20:30
                                                                  RE: What needs to happen in config.ru?James Britt2009-08-18 21:11
                                                                        RE: What needs to happen in config.ru?Vivek Pandey2009-08-18 21:50
                                                                              RE: What needs to happen in config.ru?James Britt2009-08-19 00:29

Post a followup to this message