Sha256: d8bba2b84b248cbc0af6645dab3b17e1a3bd7d8e7a8ea0ffd0f34fde9281f920

Contents?: true

Size: 812 Bytes

Versions: 224

Compression:

Stored size: 812 Bytes

Contents

#!/bin/bash --login
source /etc/profile.d/globals.sh

cryptum_root="${CRYPTUM_ROOT}"

$screen_cmd "${apt} install -y build-essential bison openssl libreadline-dev curl git-core git zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake libtool libpcap-dev libsqlite3-dev libgmp-dev ${assess_update_errors}"
grok_error

# Clone now to get the proper version of Ruby
sudo /bin/bash --login -c "mkdir /root/.ssh"
sudo /bin/bash --login -c "ssh-keyscan -H github.com > /root/.ssh/known_hosts"
sudo /bin/bash --login -c "git clone ssh://git@github.com/0dayinc/cryptum.git ${cryptum_root}"

ruby_version=`cat ${cryptum_root}/.ruby-version`
ruby_gemset=`cat ${cryptum_root}/.ruby-gemset`
sudo /bin/bash --login -c "source /etc/profile.d/rvm.sh && rvm install ruby-${ruby_version}"

Version data entries

224 entries across 224 versions & 1 rubygems

Version Path
cryptum-0.0.256 docker/provisioners/ruby.sh
cryptum-0.0.255 docker/provisioners/ruby.sh
cryptum-0.0.254 docker/provisioners/ruby.sh
cryptum-0.0.253 docker/provisioners/ruby.sh
cryptum-0.0.252 docker/provisioners/ruby.sh
cryptum-0.0.251 docker/provisioners/ruby.sh
cryptum-0.0.250 docker/provisioners/ruby.sh
cryptum-0.0.249 docker/provisioners/ruby.sh
cryptum-0.0.248 docker/provisioners/ruby.sh
cryptum-0.0.247 docker/provisioners/ruby.sh
cryptum-0.0.246 docker/provisioners/ruby.sh
cryptum-0.0.245 docker/provisioners/ruby.sh
cryptum-0.0.244 docker/provisioners/ruby.sh
cryptum-0.0.243 docker/provisioners/ruby.sh
cryptum-0.0.242 docker/provisioners/ruby.sh
cryptum-0.0.241 docker/provisioners/ruby.sh
cryptum-0.0.240 docker/provisioners/ruby.sh
cryptum-0.0.239 docker/provisioners/ruby.sh
cryptum-0.0.238 docker/provisioners/ruby.sh
cryptum-0.0.234 docker/provisioners/ruby.sh