I've got two plugins on my hobo app hosted on bluhost: ckeditor and
paperclip with hobo. Everything ran fine up through including the
paperclip with hobo plugin in my applications.dryml. The problem
started when I modified one of my models with:

has_attached_file: photo

After making that addition to my models .rb file and running script/
generate hobo_migration I get a rake aborted! stack level too deep
error. All of the articles I could find google searching this error
were tied to TextMate which doesn't seem to be installed anywhere on
bluhost (i ran a find / TextMate from my bluehost ssh). The articles I
found regarding textmade suggests the error has to do with a duplicate
Builder.rb file somewhere, but I also cannot find any Builder.rb file
anywhere in my directory. The error I'm getting looks like this:

________________________________________________________________________________
[email protected] [~/rails/MVPTire]# script/generate
hobo_migration
/home1/mentalm1/rails/MVPTire/config/environment.rb:44: warning:
already initialized constant RAILS_ENV
/home1/mentalm1/ruby/gems/gems/rails-2.3.2/lib/rails/gem_dependency.rb:
99:Warning: Gem::Dependency#version_requirements is deprecated and
will be removed on or after August 2010.  Use #requirement

---------- Up Migration ----------
add_column :tires, :photo_file_name, :string
add_column :tires, :photo_content_type, :string
add_column :tires, :photo_file_size, :integer
add_column :tires, :photo_updated_at, :datetime
----------------------------------

---------- Down Migration --------
remove_column :tires, :photo_file_name
remove_column :tires, :photo_content_type
remove_column :tires, :photo_file_size
remove_column :tires, :photo_updated_at
----------------------------------
What now: [g]enerate migration, generate and [m]igrate now or
[c]ancel? m

Migration filename:
(you can type spaces instead of '_' -- every little helps)
Filename [hobo_migration_1]: addPhotoToTire
      exists  db/migrate
      create  db/migrate/20110309115301_addphotototire.rb
(in /home1/mentalm1/rails/MVPTire)
rake aborted!
stack level too deep

(See full trace by running task with --trace)
________________________________________________________________________________

If a full trace would help, how do I run with a full trace? I tried:

script/generate hobo_migration --trace

but that just throws an "invalid option: --trace" error

I followed the directions for installing paperclip as listed on:
       http://cookbook.hobocentral.net/plugins/paperclip_with_hobo

And ckeditor continues to function post installation of paperclip.

Help? Any suggestions? Anyone else running into this problem?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to