olivierntk
2009-Feb-02 04:24 UTC
Which command is used to list the gems used by an application?
Hi, I have been working on an application for a few months and installed some gems, but I don''t remember the exact list. I want to deploy my app and I need to install the gems I used. Which command line is used for that? thank u --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Eric
2009-Feb-02 04:40 UTC
Re: Which command is used to list the gems used by an application?
rake gems also: rake --tasks On Feb 1, 8:24 pm, olivierntk <olivier...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, I have been working on an application for a few months and > installed some gems, but I don''t remember the exact list. > > I want to deploy my app and I need to install the gems I used. Which > command line is used for that? > > thank u--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Andrew Timberlake
2009-Feb-02 04:42 UTC
Re: Which command is used to list the gems used by an application?
On Mon, Feb 2, 2009 at 6:24 AM, olivierntk <olivierntk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, I have been working on an application for a few months and > installed some gems, but I don''t remember the exact list. > > I want to deploy my app and I need to install the gems I used. Which > command line is used for that? > > thank u > > >To list all your local gems use: gem list --local To install all those gems on your remote machine, you can run: gem list --local --no-versions | xargs echo "gem install" to get a command line ready to install every gem (although you probably don''t want to install every local gem) -- Andrew Timberlake http://ramblingsonrails.com http://www.linkedin.com/in/andrewtimberlake "I have never let my schooling interfere with my education" - Mark Twain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Nashg Cold
2009-Feb-02 12:20 UTC
Re: Which command is used to list the gems used by an application?
I want to deploy my app and I need to install the gems I used. Which command line is used for that -- 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 -~----------~----~----~----~------~----~------~--~---
Andrew Timberlake
2009-Feb-02 12:36 UTC
Re: Which command is used to list the gems used by an application?
On Mon, Feb 2, 2009 at 2:20 PM, Nashg Cold <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I want to deploy my app and I need to install the gems I used. Which > command line is used for that > > -- > Posted via http://www.ruby-forum.com/. > > > >gem install <list of gem names> -- Andrew Timberlake http://ramblingsonrails.com http://www.linkedin.com/in/andrewtimberlake "I have never let my schooling interfere with my education" - Mark Twain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---