Hi Dirkjan
Both hoe and rspec are installed. What I'm running into is this
failure with 'rake install':
uninitialized constant HOE
/usr/lib/ruby/gems/1.8/gems/do_mysql-0.9.11/Rakefile:62
because it appears to me that the file included into Rakefile
('spectask') doesn't exist:
require 'spec/rake/spectask'
Is 'spec/rake/spectask' a file that should be there as part of the
original files, a file created by make or generated through another
means? My suspicion is that the only thing holding me back at this
point is the lack of that file but I'm not clear on why it isn't where
the Rakefile expects it to be.
On Jan 28, 10:33 pm, Dirkjan Bussink <[email protected]> wrote:
> On 29 Jan 2009, at 06:01, Chris Cummer wrote:
>
>
>
>
>
> > 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---