SD Ruby,

I'm trying to use CarrierWave wave 0.10.0 in Rails 4.1.5 with Ruby 2.1.2. 
 This is my first time trying it out having been a PaperClip guy for a long 
time.

I can't seem to figure out what I need to do so my app can load an uploader 
out of the app/uploaders directory. 

The error I get when I try to create an instance of a model that uses 
mount_uploader is:

uninitialized constant SourceImage::SourceImageUploader

It seems pretty clear to me that the app hasn't loaded and can't find the 
stuff in the app/uploaders directory.  I do have a SourceImageUploader in 
the app/uploaders directory.

As I understand it adding paths to the autload_paths isn't thread-safe and 
is something Matz discourages.  There was a change in CarrierWave 0.8.0 
that appears to have removed autoloading (if I'm reading the commit 
correctly).

I've been through the README and the wiki but I'll darned if I can figure 
out what I've done wrong or simply not done in setting up CarrierWave in my 
app. 

Any help would be appreciated!

Cheers,

Chris

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to