[openstreetmap-website] Include installation documentation in the repository (#317)

Shaun McDonald notifications at github.com
Tue Jun 25 10:12:29 UTC 2013


> +To clone only the most recent version (~23MB), instead use a 'shallow clone':
> +
> +```
> +git clone --depth=1 https://github.com/openstreetmap/openstreetmap-website.git
> +```
> +
> +If you want to add in the full history later on, perhaps to run `git blame` or `git log`, run `git fetch --depth=1000000`
> +
> +
> +## Ruby gems
> +
> +We use [Bundle](http://gembundler.com/) to manage the rubygems required for the project.
> +
> +```
> +cd openstreetmap-website
> +bundle install

Nope, bundle install should be done without sudo, and if sudo is required, then it will ask you for the password. In a lot of cases the install of gems doesn't require sudo. It's only if it decides to install the gems in the root only system repo, that can be avoided with another param. Another issue with using sudo, is the local bundler folders/files are then owned by root rather than you.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/317/files#r4862787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130625/a592b028/attachment.html>


More information about the rails-dev mailing list