Remove references to legacy ruby platforms
This commit is contained in:
parent
bda8c29d70
commit
26745b096d
11
README.de.md
11
README.de.md
|
@ -3107,14 +3107,6 @@ Versionen vor Ruby 2.6 werden ab Sinatra 3.0 nicht länger unterstützt.
|
||||||
|
|
||||||
Nachfolgende Ruby-Versionen werden regelmäßig auf Unterstützung geprüft.
|
Nachfolgende Ruby-Versionen werden regelmäßig auf Unterstützung geprüft.
|
||||||
|
|
||||||
Die nachfolgend aufgeführten Ruby-Implementierungen werden offiziell nicht von
|
|
||||||
Sinatra unterstützt, funktionieren aber normalerweise:
|
|
||||||
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* Ältere Versionen von JRuby und Rubinius
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 und 1.9.1 (wird aber nicht empfohlen)
|
|
||||||
|
|
||||||
Nicht offiziell unterstützt bedeutet, dass wenn Sachen nicht funktionieren,
|
Nicht offiziell unterstützt bedeutet, dass wenn Sachen nicht funktionieren,
|
||||||
wir davon ausgehen, dass es nicht an Sinatra sondern an der jeweiligen
|
wir davon ausgehen, dass es nicht an Sinatra sondern an der jeweiligen
|
||||||
Implementierung liegt.
|
Implementierung liegt.
|
||||||
|
@ -3126,9 +3118,6 @@ werden, dass Sinatra MRI auch weiterhin vollständig unterstützen wird.
|
||||||
Sinatra sollte auf jedem Betriebssystem laufen, das einen funktionierenden
|
Sinatra sollte auf jedem Betriebssystem laufen, das einen funktionierenden
|
||||||
Ruby-Interpreter aufweist.
|
Ruby-Interpreter aufweist.
|
||||||
|
|
||||||
Sinatra läuft aktuell nicht unter Cardinal, SmallRuby, BlueRuby oder Ruby <=
|
|
||||||
2.2.
|
|
||||||
|
|
||||||
## Der neuste Stand (The Bleeding Edge)
|
## Der neuste Stand (The Bleeding Edge)
|
||||||
|
|
||||||
Um auf dem neusten Stand zu bleiben, kann der Master-Branch verwendet werden.
|
Um auf dem neusten Stand zu bleiben, kann der Master-Branch verwendet werden.
|
||||||
|
|
30
README.es.md
30
README.es.md
|
@ -3078,7 +3078,7 @@ Las siguientes versiones de Ruby son soportadas oficialmente:
|
||||||
<dt>Ruby 2.6</dt>
|
<dt>Ruby 2.6</dt>
|
||||||
<dd>
|
<dd>
|
||||||
2.6 Es totalmente compatible y recomendado. Actualmente no hay planes
|
2.6 Es totalmente compatible y recomendado. Actualmente no hay planes
|
||||||
soltar el apoyo oficial para ello.
|
de abandonar el apoyo oficial.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>Rubinius</dt>
|
<dt>Rubinius</dt>
|
||||||
|
@ -3095,33 +3095,15 @@ Las siguientes versiones de Ruby son soportadas oficialmente:
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
Las versiones de Ruby anteriores a 2.6 ya no son compatibles con Sinatra 3.0 .
|
Las versiones de Ruby anteriores a 2.6 ya no son compatibles con Sinatra 3.0. Las próximas
|
||||||
|
versiones 3.x serán totalmente compatibles.
|
||||||
|
|
||||||
Siempre le prestamos atención a las nuevas versiones de Ruby.
|
Usar Sinatra en una implementación de Ruby distinta a las soportadas significa que si las cosas se rompen
|
||||||
|
|
||||||
Las siguientes implementaciones de Ruby no se encuentran soportadas
|
|
||||||
oficialmente. De cualquier manera, pueden ejecutar Sinatra:
|
|
||||||
|
|
||||||
* Versiones anteriores de JRuby y Rubinius
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev e IronRuby
|
|
||||||
* Ruby 1.9.0 y 1.9.1 (pero no te recomendamos que los uses)
|
|
||||||
|
|
||||||
No ser soportada oficialmente, significa que si las cosas se rompen
|
|
||||||
ahí y no en una plataforma soportada, asumimos que no es nuestro problema sino
|
ahí y no en una plataforma soportada, asumimos que no es nuestro problema sino
|
||||||
el suyo.
|
el suyo.
|
||||||
|
|
||||||
También ejecutamos nuestro CI contra ruby-head (futuras versiones de MRI), pero
|
Sinatra debería trabajar en cualquier sistema operativo compatible con la implementación de Ruby
|
||||||
no puede garantizar nada, ya que se mueve constantemente. Esperar próxima
|
elegida.
|
||||||
2.x versiones para ser totalmente compatibles.
|
|
||||||
|
|
||||||
Sinatra debería trabajar en cualquier sistema operativo compatible la implementación de Ruby
|
|
||||||
elegida
|
|
||||||
|
|
||||||
Si ejecuta MacRuby, debe `gem install control_tower`.
|
|
||||||
|
|
||||||
Sinatra actualmente no funciona con Cardinal, SmallRuby, BlueRuby o cualquier
|
|
||||||
versión de Ruby anterior a 2.2.
|
|
||||||
|
|
||||||
## A la Vanguardia
|
## A la Vanguardia
|
||||||
|
|
||||||
|
|
15
README.fr.md
15
README.fr.md
|
@ -2974,18 +2974,10 @@ Les versions suivantes de Ruby sont officiellement supportées :
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
Les versions antérieures à 2.2.2 ne sont plus supportées depuis Sinatra 2.0.
|
Les versions antérieures à 2.6 ne sont plus supportées depuis Sinatra 2.1.
|
||||||
|
|
||||||
Nous gardons également un oeil sur les versions Ruby à venir.
|
Nous gardons également un oeil sur les versions Ruby à venir.
|
||||||
|
|
||||||
Les implémentations Ruby suivantes ne sont pas officiellement supportées mais
|
|
||||||
sont malgré tout connues pour permettre de faire fonctionner Sinatra :
|
|
||||||
|
|
||||||
* Versions plus anciennes de JRuby et Rubinius
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 et 1.9.1 (mais nous déconseillons leur utilisation)
|
|
||||||
|
|
||||||
Le fait de ne pas être officiellement supporté signifie que si quelque chose
|
Le fait de ne pas être officiellement supporté signifie que si quelque chose
|
||||||
ne fonctionne pas sur cette plateforme uniquement alors c'est un problème de la
|
ne fonctionne pas sur cette plateforme uniquement alors c'est un problème de la
|
||||||
plateforme et pas un bug de Sinatra.
|
plateforme et pas un bug de Sinatra.
|
||||||
|
@ -2997,11 +2989,6 @@ continuelles. La version 2.1.0 devrait être totalement supportée.
|
||||||
Sinatra devrait fonctionner sur n'importe quel système d'exploitation
|
Sinatra devrait fonctionner sur n'importe quel système d'exploitation
|
||||||
supporté par l'implémentation Ruby choisie.
|
supporté par l'implémentation Ruby choisie.
|
||||||
|
|
||||||
Si vous utilisez MacRuby, vous devriez `gem install control_tower`.
|
|
||||||
|
|
||||||
Il n'est pas possible d'utiliser Sinatra sur Cardinal, SmallRuby, BlueRuby ou
|
|
||||||
toute version de Ruby antérieure à 1.8.7 à l'heure actuelle.
|
|
||||||
|
|
||||||
## Essuyer les plâtres
|
## Essuyer les plâtres
|
||||||
|
|
||||||
Si vous souhaitez tester la toute dernière version de Sinatra, n'hésitez pas
|
Si vous souhaitez tester la toute dernière version de Sinatra, n'hésitez pas
|
||||||
|
|
11
README.ja.md
11
README.ja.md
|
@ -2698,23 +2698,12 @@ rainbows -c rainbows.conf
|
||||||
|
|
||||||
開発チームは常に最新となるRubyバージョンに注視しています。
|
開発チームは常に最新となるRubyバージョンに注視しています。
|
||||||
|
|
||||||
次のRuby実装は公式にはサポートされていませんが、Sinatraが起動すると報告されています。
|
|
||||||
|
|
||||||
* JRubyとRubiniusの古いバージョン
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0と1.9.1 (これらの使用はお薦めしません)
|
|
||||||
|
|
||||||
公式サポートをしないという意味は、問題がそこだけで起こり、サポートされているプラットフォーム上では起きない場合に、開発チームはそれはこちら側の問題ではないとみなすということです。
|
公式サポートをしないという意味は、問題がそこだけで起こり、サポートされているプラットフォーム上では起きない場合に、開発チームはそれはこちら側の問題ではないとみなすということです。
|
||||||
|
|
||||||
開発チームはまた、ruby-head(最新となる2.1.0)に対しCIを実行していますが、それが一貫して動くようになるまで何も保証しません。2.1.0が完全にサポートされればその限りではありません。
|
開発チームはまた、ruby-head(最新となる2.1.0)に対しCIを実行していますが、それが一貫して動くようになるまで何も保証しません。2.1.0が完全にサポートされればその限りではありません。
|
||||||
|
|
||||||
Sinatraは、利用するRuby実装がサポートしているオペレーティングシステム上なら動作するはずです。
|
Sinatraは、利用するRuby実装がサポートしているオペレーティングシステム上なら動作するはずです。
|
||||||
|
|
||||||
MacRubyを使う場合は、`gem install control_tower`してください。
|
|
||||||
|
|
||||||
Sinatraは現在、Cardinal、SmallRuby、BlueRubyまたは1.8.7以前のバージョンのRuby上では動作しません。
|
|
||||||
|
|
||||||
## 最新開発版
|
## 最新開発版
|
||||||
|
|
||||||
Sinatraの最新開発版のコードを使いたい場合は、マスターブランチに対してアプリケーションを走らせて構いません。ある程度安定しています。また、適宜プレリリース版gemをpushしているので、
|
Sinatraの最新開発版のコードを使いたい場合は、マスターブランチに対してアプリケーションを走らせて構いません。ある程度安定しています。また、適宜プレリリース版gemをpushしているので、
|
||||||
|
|
13
README.ko.md
13
README.ko.md
|
@ -2801,14 +2801,6 @@ thin --threaded start
|
||||||
|
|
||||||
새로 나오는 루비 버전도 주시하고 있습니다.
|
새로 나오는 루비 버전도 주시하고 있습니다.
|
||||||
|
|
||||||
다음 루비 구현체들은 공식적으로 지원하지 않지만
|
|
||||||
여전히 Sinatra를 실행할 수 있는 것으로 알려져 있습니다.
|
|
||||||
|
|
||||||
* JRuby와 Rubinius 예전 버전
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 및 1.9.1 (이 버전들은 사용하지 말 것을 권합니다)
|
|
||||||
|
|
||||||
공식적으로 지원하지 않는다는 것의 의미는 무언가가 그 플랫폼에서만 잘못 동작하고,
|
공식적으로 지원하지 않는다는 것의 의미는 무언가가 그 플랫폼에서만 잘못 동작하고,
|
||||||
지원되는 플랫폼에서는 정상적으로 동작할 경우, 우리의 문제가 아니라 그 플랫폼의 문제로
|
지원되는 플랫폼에서는 정상적으로 동작할 경우, 우리의 문제가 아니라 그 플랫폼의 문제로
|
||||||
간주한다는 뜻입니다.
|
간주한다는 뜻입니다.
|
||||||
|
@ -2820,11 +2812,6 @@ thin --threaded start
|
||||||
Sinatra는 선택한 루비 구현체가 지원하는 어떠한 운영체제에서도 작동해야
|
Sinatra는 선택한 루비 구현체가 지원하는 어떠한 운영체제에서도 작동해야
|
||||||
합니다.
|
합니다.
|
||||||
|
|
||||||
MacRuby를 사용한다면, gem install control_tower 를 실행해 주세요.
|
|
||||||
|
|
||||||
현재 Cardinal, SmallRuby, BlueRuby 또는 1.8.7 이전의 루비 버전에서는
|
|
||||||
Sinatra를 실행할 수 없을 것입니다.
|
|
||||||
|
|
||||||
## 최신(The Bleeding Edge)
|
## 최신(The Bleeding Edge)
|
||||||
|
|
||||||
Sinatra의 가장 최근 코드를 사용하고자 한다면, 애플리케이션을 마스터 브랜치에 맞춰
|
Sinatra의 가장 최근 코드를 사용하고자 한다면, 애플리케이션을 마스터 브랜치에 맞춰
|
||||||
|
|
|
@ -3005,33 +3005,20 @@ The following Ruby versions are officially supported:
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
Versions of Ruby prior to 2.2.2 are no longer supported as of Sinatra 2.0.
|
Versions of Ruby prior to 2.6 are no longer supported as of Sinatra 3.0.
|
||||||
|
|
||||||
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
|
|
||||||
known to run Sinatra:
|
|
||||||
|
|
||||||
* Older versions of JRuby and Rubinius
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 and 1.9.1 (but we do recommend against using those)
|
|
||||||
|
|
||||||
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 (future releases of MRI), but we
|
We also run our CI against ruby-head (future releases of MRI), but we
|
||||||
can't guarantee anything, since it is constantly moving. Expect upcoming
|
can't guarantee anything, since it is constantly moving. Expect upcoming
|
||||||
2.x releases to be fully supported.
|
3.x releases to be fully 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
|
|
||||||
Ruby version prior to 2.2.
|
|
||||||
|
|
||||||
## The Bleeding Edge
|
## The Bleeding Edge
|
||||||
|
|
||||||
If you would like to use Sinatra's latest bleeding-edge code, feel free
|
If you would like to use Sinatra's latest bleeding-edge code, feel free
|
||||||
|
|
23
README.md
23
README.md
|
@ -3069,30 +3069,13 @@ The following Ruby versions are officially supported:
|
||||||
|
|
||||||
Versions of Ruby before 2.6 are no longer supported as of Sinatra 3.0.0.
|
Versions of Ruby before 2.6 are no longer supported as of Sinatra 3.0.0.
|
||||||
|
|
||||||
We also keep an eye on upcoming Ruby versions.
|
We also keep an eye on upcoming Ruby versions. Expect upcoming
|
||||||
|
3.x releases to be fully supported.
|
||||||
The following Ruby implementations are not officially supported but still are
|
|
||||||
known to run Sinatra:
|
|
||||||
|
|
||||||
* Older versions of JRuby and Rubinius
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 and 1.9.1 (but we do recommend against using those)
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
We also run our CI against ruby-head (future releases of MRI), but we
|
|
||||||
can't guarantee anything, since it is constantly moving. Expect upcoming
|
|
||||||
2.x releases to be fully 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`.
|
Running Sinatra on a not officially supported Ruby flavor means that if things only break there we assume it's not our issue but theirs.
|
||||||
|
|
||||||
Sinatra currently doesn't run on Cardinal, SmallRuby, BlueRuby or any
|
|
||||||
Ruby version prior to 2.2.
|
|
||||||
|
|
||||||
## The Bleeding Edge
|
## The Bleeding Edge
|
||||||
|
|
||||||
|
|
|
@ -3650,34 +3650,21 @@ As seguintes versões do Ruby são oficialmente suportadas:
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
Versões do Ruby antes da 2.2.2 não são mais suportadas pelo Sinatra 2.0.
|
Versões do Ruby antes da 2.6 não são mais suportadas pelo Sinatra 3.0.
|
||||||
|
|
||||||
Nós também estamos de olhos em versões futuras do Ruby.
|
Nós também estamos de olhos em versões futuras do Ruby.
|
||||||
|
|
||||||
As seguintes implementações do Ruby não são oficialmente suportadas mas sabemos
|
|
||||||
que rodam o Sinatra:
|
|
||||||
|
|
||||||
* Versões antigas do JRuby e Rubinius
|
|
||||||
* Ruby Enterprise Edition
|
|
||||||
* MacRuby, Maglev, IronRuby
|
|
||||||
* Ruby 1.9.0 e 1.9.1 (mas nós não recomendamos o uso dessas)
|
|
||||||
|
|
||||||
Não ser oficialmente suportada significa que se algo quebrar e não estiver nas
|
Não ser oficialmente suportada significa que se algo quebrar e não estiver nas
|
||||||
plataformas suporta, iremos assumir que não é um problema nosso e sim das
|
plataformas suporta, iremos assumir que não é um problema nosso e sim das
|
||||||
plataformas.
|
plataformas.
|
||||||
|
|
||||||
Nós também rodas nossa IC sobre ruby-head (lançamentos futuros do MRI), mas nós
|
Nós também rodas nossa IC sobre ruby-head (lançamentos futuros do MRI), mas nós
|
||||||
não podemos garantir nada, já que está em constante mudança. Espera-se que
|
não podemos garantir nada, já que está em constante mudança. Espera-se que
|
||||||
lançamentos futuros da versão 2.x sejam totalmente suportadas.
|
lançamentos futuros da versão 3.x sejam totalmente suportadas.
|
||||||
|
|
||||||
Sinatra deve funcionar em qualquer sistema operacional suportado pela
|
Sinatra deve funcionar em qualquer sistema operacional suportado pela
|
||||||
implementação Ruby escolhida.
|
implementação Ruby escolhida.
|
||||||
|
|
||||||
Se você rodar MacRuby, você deve rodar `gem install control_tower`.
|
|
||||||
|
|
||||||
O Sinatra atualmente não roda em Cardinal, SmallRuby, BlueRuby ou qualquer
|
|
||||||
versão do Ruby anterior ao 2.2.
|
|
||||||
|
|
||||||
## A última versão
|
## A última versão
|
||||||
|
|
||||||
Se você gostaria de utilizar o código da última versão do Sinatra, sinta-se
|
Se você gostaria de utilizar o código da última versão do Sinatra, sinta-se
|
||||||
|
|
15
README.ru.md
15
README.ru.md
|
@ -3075,30 +3075,17 @@ thin --threaded start
|
||||||
|
|
||||||
Мы также следим за предстоящими к выходу версиями Ruby.
|
Мы также следим за предстоящими к выходу версиями Ruby.
|
||||||
|
|
||||||
Следующие реализации Ruby не поддерживаются официально, однако известно, что
|
|
||||||
на них запускается Sinatra:
|
|
||||||
|
|
||||||
* старые версии JRuby и Rubinius;
|
|
||||||
* Ruby Enterprise Edition;
|
|
||||||
* MacRuby, Maglev, IronRuby;
|
|
||||||
* Ruby 1.9.0 и 1.9.1 (настоятельно не рекомендуются к использованию).
|
|
||||||
|
|
||||||
То, что версия официально не поддерживается, означает, что, если что-то не
|
То, что версия официально не поддерживается, означает, что, если что-то не
|
||||||
работает на этой версии, а на поддерживаемой работает — это не наша проблема,
|
работает на этой версии, а на поддерживаемой работает — это не наша проблема,
|
||||||
а их.
|
а их.
|
||||||
|
|
||||||
Мы также запускаем наши CI-тесты на ruby-head (будущие версии MRI), но мы не
|
Мы также запускаем наши CI-тесты на ruby-head (будущие версии MRI), но мы не
|
||||||
можем ничего гарантировать, так как ведётся постоянная разработка.
|
можем ничего гарантировать, так как ведётся постоянная разработка.
|
||||||
Предполагается, что предстоящие релизы 2.x будут полностью поддерживаться.
|
Предполагается, что предстоящие релизы 3.x будут полностью поддерживаться.
|
||||||
|
|
||||||
Sinatra должна работать на любой операционной системе, в которой есть одна из
|
Sinatra должна работать на любой операционной системе, в которой есть одна из
|
||||||
указанных выше версий Ruby.
|
указанных выше версий Ruby.
|
||||||
|
|
||||||
Если вы запускаете MacRuby, вы должны выполнить `gem install control_tower`.
|
|
||||||
|
|
||||||
Пока невозможно запустить Sinatra на Cardinal, SmallRuby, BlueRuby и на любой
|
|
||||||
версии Ruby ниже 2.2.
|
|
||||||
|
|
||||||
## Самая свежая версия
|
## Самая свежая версия
|
||||||
|
|
||||||
Если вы хотите использовать самый последний релиз Sinatra, не бойтесь запускать
|
Если вы хотите использовать самый последний релиз Sinatra, не бойтесь запускать
|
||||||
|
|
13
README.zh.md
13
README.zh.md
|
@ -2783,24 +2783,13 @@ thin --threaded start
|
||||||
|
|
||||||
我们也在时刻关注新的 Ruby 版本。
|
我们也在时刻关注新的 Ruby 版本。
|
||||||
|
|
||||||
以下 Ruby 实现不受 Sinatra 官方支持,但可以运行 Sinatra:
|
|
||||||
|
|
||||||
* 老版本 JRuby 和 Rubinius
|
|
||||||
* Ruby 企业版
|
|
||||||
* MacRuby、Maglev、IronRuby
|
|
||||||
* Ruby 1.9.0 和 1.9.1 (不推荐使用)
|
|
||||||
|
|
||||||
不受官方支持的意思是,如果仅在不受支持的 Ruby 实现上发生错误,我们认为不是我们的问题,而是该实现的问题。
|
不受官方支持的意思是,如果仅在不受支持的 Ruby 实现上发生错误,我们认为不是我们的问题,而是该实现的问题。
|
||||||
|
|
||||||
我们同时也针对 ruby-head (MRI 的未来版本)运行 CI,但由于 ruby-head 一直处在变化之中,
|
我们同时也针对 ruby-head (MRI 的未来版本)运行 CI,但由于 ruby-head 一直处在变化之中,
|
||||||
我们不能作任何保证。我们期望完全支持未来的 2.x 版本。
|
我们不能作任何保证。我们期望完全支持未来的 3.x 版本。
|
||||||
|
|
||||||
Sinatra 应该会运行在任何支持上述 Ruby 实现的操作系统上。
|
Sinatra 应该会运行在任何支持上述 Ruby 实现的操作系统上。
|
||||||
|
|
||||||
如果你使用 MacRuby,你应该 `gem install control_tower`。
|
|
||||||
|
|
||||||
Sinatra 目前不支持 Cardinal、SmallRuby、BlueRuby 或其它 1.8.7 之前的 Ruby 版本。
|
|
||||||
|
|
||||||
## 紧跟前沿
|
## 紧跟前沿
|
||||||
|
|
||||||
如果你想使用 Sinatra 的最新代码,请放心使用 master 分支来运行你的程序,它是相当稳定的。
|
如果你想使用 Sinatra 的最新代码,请放心使用 master 分支来运行你的程序,它是相当稳定的。
|
||||||
|
|
|
@ -1219,8 +1219,7 @@ module Sinatra
|
||||||
/rubygems\/(custom|core_ext\/kernel)_require\.rb$/, # rubygems require hacks
|
/rubygems\/(custom|core_ext\/kernel)_require\.rb$/, # rubygems require hacks
|
||||||
/active_support/, # active_support require hacks
|
/active_support/, # active_support require hacks
|
||||||
/bundler(\/(?:runtime|inline))?\.rb/, # bundler require hacks
|
/bundler(\/(?:runtime|inline))?\.rb/, # bundler require hacks
|
||||||
/<internal:/, # internal in ruby >= 1.9.2
|
/<internal:/ # internal in ruby >= 1.9.2
|
||||||
/src\/kernel\/bootstrap\/[A-Z]/ # maglev kernel files
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# contrary to what the comment said previously, rubinius never supported this
|
# contrary to what the comment said previously, rubinius never supported this
|
||||||
|
@ -1843,15 +1842,11 @@ module Sinatra
|
||||||
|
|
||||||
ruby_engine = defined?(RUBY_ENGINE) && RUBY_ENGINE
|
ruby_engine = defined?(RUBY_ENGINE) && RUBY_ENGINE
|
||||||
|
|
||||||
if ruby_engine == 'macruby'
|
server.unshift 'reel'
|
||||||
server.unshift 'control_tower'
|
server.unshift 'puma'
|
||||||
else
|
server.unshift 'mongrel' if ruby_engine.nil?
|
||||||
server.unshift 'reel'
|
server.unshift 'thin' if ruby_engine != 'jruby'
|
||||||
server.unshift 'puma'
|
server.unshift 'trinidad' if ruby_engine == 'jruby'
|
||||||
server.unshift 'mongrel' if ruby_engine.nil?
|
|
||||||
server.unshift 'thin' if ruby_engine != 'jruby'
|
|
||||||
server.unshift 'trinidad' if ruby_engine == 'jruby'
|
|
||||||
end
|
|
||||||
|
|
||||||
set :absolute_redirects, true
|
set :absolute_redirects, true
|
||||||
set :prefixed_redirects, false
|
set :prefixed_redirects, false
|
||||||
|
|
Loading…
Reference in New Issue