Skip to content

Commit

Permalink
Mack adapter now loads the Rakefile to ensure the proper Mack gem for…
Browse files Browse the repository at this point in the history
… the app is used.
  • Loading branch information
markbates committed Apr 22, 2008
1 parent 863978d commit ce6d007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rack/adapter/loader.rb
Expand Up @@ -60,6 +60,7 @@ def self.for(name, options={})

when :mack
ENV["MACK_ENV"] = options[:environment]
load(::File.join(options[:chdir], "Rakefile"))
require 'mack'
return Mack::Utils::Server.build_app
when :file
Expand Down

0 comments on commit ce6d007

Please sign in to comment.