remove the roll your own part of docs [ci skip]

This commit is contained in:
burningTyger 2017-02-01 17:54:24 +01:00
parent 500719bb1a
commit 677e735e91
2 changed files with 0 additions and 74 deletions

View File

@ -3210,43 +3210,6 @@ Jetzt kannst du deine Applikation starten:
bundle exec ruby myapp.rb
```
### Eigenes Repository
Um auf dem neuesten Stand von Sinatras Code zu sein, kann eine lokale Kopie
angelegt werden. Gestartet wird in der Anwendung mit dem `sinatra/lib`-Ordner
im `LOAD_PATH`:
```shell
cd myapp
git clone git://github.com/sinatra/sinatra.git
ruby -I sinatra/lib myapp.rb
```
Um Sinatra-Code von Zeit zu Zeit zu aktualisieren:
```shell
cd myproject/sinatra
git pull
```
### Gem erstellen
Aus der eigenen lokalen Kopie kann nun auch ein globales Gem gebaut werden:
```shell
git clone git://github.com/sinatra/sinatra.git
cd sinatra
rake sinatra.gemspec
rake install
```
Falls Gems als Root installiert werden sollen, sollte die letzte Zeile
folgendermaßen lauten:
```shell
sudo rake install
```
## Versions-Verfahren
Sinatra folgt dem sogenannten [Semantic Versioning](http://semver.org/), d.h.

View File

@ -118,8 +118,6 @@ pick up if available.
* [Requirement](#requirement)
* [The Bleeding Edge](#the-bleeding-edge)
* [With Bundler](#with-bundler)
* [Roll Your Own](#roll-your-own)
* [Install Globally](#install-globally)
* [Versioning](#versioning)
* [Further Reading](#further-reading)
@ -3127,41 +3125,6 @@ Now you can run your app like this:
bundle exec ruby myapp.rb
```
### Roll Your Own
Create a local clone and run your app with the `sinatra/lib` directory
on the `$LOAD_PATH`:
```shell
cd myapp
git clone git://github.com/sinatra/sinatra.git
ruby -I sinatra/lib myapp.rb
```
To update the Sinatra sources in the future:
```shell
cd myapp/sinatra
git pull
```
### Install Globally
You can build the gem on your own:
```shell
git clone git://github.com/sinatra/sinatra.git
cd sinatra
rake sinatra.gemspec
rake install
```
If you install gems as root, the last step should be:
```shell
sudo rake install
```
## Versioning
Sinatra follows [Semantic Versioning](http://semver.org/), both SemVer and