aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-04-03 14:10:59 +0100
committerMark Longair <mhl@pobox.com>2013-04-03 16:50:17 +0100
commitb0805449fbac2900450795310f2f1ea4a78abe37 (patch)
tree6abb35dc3530c8422be9e89b677dd70a044779d9
parent40f0272a3a15ea8b75bbd39c2cc2abd3074f8766 (diff)
script/plugin no longer exists in Rails 3
Instead we should use "bundle exec rails plugin". The "-r rails-3" is to make sure that we get the Rails 3 version of the theme, i.e. one that uses Rails.root instead of RAILS_ROOT. (Unfortunately, it doesn't work specifying an annotated tag with "-r", so we use a branch name instead, say, of "use-alaveteli-0.10".)
-rw-r--r--doc/THEMES.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/THEMES.md b/doc/THEMES.md
index 02070644a..8c4b927da 100644
--- a/doc/THEMES.md
+++ b/doc/THEMES.md
@@ -42,8 +42,8 @@ explanation.
You can also install the sample theme by hand, by running:
- ./script/plugin install git://github.com/mysociety/alavetelitheme.git
-
+ bundle exec rails plugin install git://github.com/mysociety/alavetelitheme.git -r rails-3
+
The sample theme contains examples for nearly everything you might
want to customise. You should probably make a copy, rename it, and
use that as the basis for your own theme.