Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Automatically install a project's dependencies via apt-get
Ruby
branch: master

This branch is 1 commit ahead of ngauthier:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
Gemfile
LICENSE
README.markdown
Rakefile
TODO.markdown
VERSION.yml
aptinstaller.gemspec

README.markdown

Aptinstaller: automatically install apt package dependencies

Description

This gem installs packages through apt-get in a similar manner as geminstaller installs gems.

Usage

aptinstaller [path/to/rails/project/root]

Configuration

Add a Config File

Put something like this in config/aptinstaller.yml:

---
packages:
  - name: firefox
  - name: gpac

Add to Preinitializer

Then in config/preinitializer.rb (create it if it doesn't exist, it's pulled automatically from boot.rb):

require 'rubygems'
require 'aptinstaller'
AptInstaller.autopkg(:config => 'config/aptinstaller.yml')

Installation

Latest Stable

sudo gem install ngauthier-aptinstaller

Cutting Edge

git clone git@github.com:ngauthier/aptinstaller.git aptinstaller
cd aptinstaller
rake gem
sudo gem install pkg/aptinstaller

Other Notes

This gem uses Jeweler. HighFive@technicalpickles!

Something went wrong with that request. Please try again.