taskjuggler/TaskJuggler — Issue #33: Build taskjuggler via rake
Author: maxmeyer
Created: 2012-01-06 10:24:47+00:00
State: open

Hi,

it's me again. You require `term/ansicolor`, but did not check if it's installed which gives if the gem is not installed.

`vim.rake tasks unavailable: cannot load such file -- term/ansicolor`

May you want to do the following in your rake file

```ruby
begin
require 'term/ansicolor'
rescue LoadError
puts "\taskjuggler builder requires term-ansi to highlight messages."
puts "Please install it first:\n\ngem install term-ansi'"
exit 1
end
```

Maybe it would be helpfull for others that you offer a minimal Gemfile as well.

```ruby
source 'https://rubygems.org'
#load deps from gemspec
gemspec
```

And a rake task to prepare the "environment" to hack taskjuggler.
`rake prep_env`

Cheers,
maxmeyer