From 895679655a8f4807793f8fa2a87d4b05d216ef07 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Feb 2015 20:09:19 +0000 Subject: doc: update support status for Ruby versions unicorn 5 will not support Ruby 1.8 anymore. Drop mentions of Rubinius, too, it's too difficult to support due to the proprietary and registration-required nature of its bug tracker. The smaller memory footprint and CoW-friendly memory allocator in mainline Ruby is a better fit for unicorn, anyways. Since Ruby 1.9+ bundles RubyGems and gem startup is faster nowadays, we'll just depend on that instead of not loading RubyGems. Drop the local.mk.sample file, too, since it's way out-of-date and probably isn't useful (I have not used it in a while). --- HACKING | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index 9b4da1b..6c5f897 100644 --- a/HACKING +++ b/HACKING @@ -19,13 +19,6 @@ RubyGems. Users of GNU-based systems (such as GNU/Linux) usually have GNU make installed as "make" instead of "gmake". -Since we don't load RubyGems by default, loading Rack properly requires -setting up RUBYLIB to point to where Rack is located. Not loading -RubyGems drastically lowers the time to run the full test suite. You -may setup a "local.mk" file in the top-level working directory to setup -your RUBYLIB and any other environment variables. A "local.mk.sample" -file is provided for reference. - Running the entire test suite with 4 tests in parallel: gmake -j4 check @@ -70,10 +63,9 @@ becomes unavailable. === Ruby/C Compatibility -We target Ruby 1.8.6+, 1.9 and will target Rubinius as it becomes -production-ready. We need the Ruby implementation to support fork, -exec, pipe, UNIX signals, access to integer file descriptors and -ability to use unlinked files. +We target mainline Ruby 1.9.3 and later. We need the Ruby +implementation to support fork, exec, pipe, UNIX signals, access to +integer file descriptors and ability to use unlinked files. All of our C code is OS-independent and should run on compilers supported by the versions of Ruby we target. @@ -123,13 +115,6 @@ You can build the Unicorn gem with the following command: It is easy to install the contents of your git working directory: -Via RubyGems (RubyGems 1.3.5+ recommended for prerelease versions): +Via RubyGems gmake install-gem - -Without RubyGems (via setup.rb): - - gmake install - -It is not at all recommended to mix a RubyGems installation with an -installation done without RubyGems, however. -- cgit v1.2.3-24-ge0c7