aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-12-29 11:38:54 +0100
committerXavier Noria <fxn@hashref.com>2010-12-29 11:38:54 +0100
commit5fc02dbd03e79e24505cda60423de2979fea4124 (patch)
tree5523f16229ff7a301dfd54e8a437a6cfdcc0d27e /railties/guides
parentbf22b287a4720cd4e5fc4206262a09ebf490609a (diff)
downloadrails-5fc02dbd03e79e24505cda60423de2979fea4124.tar.gz
rails-5fc02dbd03e79e24505cda60423de2979fea4124.tar.bz2
rails-5fc02dbd03e79e24505cda60423de2979fea4124.zip
since a lot of people use Ubuntu, document specific aptitude calls for some C dependencies in the contrib guide
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/contributing_to_ruby_on_rails.textile19
1 files changed, 17 insertions, 2 deletions
diff --git a/railties/guides/source/contributing_to_ruby_on_rails.textile b/railties/guides/source/contributing_to_ruby_on_rails.textile
index 7c0f32d9ca..484c36aeea 100644
--- a/railties/guides/source/contributing_to_ruby_on_rails.textile
+++ b/railties/guides/source/contributing_to_ruby_on_rails.textile
@@ -64,7 +64,17 @@ h4. Set up and Run the Tests
The test suite must pass with any submitted code. No matter whether you are writing a new patch, or evaluating someone else's, you need to be able to run the tests.
-Install first libxml2 and libxslt together with their development files for Nokogiri. Also, SQLite3 and its development files for the +sqlite3-ruby+ gem.
+Install first libxml2 and libxslt together with their development files for Nokogiri. In Ubuntu that's
+
+<shell>
+sudo aptitude install libxml2 libxml2-dev libxslt1-dev
+</shell>
+
+Also, SQLite3 and its development files for the +sqlite3-ruby+ gem, in Ubuntu you're done with
+
+<shell>
+sudo aptitude install sqlite3 libsqlite3-dev
+</shell>
Get a recent version of "Bundler":http://gembundler.com/:
@@ -118,7 +128,12 @@ rake test_sqlite3
h5. MySQL and PostgreSQL
-To be able to run the suite for MySQL and PostgreSQL we need their gems. Install first the servers, their client libraries, and their development files.
+To be able to run the suite for MySQL and PostgreSQL we need their gems. Install first the servers, their client libraries, and their development files. In Ubuntu just run
+
+<shell>
+sudo aptitude install mysql-server libmysqlclient15-dev
+sudo aptitude install postgresql postgresql-client postgresql-contrib libpq-dev
+</shell>
After that run: