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.466 docker/provisioners/ruby.sh
cryptum-0.0.465 docker/provisioners/ruby.sh
cryptum-0.0.464 docker/provisioners/ruby.sh
cryptum-0.0.463 docker/provisioners/ruby.sh
cryptum-0.0.462 docker/provisioners/ruby.sh
cryptum-0.0.461 docker/provisioners/ruby.sh
cryptum-0.0.460 docker/provisioners/ruby.sh
cryptum-0.0.459 docker/provisioners/ruby.sh
cryptum-0.0.458 docker/provisioners/ruby.sh
cryptum-0.0.457 docker/provisioners/ruby.sh
cryptum-0.0.456 docker/provisioners/ruby.sh
cryptum-0.0.455 docker/provisioners/ruby.sh
cryptum-0.0.454 docker/provisioners/ruby.sh
cryptum-0.0.453 docker/provisioners/ruby.sh
cryptum-0.0.452 docker/provisioners/ruby.sh
cryptum-0.0.451 docker/provisioners/ruby.sh
cryptum-0.0.450 docker/provisioners/ruby.sh
cryptum-0.0.449 docker/provisioners/ruby.sh
cryptum-0.0.448 docker/provisioners/ruby.sh
cryptum-0.0.447 docker/provisioners/ruby.sh