mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
mongrel_experimental works
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@846 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
6c8096aedb
commit
2fe13844e3
2 changed files with 12 additions and 1 deletions
|
@ -348,7 +348,15 @@ end
|
|||
# in regular Mongrel.
|
||||
|
||||
begin
|
||||
gem 'mongrel_experimental', '=1.1' if respond_to? 'gem'
|
||||
# Look for SVN version
|
||||
$LOAD_PATH.unshift 'projects/mongrel_experimental/lib/'
|
||||
require 'mongrel_experimental'
|
||||
rescue LoadError
|
||||
begin
|
||||
# Look for gem
|
||||
gem 'mongrel_experimental', '=1.1' if respond_to? 'gem'
|
||||
require 'mongrel_experimental'
|
||||
rescue LoadError
|
||||
# Not found
|
||||
end
|
||||
end
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
require 'uri_classifier'
|
||||
STDERR.puts "** mongrel_experimental loaded"
|
Loading…
Add table
Add a link
Reference in a new issue