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
| module HasPersonProxy | |
| module ClassMethods | |
| def always_has_person | |
| self.instance_eval do | |
| include InstanceMethods | |
| alias_method_chain :person, :proxy | |
| end | |
| end | |
| end |
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
| run("echo group :test, :development do >> Gemfile;") | |
| run("echo gem \\'rspec-rails\\', \\'\\>\\= 2.0.0.beta.22\\' >> Gemfile;") | |
| run("echo gem \\'capybara\\' >> Gemfile;") | |
| run("echo gem \\'database_cleaner\\' >> Gemfile;") | |
| run("echo gem \\'cucumber-rails\\' >> Gemfile;") | |
| run("echo gem \\'cucumber\\' >> Gemfile;") | |
| run("echo gem \\'spork\\' >> Gemfile;") | |
| run("echo gem \\'launchy\\' >> Gemfile;") | |
| run("echo end >> Gemfile;") |
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
| cp ~/.profile ~/.profile.bak | |
| echo 'export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"' > ~/.profile | |
| . ~/.profile | |
| echo 'Creating src directory' | |
| mkdir ~/src | |
| cd ~/src | |
| echo 'Installing Git' | |
| cd ~/src |
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
| cp ~/.profile ~/.profile.bak | |
| echo 'export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"' > ~/.profile | |
| . ~/.profile | |
| echo 'Creating src directory' | |
| mkdir ~/src | |
| cd ~/src | |
| echo 'Installing Git' | |
| cd ~/src |