Created
October 27, 2010 23:55
-
-
Save yesezra/650275 to your computer and use it in GitHub Desktop.
for posterity :(
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
task :gem_path do | |
run <<-EOC | |
sed '1 a \ENV["GEM_PATH"] = File.expand_path("~/.gems")' #{current_path}/config/preinitializer.rb > ~/tmpfile | |
EOC | |
run "mv ~/tmpfile #{current_path}/config/preinitializer.rb" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment