I am trying to run the demo by following this article:

http://anthonyeden.com/2006/12/20/activewarehouse-example-with-rails-svn-logs

I cheated like an impatient reader jumping to last page of a mystery 
novel and pulled down the code:

|svn checkout 
svn://rubyforge.org/var/svn/activewarehouse/rails_warehouse/trunk

I then pulled down the rails logs with:

~/rails_warehouse/db/etl/download_rails_log.rb

(since the download_aw_log.rb resulted in an empty input/aw_log.xml file)

I then changed the *.ctl files to reflect input/rails_log.xml and 
successfully loaded the data into the tables, so I'm pretty sure I have 
that much working fine.

However, I noticed a couple issues with the app itself...

The checked out code differs from the article in that the Revisions 
Controller has an empty index and a by_author function that has same 
code as the index def whereas the article just has the index method.

There are no rake warehouse:xxxx tasks.  "rake -T | grep warehouse" 
returns an empty set.

When I follow the article, generating new controllers, views, models, 
and run the code, I get for http://localhost:3000/revision_reports the 
following:

 NameError in Revision reportsController#index

uninitialized constant RevisionReportsController::ActiveWarehouse

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
 
`const_missing'
app/controllers/revision_reports_controller.rb:4:in `index'


I have the following (subset) of gems installed:

activewarehouse (0.3.0)
activewarehouse-etl (0.9.0)
adapter_extensions (0.4.0)
mongrel (1.0.1)
rails (1.2.3, 1.1.6)
rails_sql_views (0.6.1)

...and am running the following Ruby version:
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

(on a Macbook Pro, Tiger)

Any ideas what might be the problem?

Regards,

Michael
|
_______________________________________________
Activewarehouse-discuss mailing list
Activewarehouse-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss

Reply via email to