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
on 2009-01-05 13:24
on 2009-01-05 15:58
There are a few rake tasks for this rake rails:freeze:edge rake rails:freeze:gems HTH RobL
on 2009-01-05 16:29
You can freeze the gems to the vendor directory and they become part of your application... Cheers, Sazima
on 2009-01-05 22:19
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.
on 2009-01-05 23:10
Have you configured you application.rb so that the gems are included there?
on 2009-01-06 00:27
Bobnation means config/environment.rb, not application.rb ----- Ryan Bigg Freelancer http://frozenplague.net
on 2009-01-06 12:58
Okay I've got it now. Thanks heaps. Cheers