diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-15 09:18:06 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-15 09:18:06 +0100 |
commit | b97b857a79cd4130253605b610356bf24c599d03 (patch) | |
tree | db8ef6d551266af0e982e3ea47ba38e2eb95ad6f | |
parent | a4600ef9929dc895666db181b64b51c247cbbf31 (diff) |
Declutter the part of the instructions that deals with bundler; it
should Just Work on debian, and we can add specific instructions for
other platforms in the "troubleshooting" section.
-rw-r--r-- | doc/INSTALL.md | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 2ebc21dab..6ed29f677 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -63,7 +63,9 @@ explanation): sudo ruby1.8 /tmp/rubygems-1.6.2/setup.rb To install Alaveteli's Ruby dependencies, we also need to install -bundler: +bundler. In Debian, this is provided as a package (installed as part +of the package install process above). You could also install it as a +gem: sudo gem1.8 install bundler @@ -222,17 +224,6 @@ One of the things the script does is install dependencies (using `bundle install`). Note that the first time you run it, part of the `bundle install` that compiles `xapian-full` takes a *long* time! -On Debian, at least, the binaries installed by bundler are not put in -the system `PATH`; therefore, in order to run `rake` (needed for -deployments), you will need to do something like: - - ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ - -Or (Debian): - - ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ - - If you want some dummy data to play with, you can try loading the fixtures that the test suite uses into your development database. You can do this with: @@ -462,3 +453,17 @@ various other things that can be automated for deployment. from source, and finally executing `sudo gem update --system 1.6.2`. +* **I'm seeing `rake: command not found` when running the post install script + + The script uses `rake`. + + It may be that the binaries installed by bundler are not put in the + system `PATH`; therefore, in order to run `rake` (needed for + deployments), you may need to do something like: + + ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ + + Or (Debian): + + ln -s /usr/lib/ruby/gems/1.8/bin/rake /usr/local/bin/ + |