[Radiant] Extension problems: create model and rake db:migrate
Fabrizio Taddei
fabrizio_taddei at yahoo.it
Wed Apr 4 07:12:31 CDT 2007
Fabrizio Taddei wrote:
> Sean Cribbs wrote:
>> First problem:
>>
>> There are currently no generators for extension
>> models/controllers/migrations/etc. You will have to make them manually,
>> although even that doesn't take too much work.
>>
>> That said, it sounds like either 1) you have installed Radiant from the
>> gem without unpacking or 2) something else is messed up with the
>> paths/configuration/etc.
>
> Thanks Sean for the answer,
> this is true, I've installed radiant without unpacking, following the
> radiantcms weblog instruction. I'm sorry but I've some problems to
> understand what you mean.
>
> Should I unpack radiant in the vendor folder of my application?
> Could you explain me better what I should do?
>
> Thanks,
>
> Fabrizio
Hi,
looking in mailing list I've found the post Radiant 0.6
RC1(http://www.ruby-forum.com/topic/96515#200885) inwich it's explain
how to install radiant with unpacking.
I've followed the instructions and now I've radiant in
D:\ProveRails\xbrail\vendor\radiant
I've modified the my application file environment.rd adding the string
ENV['RADIANT_ROOT'] ='D:\ProveRails\xbrail\vendor\radiant' in the top of
file,
and uncommenting the line
ENV['RAILS_ENV'] ||= 'production'.
Unfortunately when I try to run "ruby script/generate model" I'm still
having
Couldn't find 'model' generator
Any suggestions?
Thanks
Fabrizio
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list