Created
June 14, 2015 03:42
-
-
Save abrambailey/32e5c1b5ec4f0e817a67 to your computer and use it in GitHub Desktop.
packer rails environment
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
sudo apt-get -y update | |
sudo apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev git rbenv | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
type rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 2.2.0 | |
sudo apt-get -y install nodejs | |
gem update --system | |
gem install bundler mysql rails thin --no-rdoc --no-ri | |
git clone git://github.com/RailsApps/rails-devise.git | |
cd rails-devise | |
bundle install | |
rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment