Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ aptinstaller Public archive

Automatically install a project's dependencies via apt-get

License

Notifications You must be signed in to change notification settings

ngauthier/aptinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Automatically install a project's dependencies via apt-get

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages