Skip to content

Commit

Permalink
require users vendor directory on load
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mizerany committed Oct 15, 2007
1 parent 2679e40 commit c489d67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
v0.1.6 Additions: require users vendor directory on load
v0.1.5 Mutex and before-filters
v0.1.0 Released!
2 changes: 1 addition & 1 deletion Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ lib/sinatra/sessions.rb
lib/sinatra/test_methods.rb
lib/sinatra.rb
LICENSE
Manifest
RakeFile
README
sinatra.gemspec
Expand All @@ -50,4 +51,3 @@ vendor/erb/lib/erb.rb
vendor/haml/init.rb
vendor/haml/lib/haml.rb
Rakefile
Manifest
2 changes: 2 additions & 0 deletions lib/sinatra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
Sinatra::Loader.load_files Dir.glob(SINATRA_ROOT + '/lib/sinatra/*.rb')
Sinatra::Loader.load_files Dir.glob(SINATRA_ROOT + '/vendor/*/init.rb')

Sinatra::Loader.load_files Dir.glob(File.dirname($0) + '/vendor/*/init.rb')

Sinatra::Environment.prepare

at_exit do
Expand Down

0 comments on commit c489d67

Please sign in to comment.