[dev] Running rake in ruby18 + ruby19 failing differently

10 views
Skip to first unread message

Dr Nic

unread,
Aug 18, 2009, 5:59:59 PM8/18/09
to webrat
Apparently I'm not very bright :) I can't run "rake" within webrat
source in either ruby18 or ruby19 without an error.

## In ruby18:

$ rake
(in /Users/drnic/Documents/ruby/gems/webrat)
Jeweler not available. Install it with: gem install jeweler
rake aborted!
no such file to load -- spec/rake/spectask
/Users/drnic/Documents/ruby/gems/webrat/Rakefile:35:in `require'
(See full trace by running task with --trace)

I have both jeweler + rspec installed. So I assume the issue here is
rubygems. Is there an assumption webrat devs have that rubygems is pre-
loaded into ruby18 somehow? What do I need to setup to ensure rubygems
is loaded without adding 'require "rubygems"' to the top of the
Rakefile?


## In ruby19:

$ rake
... lots and lots of gemspec warnings
Don't know how to build task 'check_dependencies'

Where should 'check_dependencies' task be defined? What am I missing
that this is failing for me?


Cheers
Dr Nic
Reply all
Reply to author
Forward
0 new messages