Forum: Ruby on Rails Rails apps packaging

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2eac5554aeb88694468a955a0db2b274?d=identicon&s=25 Joshua Partogi (Guest)
on 2009-01-05 13:24
(Received via mailing list)
Dear all,

How do I package a rails apps and distribute it? As I can see that
rails library is installed inside the Ruby gem folder and not inside
the apps. Now if I want to distribute this with my client, how can I
include those gems inside the application lib/ ? Or in other case lets
say I want to put the code inside git, how do I put those gems inside
the distribution? I'm a bit new with rails especially in distribution
of rails apps.

Thanks in advance
05d8aae3736c731bcfc2c2a5c2a5f316?d=identicon&s=25 Rob Lacey (braindeaf)
on 2009-01-05 15:58
(Received via mailing list)
There are a few rake tasks for this

rake rails:freeze:edge
rake rails:freeze:gems


Fac81a9d95c81d817a2debb6f717f3ac?d=identicon&s=25 Sazima (Guest)
on 2009-01-05 16:29
(Received via mailing list)
You can freeze the gems to the vendor directory and they become part
of your application...

Cheers, Sazima
2eac5554aeb88694468a955a0db2b274?d=identicon&s=25 Joshua Partogi (Guest)
on 2009-01-05 22:19
(Received via mailing list)
Well it moved the rails gems into the vendor/ directory in my apps,
but it doesn't move other gems that I use in my application.
247cd3d37084a3d6794076207bd9fbd7?d=identicon&s=25 Bobnation (Guest)
on 2009-01-05 23:10
(Received via mailing list)
Have you configured you application.rb so that the gems are included
9a2a53db8e9b4476038c94a64b32833f?d=identicon&s=25 Ryan Bigg (ryan-bigg)
on 2009-01-06 00:27
(Received via mailing list)
Bobnation means config/environment.rb, not application.rb
Ryan Bigg
2eac5554aeb88694468a955a0db2b274?d=identicon&s=25 Joshua Partogi (Guest)
on 2009-01-06 12:58
(Received via mailing list)
Okay I've got it now. Thanks heaps.

This topic is locked and can not be replied to.