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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
There are a few rake tasks for this rake rails:freeze:edge rake rails:freeze:gems HTH RobL Joshua Partogi wrote:> 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 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You can freeze the gems to the vendor directory and they become part of your application... Cheers, Sazima On Jan 5, 10:24 am, Joshua Partogi <joshua.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Jan 6, 1:57 am, Rob Lacey <r...-JfOZzmRpUsu/uRbK1X5IkLHvCTsVnGdA@public.gmane.org> wrote:> There are a few rake tasks for this > > rake rails:freeze:edge > rake rails:freeze:gems > > HTH > > RobL > > Joshua Partogi wrote: > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you configured you application.rb so that the gems are included there? On Jan 5, 3:19 pm, Joshua Partogi <joshua.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 Jan 6, 1:57 am, Rob Lacey <r...-JfOZzmRpUsu/uRbK1X5IkLHvCTsVnGdA@public.gmane.org> wrote: > > > There are a few rake tasks for this > > > rake rails:freeze:edge > > rake rails:freeze:gems > > > HTH > > > RobL > > > Joshua Partogi wrote: > > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bobnation means config/environment.rb, not application.rb ----- Ryan Bigg Freelancer http://frozenplague.net On 06/01/2009, at 8:39 AM, Bobnation wrote:> > Have you configured you application.rb so that the gems are included > there? > > On Jan 5, 3:19 pm, Joshua Partogi <joshua.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> 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 Jan 6, 1:57 am, Rob Lacey <r...-JfOZzmRpUsu/uRbK1X5IkLHvCTsVnGdA@public.gmane.org> wrote: >> >>> There are a few rake tasks for this >> >>> rake rails:freeze:edge >>> rake rails:freeze:gems >> >>> HTH >> >>> RobL >> >>> Joshua Partogi wrote: >>>> 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 > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Okay I''ve got it now. Thanks heaps. Cheers On Jan 6, 10:27 am, Ryan Bigg <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Bobnation means config/environment.rb, not application.rb > ----- > Ryan Bigg > Freelancerhttp://frozenplague.net > > On 06/01/2009, at 8:39 AM, Bobnation wrote: > > > > > Have you configured you application.rb so that the gems are included > > there? > > > On Jan 5, 3:19 pm, Joshua Partogi <joshua.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> 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 Jan 6, 1:57 am, Rob Lacey <r...-JfOZzmRpUsu/uRbK1X5IkLHvCTsVnGdA@public.gmane.org> wrote: > > >>> There are a few rake tasks for this > > >>> rake rails:freeze:edge > >>> rake rails:freeze:gems > > >>> HTH > > >>> RobL > > >>> Joshua Partogi wrote: > >>>> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---