Navigation Menu

Skip to content

Commit

Permalink
BREAKING CHANGE: Thin no longer ships with fat Windows binaries.
Browse files Browse the repository at this point in the history
From now on, to install on Windows, install https://github.com/oneclick/rubyinstaller/wiki/Development-Kit.
  • Loading branch information
macournoyer committed Nov 12, 2011
1 parent c34f877 commit 6998c31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,4 +1,6 @@
== 1.3.0 Double Espresso
* BREAKING CHANGE: Thin no longer ships with fat Windows binaries.
From now on, to install on Windows, install https://github.com/oneclick/rubyinstaller/wiki/Development-Kit.
* BREAKING CHANGE: Remove automatic Content-Length setting.
It is now the responsibility of the app (or a middleware) to set the Content-Length.
* Log errors to STDERR [textgoeshere]
Expand Down
10 changes: 1 addition & 9 deletions lib/thin.rb
Expand Up @@ -38,15 +38,7 @@ module Controllers
require "#{Thin::ROOT}/thin/version"
require "#{Thin::ROOT}/thin/statuses"
require "#{Thin::ROOT}/rack/adapter/loader"

begin
# Select proper binary
major_ruby_version = RUBY_VERSION[/^(\d+\.\d+)/]
require "#{Thin::ROOT}/#{major_ruby_version}/thin_parser"
rescue LoadError
# Installed from source
require "#{Thin::ROOT}/thin_parser"
end
require "#{Thin::ROOT}/thin_parser"

module Rack
module Adapter
Expand Down

0 comments on commit 6998c31

Please sign in to comment.