>
> Thanks for the pointer Dan! Whether this ultimately works at all, I'm
> learning a good chunk and that's interesting. Running 'rake compile
> spec' aborts on line 62 of the Rakefile when it can't fine the
> constant HOE on this line:
>
> Rake::ExtensionTask.new('do_mysql_ext', HOE.spec)
>
> which I take to mean a new instance of Hoe that defines the rake
> tasks. Looks to me like there's no gemspec file since the directory
> defined in this include at the top of the Rakefile doesn't exist:
>
> require 'spec/rake/spectask'
>
> 'spec' contains a few other entries but no 'rake' directory. Any
> thoughts on why that directory wouldn't exist?
>
> Thanks to anyone adding pointers and suggestions!
For running the specs you need Hoe and RSpec installed. You can
install them through rubygems, just do a gem install hoe rspec.
But if removing that line fixes compilation, I'm pretty sure it will
all work from there on. You can also do a rake install from the
checkout, which will install the gem for you. Then you can easily try
to run your application and see whether it works.
--
Regards,
Dirkjan Bussink
This task should be supplied by RSpec, hence my suggestion for
installing that. On my OS X system it's located in
/Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/rake/spectask.rb
Do you have a similar file in your RSpec install too?
--
Regards,
Dirkjan Bussink