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

rake gems

also: rake --tasks

I want to deploy my app and I need to install the gems I used. Which
command line is used for that

On Mon, Feb 2, 2009 at 6:24 AM, olivierntk [email protected] 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 T.
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake

“I have never let my schooling interfere with my education” - Mark Twain

On Mon, Feb 2, 2009 at 2:20 PM, Nashg Cold
<[email protected]

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


Andrew T.
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake

“I have never let my schooling interfere with my education” - Mark Twain