Skip to content
Browse files

Update installation of gemrc

  • Loading branch information...
1 parent b8ee877 commit 8c05ef29e23f44b5318f089bcdfe91d4d9412379 @andrewle committed Feb 17, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 Rakefile
View
9 Rakefile
@@ -2,7 +2,7 @@ mappings = {
"bash_login" => "~/.bash_login",
"ackrc" => "~/.ackrc",
"tmux.conf" => "~/.tmux.conf",
- "gemrc" => "~/.gemrc",
+ "secure/gemrc" => "~/.gemrc",
"git/gitignore" => "~/.gitignore",
"git/gitconfig" => "~/.gitconfig",
"psqlrc" => "~/.psqlrc",
@@ -16,16 +16,15 @@ task :install do
mappings.each_pair do |src, dest|
if !File.exist?(File.expand_path(dest))
- puts "Installing #{dest}"
- `ln -s #{pwd}/#{src} #{dest}`
+ sh "ln -s #{pwd}/#{src} #{dest}"
end
end
- `git submodule update --init`
+ sh "git submodule update --init"
end
desc 'Uninstall installed dotfile symlinks'
task :uninstall do
- mappings.values.each { |f| `rm #{f}` }
+ mappings.values.each { |f| sh "rm #{f}" }
end

0 comments on commit 8c05ef2

Please sign in to comment.
Something went wrong with that request. Please try again.