This file contains 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 gem source -a http://gems.github.com | |
# sudo gem install thoughtbot-paperclip giraffesoft-resource_controller restfulx | |
def mate(path='') | |
run "mate #{path}" | |
end | |
def step(name='') | |
$step_count ||= 0 | |
$step_count += 1 |
This file contains 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
# It seems you need the latest version of rubygems | |
sudo gem update --system | |
# and some RPM's | |
sudo yum install libxml libxml-devel libxslt libxslt-devel | |
# now the gem should install ok | |
sudo gem install nokogiri |
This file contains 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 gem update rails | |
sudo gem update passenger | |
sudo passenger-install-apache2-module |
This file contains 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
function use_ruby_186 { | |
export MY_RUBY_HOME=/System/Library/Frameworks/Ruby.framework/Versions/Current/usr | |
export GEM_HOME=~/.gem/ruby/1.8 | |
update_path | |
} | |
function use_ruby_187 { | |
export MY_RUBY_HOME=/opt/local | |
export GEM_HOME=~/.gem/ruby/1.8 |
NewerOlder