Closed GoogleCodeExporter closed 8 years ago
Seth, seems like you needs to specify a lib parameter to it require a file with
a
name different that the gem itself.
config.gem('RedCloth')
config.gem('fastercsv')
config.gem('mime-types', :lib => 'mime/types')
config.gem('mini_magick')
config.gem('ezcrypto')
Original comment by edmundo...@gmail.com
on 23 Aug 2008 at 10:40
should I do a patch for this?
Original comment by rogerpack2005
on 8 Nov 2008 at 4:33
Be my guest! :)
Original comment by subim...@gmail.com
on 10 Nov 2008 at 4:41
using config.gem currently errs with the current version of engines [go
figure].
This adds a custom way to do it, though.
Original comment by rogerpack2005
on 13 Dec 2008 at 1:55
Attachments:
looks like I missed mysql in that list
Original comment by rogerdp...@gmail.com
on 16 Jan 2009 at 8:14
we could unpack several gems to vendor\gems, as well
Original comment by rogerpack2005
on 29 Jan 2009 at 2:17
Here's a patch with unpacked gems [except RedCloth] in the vendor\gems
directory.
rake test does something weird for me, so I'm unable to test it.
Original comment by rogerpack2005
on 29 Jan 2009 at 2:42
Attachments:
and here's a change to allow them to be used for rake tasks, as well
Original comment by rogerpack2005
on 29 Jan 2009 at 2:50
Attachments:
allow the same to work with mime-types, as well. My bad.
Original comment by rogerpack2005
on 29 Jan 2009 at 2:56
Attachments:
note that I'm not sure if this patch allows the "pre installed" gems to [yet]
work
with just rake tasks.
Original comment by rogerpack2005
on 21 Feb 2009 at 5:17
I think vendoring gems is long past due. It will cut down on the installation
process and clear up that whole mess. Not sure these patches cleanly apply but
I'll look into it.
Original comment by subim...@gmail.com
on 26 Aug 2010 at 5:40
Done with r269
Original comment by subim...@gmail.com
on 26 Aug 2010 at 6:59
Original issue reported on code.google.com by
subim...@gmail.com
on 18 Aug 2008 at 5:47