Skip to content

Instantly share code, notes, and snippets.

@mistersourcerer
Created April 17, 2012 18:46
Show Gist options
  • Save mistersourcerer/2408142 to your computer and use it in GitHub Desktop.
Save mistersourcerer/2408142 to your computer and use it in GitHub Desktop.
rbenv, ruby-build, hey ho
cd ~ && git clone git://github.com/sstephenson/rbenv.git .rbenv && echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc && echo 'eval "$(rbenv init -)"' >> ~/.bashrc && source ~/.bashrc && git clone git://github.com/sstephenson/ruby-build.git && cd ruby-build && export PREFIX=”$HOME” && ./install.sh && echo 'export PATH="$HOME/ruby-build/bin:$PATH"' >> ~/.bashrc && cd ~ && source ~/.bashrc && rbenv-install 1.9.3-p125 && rbenv global 1.9.3-p125
gem update --system && gem install bundler --no-rdoc --no-ri && gem install rails -v 3.0.10 --no-rdoc --no-ri && exec $SHELL && rails new rails_inst -d mysql && cd rails_inst && bundle install && cd .. && rm -rf rails_inst && gem install paperclip nokogiri will_paginate jquery-rails --no-rdoc --no-ri && gem install sqlite3 -v 1.3.6 --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment