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
| # build chef | |
| echo 'Acquire::http { Proxy "http://rocky:3142"; } ;' | sudo tee /etc/apt/apt.conf.d/02proxy | |
| sudo sed -i 's/universe/multiverse universe/' /etc/apt/sources.list | |
| sudo apt-get update | |
| sudo apt-get install -y ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential wget ssl-cert rubygems git-core rake librspec-ruby libxml-ruby thin couchdb zlib1g-dev libxml2-dev | |
| sudo gem sources -a http://gems.opscode.com | |
| sudo gem install cucumber merb-core jeweler uuidtools json libxml-ruby --no-ri --no-rdoc |
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
| # mongo_template.rb | |
| # fork of a fork of Ben Scofield's Rails MongoMapper Template (http://gist.github.com/181842) | |
| # | |
| # To use: | |
| # rails project_name -m template.file | |
| # remove unneeded defaults | |
| run "rm public/index.html" | |
| run "rm public/images/rails.png" | |
| run "rm public/javascripts/controls.js" |
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
| # get current jruby | |
| wget http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.tar.gz | |
| tar xzvf jruby-bin-1.4.0.tar.gz | |
| sudo mv jruby-1.4.0/ /opt | |
| # link executables in /usr/local/bin | |
| sudo ln -s /opt/jruby-1.4.0/bin/{jgem,jirb,jruby} /usr/local/bin |
NewerOlder