From beb7e96b45b8d32d87a3d128b4068ca4c3b36853 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Wed, 31 Jul 2013 13:44:44 +0200 Subject: Moved the install script from Ruby to plain bash --- install.rb | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 install.rb (limited to 'install.rb') diff --git a/install.rb b/install.rb deleted file mode 100644 index af00537..0000000 --- a/install.rb +++ /dev/null @@ -1,29 +0,0 @@ -## -# Simple script to install all the files to our home -# - -#!/usr/bin/env ruby - -# Check for the wirble gem since the .irbrc file requires -# this gem to successfully work. -begin - require 'wirble' -rescue LoadError - puts 'The .irbrc file requires wirble and you haven\'t this gem installed!' - exit -end - -# You can change your home directory ;) -home = ARGV[0] -home ||= '$HOME' - -`cp bashrc #{home}/.bashrc` -`cp irbrc #{home}/.irbrc` -`cp gemrc #{home}/.gemrc` -`cp gitcompletion #{home}/.gitcompletion.sh` -`cp gitconfig #{home}/.gitconfig` -`cp global.gitignore #{home}/.gitignore` -`cp vimrc #{home}/.vimrc` -`cp hgrc #{home}/.hgrc` -`cp rake_completion #{home}/.rake_completion` -`chmod +x #{home}/.rake_completion` -- cgit v1.2.3