#!/bin/bash cd .. CURRENT_VERSION=$(cat lib/core/constants.rb | grep VERSION | cut -d '"' -f 2) gem build krypton.gemspec gem install krypton-$CURRENT_VERSION.gem