Standalone Package Installation
You can install Terraspace as a standalone package. The nice thing about this approach is that it is easy. You don’t have to have Ruby installed. You don’t have to worry about compatible Ruby versions, gems, or conflicting system packages.
Terraspace provides the pre-built binaries. Other tools such as vagrant, written in ruby, and the aws cli, written in python, also work the same way.
Important: If you’re using rvm or rbenv and already have Ruby installed, you should install terraspace as a gem. Otherwise, different gem dependencies from the two installations can be used and cause all kinds of trouble.
Below are quickstart instructions for different OSes.
brew tap boltops-tools/software brew install terraspace
More info on Mac OSX Install
sudo su curl -so /etc/yum.repos.d/boltops.repo https://yum.boltops.com/boltops.repo rpm --import https://yum.boltops.com/boltops-key.public yum install -y terraspace
More info on CentOS Install
sudo su echo "deb https://apt.boltops.com stable main" > /etc/apt/sources.list.d/boltops.list curl -s https://apt.boltops.com/boltops-key.public | apt-key add - apt-get update apt-get install -y terraspace
More info on Ubuntu Install
By default, the standalone installer creates wrapper scripts in
/usr/local/bin. Here are some of them:
/usr/local/bin/bundle /usr/local/bin/gem /usr/local/bin/rspec /usr/local/bin/ruby /usr/local/bin/terraspace
Most users have
/usr/local/bin configured in their PATH. So these wrappers work immediately. If you wish not to have these wrappers generated for you, set
export TS_WRAPPERS=0 before running the installer.
Important: If you have ruby wrappers in
/usr/local/bin already, the installer will overwrite them.
How It Works
The standalone installer packages are built within a few minutes of the terraspace gem release. Here are also details on how the standalone installer works: Standalone Details.