Skip to content

Instantly share code, notes, and snippets.

@miwillhite
Last active December 21, 2015 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miwillhite/6307517 to your computer and use it in GitHub Desktop.
Save miwillhite/6307517 to your computer and use it in GitHub Desktop.
[2013-08-22 15:15:42] requirements_debian_libs_install
requirements_debian_libs_install ()
{
__rvm_try_sudo apt-get --no-install-recommends --yes install "$@" || return $?
}
current path: /home/vagrant
command(4): requirements_debian_libs_install libgdbm-dev pkg-config libffi-dev
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
libffi-dev libgdbm-dev pkg-config
0 upgraded, 3 newly installed, 0 to remove and 134 not upgraded.
Need to get 164 kB of archives.
After this operation, 680 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libgdbm-dev amd64 1.8.3-10 [26.5 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/main pkg-config amd64 0.26-1ubuntu1 [40.9 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise/main libffi-dev amd64 3.0.11~rc1-5 [96.1 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 164 kB in 1s (112 kB/s)
dpkg: warning: 'ldconfig' not found in PATH or not executable.
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable.
dpkg: error: 2 expected programs not found in PATH or not executable.
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
E: Sub-process /usr/bin/dpkg returned an error code (2)
rvm-deps:
pkg.installed:
- pkgs:
- bash
- coreutils
- gzip
- bzip2
- gawk
- sed
- curl
- git-core
- subversion
mri-deps:
pkg.installed:
- pkgs:
- build-essential
- openssl
- libreadline6
- libreadline6-dev
- curl
- git-core
- zlib1g
- zlib1g-dev
- libssl-dev
- libyaml-dev
- libsqlite3-0
- libsqlite3-dev
- sqlite3
- libxml2-dev
- libxslt1-dev
- autoconf
- libc6-dev
- libncurses5-dev
- automake
- libtool
- bison
- subversion
- ruby
ruby-1.9.2-p290:
rvm.installed:
- runas: vagrant
- require:
- pkg: rvm-deps
- pkg: mri-deps
include:
- ssh-formula
# Create our gemset
user_central:
rvm.gemset_present:
- runas: vagrant
- ruby: ruby-1.9.2-p290
- require:
- rvm: ruby-1.9.2-p290
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment