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.318 docker/provisioners/ruby.sh
cryptum-0.0.317 docker/provisioners/ruby.sh
cryptum-0.0.316 docker/provisioners/ruby.sh
cryptum-0.0.315 docker/provisioners/ruby.sh
cryptum-0.0.314 docker/provisioners/ruby.sh
cryptum-0.0.313 docker/provisioners/ruby.sh
cryptum-0.0.312 docker/provisioners/ruby.sh
cryptum-0.0.311 docker/provisioners/ruby.sh
cryptum-0.0.310 docker/provisioners/ruby.sh
cryptum-0.0.309 docker/provisioners/ruby.sh
cryptum-0.0.308 docker/provisioners/ruby.sh
cryptum-0.0.307 docker/provisioners/ruby.sh
cryptum-0.0.306 docker/provisioners/ruby.sh
cryptum-0.0.305 docker/provisioners/ruby.sh
cryptum-0.0.304 docker/provisioners/ruby.sh
cryptum-0.0.303 docker/provisioners/ruby.sh
cryptum-0.0.302 docker/provisioners/ruby.sh
cryptum-0.0.301 docker/provisioners/ruby.sh
cryptum-0.0.300 docker/provisioners/ruby.sh
cryptum-0.0.299 docker/provisioners/ruby.sh