Skip to content

Commit

Permalink
Fix rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
icco committed Mar 1, 2011
1 parent 5a79751 commit f1c93d1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Rakefile
Expand Up @@ -17,9 +17,16 @@ desc "Deploy to remote defined in config.yaml"
task :github do
require File.expand_path('../resume',__FILE__)
require 'rubygems'
require 'git'
require 'rack/test'
require 'logger'

# Nice Error checking for gems.
[ 'git', 'rack/test', 'logger' ].each {|gem|
begin
require gem
rescue LoadError
puts "The gem #{gem} is not installed.\n"
exit
end
}

remote = YAML.load_file('config.yaml')['github']['remote']

Expand Down

0 comments on commit f1c93d1

Please sign in to comment.