diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2011-10-06 20:32:04 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2011-10-06 20:32:04 +0200 |
| commit | 7cd33c33d5c71abc77fdd765fb6bcc490b2e1e52 (patch) | |
| tree | 9377290351788dec73ef6e584bdacf6a336681cf /install.rb | |
| parent | 30ce16e20a12deef3ee97003694f6ae505936080 (diff) | |
| download | dotfiles-7cd33c33d5c71abc77fdd765fb6bcc490b2e1e52.tar.gz dotfiles-7cd33c33d5c71abc77fdd765fb6bcc490b2e1e52.zip | |
Check for the wirble gem before installing
Diffstat (limited to 'install.rb')
| -rw-r--r-- | install.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4,6 +4,14 @@ #!/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!' +end + # You can change your home directory ;) home = ARGV[0] home ||= '$HOME' |
