From 875aaa3742bb16fbac02667c68a3fb914c39e6e4 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 21 Aug 2014 10:40:54 +0100 Subject: Add notes on how to run tests from a production install. --- docs/installing/manual_install.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/installing') diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index 25175f152..4c9897a7a 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -827,6 +827,15 @@ Check out the [next steps]({{ site.baseurl }}docs/installing/next_steps/). be able to move on to the [next steps]({{ site.baseurl }}docs/installing/next_steps/), depending on how serious they are, but ideally you should try to find out what's gone wrong. + +
+ Note: If you have setup your install of Alaveteli for production, you will need to temporarily remove the file config/rails_env.rb, which is used to force the rails environment to production, and edit your .bundle/config file to remove the BUNDLE_WITHOUT line that excludes development dependencies. After you have done this, as the alaveteli user, run bundle install. You should then be able to run the tests. Don't forget to restore config/rails_env.rb when you're done. You will probably see some errors from cron jobs in the meantime, as they'll be running in development mode. + +
+ + + + * **glibc bug workaround** There's a [bug in -- cgit v1.2.3