diff options
author | Xavier Noria <fxn@hashref.com> | 2013-07-29 08:15:38 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-07-29 08:15:38 -0700 |
commit | b51786d26e8262534f043c5c614b9e04cd33dbc1 (patch) | |
tree | 62b9c08f731abde987c70d7f773e04be2c82bd13 /guides | |
parent | 1f9f78b1113f30443c19061d00312c75dc96b22a (diff) | |
parent | 1bb9771040fd35b3d9aef7701a6c4b4cbec0a820 (diff) | |
download | rails-b51786d26e8262534f043c5c614b9e04cd33dbc1.tar.gz rails-b51786d26e8262534f043c5c614b9e04cd33dbc1.tar.bz2 rails-b51786d26e8262534f043c5c614b9e04cd33dbc1.zip |
Merge pull request #11654 from robin850/freebsd
Add installation instructions for FreeBSD [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/development_dependencies_install.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index 415cedc4d6..ec25e09222 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -63,6 +63,15 @@ If you are running Arch Linux, you're done with: $ sudo pacman -S libxml2 libxslt ``` +On FreeBSD, you just have to run: + +```bash +# pkg_add -r libxml2 libxslt +``` + +Alternatively, you can install the `textproc/libxml2` and `textproc/libxslt` +ports. + If you have any problems with these libraries, you can install them manually by compiling the source code. Just follow the instructions at the [Red Hat/CentOS section of the Nokogiri tutorials](http://nokogiri.org/tutorials/installing_nokogiri.html#red_hat__centos) . Also, SQLite3 and its development files for the `sqlite3` gem — in Ubuntu you're done with just @@ -83,6 +92,14 @@ If you are on Arch Linux, you will need to run: $ sudo pacman -S sqlite ``` +For FreeBSD users, you're done with: + +```bash +# pkg_add -r sqlite3 +``` + +Or compile the `databases/sqlite3` port. + Get a recent version of [Bundler](http://gembundler.com/) ```bash @@ -157,6 +174,17 @@ $ sudo pacman -S mariadb libmariadbclient mariadb-clients $ sudo pacman -S postgresql postgresql-libs ``` +FreeBSD users will have to run the following: + +```bash +# pkg_add -r mysql56-client mysql56-server +# pkg_add -r postgresql92-client postgresql92-server +``` + +Or install them through ports (they are located under the `databases` folder). +If you run into troubles during the installation of MySQL, please see +[the MySQL documentation](http://dev.mysql.com/doc/refman/5.1/en/freebsd-installation.html). + After that, run: ```bash |