diff options
author | Pawel Janiak <brand.magnate@gmail.com> | 2013-08-16 13:04:28 +0200 |
---|---|---|
committer | Pawel Janiak <brand.magnate@gmail.com> | 2013-08-16 14:37:32 +0200 |
commit | 7889e3da6c3f41ecff7dc6075a6fce9c597d56be (patch) | |
tree | 6470e0bb0d9e336b455da061a24aa18df1c4ec48 | |
parent | 5c6e11d6b89444eefcb12e24d5419dadefdea1ba (diff) | |
download | rails-7889e3da6c3f41ecff7dc6075a6fce9c597d56be.tar.gz rails-7889e3da6c3f41ecff7dc6075a6fce9c597d56be.tar.bz2 rails-7889e3da6c3f41ecff7dc6075a6fce9c597d56be.zip |
Add note about installing and running Memcached for Rails test suite tests that depend on it. [ci skip]
-rw-r--r-- | guides/source/development_dependencies_install.md | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index ec25e09222..8d02027f2d 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -113,7 +113,29 @@ and run: $ bundle install --without db ``` -This command will install all dependencies except the MySQL and PostgreSQL Ruby drivers. We will come back to these soon. With dependencies installed, you can run the test suite with: +This command will install all dependencies except the MySQL and PostgreSQL Ruby drivers. We will come back to these soon. + +NOTE: If you would like to run the tests that use memcached, you need to ensure that you have it installed and running. + +You can use homebrew to install memcached on OSX: + +```bash +$ brew install memcached +``` + +On Ubuntu you can install it with apt-get: + +```bash +$ sudo apt-get install memcached +``` + +Or use yum on Fedora or CentOS: + +```bash +$ sudo yum install memcached +``` + +With the dependencies now installed, you can run the test suite with: ```bash $ bundle exec rake test |