Skip to content

Instantly share code, notes, and snippets.

@mmulich
Last active August 29, 2015 14:18
Show Gist options
  • Save mmulich/5ab7a5df56b6c2a95f66 to your computer and use it in GitHub Desktop.
Save mmulich/5ab7a5df56b6c2a95f66 to your computer and use it in GitHub Desktop.
osc install

Install basic packages

sudo apt-get update
sudo apt-get install emacs
sudo apt-get install git libxml2-dev libxslt-dev

Install rbenv

  1. install rbenv (see rbenv install instructions for you platform)
  2. also install the rbenv-default-gems plugin
  3. create ~/.rbenv/default-gems, this should contain bundler\nrails

Install 'osc'

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.

@karenc
Copy link

karenc commented Apr 4, 2015

Set up the development database using rake db:setup after bundle install (or bundle install --without production)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment