Displaying 3 results from an estimated 3 matches for "photo_gallery".
2006 Aug 11
1
Absolute path to public/images in rake task?
.... ;-)
I''m coding a photo gallery. Every photo gallery''s photos are in its own
folder, and after an update I''d like to be able to synchronize the photo
files with the database (because every photo has its own Photo class
object). I''ve got so far:
# File tasks/photo_gallery.rake:
desc ''Synchronizes the photos of the galleries.''
task :synchronize_photo_galleries => :environment do
puts ''--- Beginning with synchronization ---''
PhotoGallery.synchronize_photos
puts ''--- Synchronization done ---''
end
# File ap...
2007 Mar 06
1
photo_gallery
Hi,
I''m trying to build the photo_gallery (example), but receive the following
error:
$ webgen
/home/ov/work/photo_gallery/plugin/collage.rb:90:in `load_plugin'':
uninitialized constant #<Module:0xb7153b48>::Collage::FileHandlers
(NameError)
? ? ? ?
from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:i...
2009 Apr 06
3
Installing Warehouse- undefined symbol: apr_dbm_type_db
...to resolve the same.
Error-
!! No Ultraviolet gem found, defaulting to javascript syntax
highlighting. Do not be afraid.
!! Error loading plugins: Mysql::Error: Table
''electron_xorndevelopment.plugins'' doesn''t exist: SELECT * FROM
`plugins` WHERE (name IN (''photo_gallery''))
!! Make sure the database was created successfully and migrated.rake
aborted!/home/electron/lib/libaprutil-1.so.0: undefined symbol:
apr_dbm_type_db - /home/electron/lib/ruby/1.8/i686-linux/svn/ext/
core.so
Regards,
Manohar
--~--~---------~--~----~------------~-------~--~----~
You rece...