Hi all!! I want to copy my Rails Application to another computer. How can i make all the gems and plug-ins used in my computer available to the other computer without having to install each one seperatly again??? Is there a way to see only the gems and plugins used in my app not the gems i see when i run e.g gem-list command??? Thanx in advance Kostas L.
Ok thanx Litwin i''ll give it a try! On Sep 18, 8:07 pm, "E. Litwin" <elit...-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org> wrote:> You should be specifying the gems used in your environment.rb file > (using config.gem) > > Then you can run "rake gems" to view all the required gems (aside from > rails) for your application or "rake gems:install" to install all > those on your other machine. > > On Sep 18, 9:28 am, "KostasL." <loup...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi all!! > > > I want to copy my Rails Application to another computer. How can i > > make all the gems and plug-ins used in my computer available to the > > other computer without having to install each one seperatly again??? > > > Is there a way to see only the gems and plugins used in my app not the > > gems i see when i run e.g gem-list command??? > > > Thanx in advance > >KostasL.
Just saw this. Would like to know what is Litwin''s answer? -- Posted via http://www.ruby-forum.com/.
Konstantinos Loupos
2009-Sep-21 10:32 UTC
Re: Find the gems and plugins used in Rails Application
Yes please! On Mon, Sep 21, 2009 at 11:55 AM, Sijo Kg <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > Just saw this. Would like to know what is Litwin''s answer? > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
If you just want to see what your app is using and you haven''t used config gem with the versions set, you can use the console and run: Rails.configuration.gems.sort{|a,b| a.specification.name <=> b.specification.name}.collect{|g| "#{g.specification.name} - # {g.specification.version}"} On Sep 18, 9:28 am, "Kostas L." <loup...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Is there a way to see only the gems and plugins used in my app not the > gems i see when i run e.g gem-list command???
@Litwin: if i specify the gems in the environment.rb file, when i transfer the application and run gems:install all these gems will install automatically to the machine?? Thanx @xiexie11: i dont want only to see the gems used from the app, i want to know how to make them available when i transfer the app to another computer Thanx On Sep 23, 6:59 pm, xiexie11 <xiexi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you just want to see what your app is using and you haven''t used > config gem with the versions set, you can use the console and run: > > Rails.configuration.gems.sort{|a,b| a.specification.name <=> > b.specification.name}.collect{|g| "#{g.specification.name} - # > {g.specification.version}"} > > On Sep 18, 9:28 am, "Kostas L." <loup...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Is there a way to see only the gems and plugins used in my app not the > > gems i see when i run e.g gem-list command???
Fernando Perez
2009-Sep-26 21:01 UTC
Re: Find the gems and plugins used in Rails Application
> @xiexie11: i dont want only to see the gems used from the app, i want > to know how to make them available when i transfer the app to another > computer > > ThanxIf one of your gem is compiled, then you''ll run in troubles if the target computer is not the same as the source computer. -- Posted via http://www.ruby-forum.com/.