README.md in gemirro-0.5.0 vs README.md in gemirro-0.6.0
- old
+ new
@@ -1,6 +1,6 @@
-# Gemirro | [![Build Status](https://travis-ci.org/PierreRambaud/gemirro.svg)](https://travis-ci.org/PierreRambaud/gemirro)
+# Gemirro | [![Build Status](https://travis-ci.org/PierreRambaud/gemirro.svg)](https://travis-ci.org/PierreRambaud/gemirro) [![Gem Version](https://badge.fury.io/rb/gemirro.svg)](http://badge.fury.io/rb/gemirro)
Gemirro is a Ruby application that makes it easy way to create your own RubyGems mirror without having to push or write all gem you wanted in a configuration file.
It does mirroring without any authentication and you can add your private gems in the `gems` directory.
More, to mirroring a source, you only need to start the server, and gems will automaticly be downloaded when needed.
@@ -54,11 +54,11 @@
```
If you want to use a custom configuration file not located in the current directory, use the `-c` or `--config` option.
-##Apache configuration
+## Apache configuration
You must active the apache `proxy` module.
```bash
$ sudo a2enmod proxy
@@ -75,11 +75,11 @@
ProxyPass / http://localhost:2000
ProxyPassReverse / http://localhost:2000
</VirtualHost>
```
-##Nginx configuration
+## Nginx configuration
Replace `localhost:2000` with your custom server configuration located in your `config.rb` file and restart Nginx.
```
upstream gemirro {
@@ -95,6 +95,13 @@
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
```
+
+## Known issues
+
+### could not find a temporary directory
+
+If you use ruby >= 2.0, some urls in the server throwing errors telling `could not find a temporary directory`.
+You only need to do a `chmod o+t /tmp`