git revert -m 1
I wanted to run a python script only to find out that it depends on a library called boto
.
Downloaded the source, compiled, and ran into a couple of other problems:
- requires BeautifulSoup
- homebrew complains of not having been upgraded for a while
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile | |
echo 'eval "$(rbenv init -)"' >> ~/.profile | |
source ~/.profile | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
RUBY_CONFIGURE_OPTS=--with-openssl-dir="/usr/local/openssl" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -y install postgresql postgresql-client | |
apt-get -y install mysql-server libmysql-client | |
apt-get -y install redis-server | |
apt-get -y install mongodb | |
apt-get -y install imagemagick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more info: https://gist.github.com/1120938 |
Update Homebrew
$ brew update
Install OpenSSL 1.0
$ brew install openssl
Update RVM
Download OpenSSL 1.0
Set rbenv constants
$ export RUBY_CONFIGURE_OPTS=--with-openssl-dir="/usr/local/openssl"
Uninstall previously installed ruby
$ rbenv uninstall <version>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# postinstall.sh created from Mitchell's official lucid32/64 baseboxes | |
date > /etc/vagrant_box_build_time | |
# Apt-install various things necessary for Ruby, guest additions, and command-line development | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y install linux-headers-$(uname -r) build-essential |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec veewee vbox build 'quantal64' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y install linux-headers-$(uname -r) build-essential | |
apt-get -y install zlib1g-dev | |
apt-get -y install libssl-dev | |
apt-get -y install libreadline-gplv2-dev | |
apt-get -y install libyaml-dev | |
apt-get -y install libcurl4-openssl-dev |