Skip to content

Ruby on Rails - Development Dependencies

Install the following packages to set up your machine for Rails development.

Install Dependencies

I have removed some packages from the recommended listing found here to avoid installing a full database server on a development machine, only the development libraries (headers) will be installed to be able to build their respective gems, such as Postgres or MariaDB.

This will provide us with client side functionality, leaving server side implementations to a dedicated host.

rails_dependencies.sh
sudo pacman -S \
    sqlite \
    mariadb-clients \
    mariadb-libs \
    postgresql-libs \
    imagemagick \
    ffmpeg \
    mupdf \
    mupdf-tools \
    poppler \
    yarn \
    libxml2 \
    libvips