mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
update Requirement section
This commit is contained in:
parent
5c60c8bb0d
commit
97908b6911
1 changed files with 24 additions and 23 deletions
47
README.md
47
README.md
|
@ -2703,45 +2703,44 @@ The following Ruby versions are officially supported:
|
||||||
<dt>Ruby 1.8.7</dt>
|
<dt>Ruby 1.8.7</dt>
|
||||||
<dd>
|
<dd>
|
||||||
1.8.7 is fully supported, however, if nothing is keeping you from it, we
|
1.8.7 is fully supported, however, if nothing is keeping you from it, we
|
||||||
recommend upgrading to 1.9.2 or switching to JRuby or Rubinius. Support for
|
recommend upgrading or switching to JRuby or Rubinius. Support for 1.8.7
|
||||||
1.8.7 will not be dropped before Sinatra 2.0 and Ruby 2.0 except maybe in
|
will not be dropped before Sinatra 2.0. **Ruby 1.8.6 is no longer supported.**
|
||||||
the unlikely event of 1.8.8 being released. Even then, we might continue
|
|
||||||
supporting it. <b>Ruby 1.8.6 is no longer supported.</b> If you want to run
|
|
||||||
with 1.8.6, downgrade to Sinatra 1.2, which will receive bug fixes until
|
|
||||||
Sinatra 1.4.0 is released.
|
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>Ruby 1.9.2</dt>
|
<dt>Ruby 1.9.2</dt>
|
||||||
<dd>
|
<dd>
|
||||||
1.9.2 is fully supported and recommended. Do not use 1.9.2p0, as it is known to
|
1.9.2 is fully supported. Do not use 1.9.2p0, as it is known to cause
|
||||||
cause segmentation faults when running Sinatra. Support will continue at least
|
segmentation faults when running Sinatra. Official support will continue
|
||||||
until the release of Ruby 1.9.4/2.0 and support for the latest 1.9 release
|
at least until the release of Sinatra 1.5.
|
||||||
will continue as long as it is still supported by the Ruby core team.
|
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>Ruby 1.9.3</dt>
|
<dt>Ruby 1.9.3</dt>
|
||||||
<dd>
|
<dd>
|
||||||
1.9.3 is fully supported and recommended. Please note that switching to 1.9.3
|
1.9.3 is fully supported and recommended. Please note that switching to 1.9.3
|
||||||
from an earlier version will invalidate all sessions.
|
from an earlier version will invalidate all sessions. 1.9.3 will be supported
|
||||||
|
until the release of Sinatra 2.0.
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dt>Ruby 2.0.0</dt>
|
||||||
|
<dd>
|
||||||
|
2.0.0 is fully supported and recommended. There are currently no plans to drop
|
||||||
|
official support for it.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>Rubinius</dt>
|
<dt>Rubinius</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Rubinius is officially supported (Rubinius >= 1.2.4), everything works, including
|
Rubinius is officially supported (Rubinius >= 2.x). It is recommendended to
|
||||||
all template languages. The upcoming 2.0 release is supported as
|
`gem install puma`.
|
||||||
well, including 1.9 mode.
|
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>JRuby</dt>
|
<dt>JRuby</dt>
|
||||||
<dd>
|
<dd>
|
||||||
JRuby is officially supported (JRuby >= 1.6.7). No issues with third party
|
The latest stable release of JRuby is officially supported. It is not
|
||||||
template libraries are known, however, if you choose to use JRuby, please
|
recommended to use C extensions with JRuby. It is recommended to
|
||||||
look into JRuby rack handlers, as the Thin web server is not fully supported
|
`gem install trinidad`.
|
||||||
on JRuby. JRuby's support for C extensions is still experimental, which only
|
|
||||||
affects RDiscount, Redcarpet, RedCloth and Yajl templates as well as Thin
|
|
||||||
and Mongrel at the moment.
|
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
We also keep an eye on upcoming Ruby versions.
|
We also keep an eye on upcoming Ruby versions.
|
||||||
|
|
||||||
The following Ruby implementations are not officially supported but still are
|
The following Ruby implementations are not officially supported but still are
|
||||||
|
@ -2755,13 +2754,15 @@ known to run Sinatra:
|
||||||
Not being officially supported means if things only break there and not on a
|
Not being officially supported means if things only break there and not on a
|
||||||
supported platform, we assume it's not our issue but theirs.
|
supported platform, we assume it's not our issue but theirs.
|
||||||
|
|
||||||
We also run our CI against ruby-head (the upcoming 2.0.0) and the 1.9.4
|
We also run our CI against ruby-head (the upcoming 2.1.0), but we can't
|
||||||
branch, but we can't guarantee anything, since it is constantly moving. Expect
|
guarantee anything, since it is constantly moving. Expect 2.1.0 to be fully
|
||||||
both 1.9.4p0 and 2.0.0p0 to be supported.
|
supported.
|
||||||
|
|
||||||
Sinatra should work on any operating system supported by the chosen Ruby
|
Sinatra should work on any operating system supported by the chosen Ruby
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
|
If you run MacRuby, you should `gem install control_tower`.
|
||||||
|
|
||||||
Sinatra currently doesn't run on Cardinal, SmallRuby, BlueRuby or any
|
Sinatra currently doesn't run on Cardinal, SmallRuby, BlueRuby or any
|
||||||
Ruby version prior to 1.8.7.
|
Ruby version prior to 1.8.7.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue