sudo apt-get update
sudo apt-get install emacs
sudo apt-get install git libxml2-dev libxslt-dev
- install rbenv (see rbenv install instructions for you platform)
- also install the rbenv-default-gems plugin
- create
~/.rbenv/default-gems
, this should containbundler\nrails
git clone https://github.com/lml/osc.git
cd osc
rvm install "$(cat .ruby-version)"
gem install bundler
bundle install
One note that probably needs addressed
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
If you're upgrading from 3.x, please see the release note in the README:
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
The simple answer is that your index file is now called sitemap.xml.gz
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
Set up the development database using
rake db:setup
afterbundle install
(orbundle install --without production
)