Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
desc "Run all tests for rbgooey with rcov" Spec::Rake::SpecTask.new('gui') do |t| t.spec_files = FileList['rbgooey/test/*.rb'] t.rcov = true t.ruby_opts ['--exclude', 'lib\/spec,bin\/spec'] end rake gui (in /home/kiba/dynpet/Trunk) /usr/bin/ruby1.8 --exclude /usr/local/lib/site_ruby -I"/usr/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib" -S rcov --exclude lib\/spec,bin\/spec,config\/boot.rb -o "coverage" "/usr/lib/ruby/gems/1.8/gems/rspec-0.8.2/bin/spec" -- "rbgooey/test/test.rb" /usr/bin/ruby1.8: invalid option --exclude (-h will show valid options)
This paste will be private.
From the Design Piracy series on my blog: