Rails Dependencies

0 views
Skip to first unread message

Mark Aufdencamp

unread,
Nov 25, 2009, 9:28:42 AM11/25/09
to Columbus Ruby Brigade
Hi All,

A quick slice of RoR wisdom would be appreciated.

I've checked a Rails project out of github with a lot of dependencies
defined in the environment.rb. Rather than manually installing all of
the dependent gems, is there an easy way to have say, rake, install them
all for me?

What's the best way to identify missing dependencies?

Mark Aufdencamp
Ma...@Aufdencamp.com

Joe Fiorini

unread,
Nov 25, 2009, 9:34:51 AM11/25/09
to colum...@googlegroups.com
You'll want to use Bundler. Check out Yehuda Katz's post on it (http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/). It's still fairly new, but it's what we're using to manage Gem dependencies.


--

You received this message because you are subscribed to the Google Groups "Columbus Ruby Brigade" group.
To post to this group, send email to colum...@googlegroups.com.
To unsubscribe from this group, send email to columbusrb+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/columbusrb?hl=en.





--
joe fiorini - software craftsman & technologist
bio - http://joefiorini.com
thoughts - http://faithfulgeek.org

Joe OBrien

unread,
Nov 25, 2009, 9:40:41 AM11/25/09
to colum...@googlegroups.com
Do a rake -T (it lists out all the commands) there is one to install
them all just can't think of it offhand.

-Joe

Sent from my iPhone

Jeff Morgan

unread,
Nov 25, 2009, 9:53:06 AM11/25/09
to colum...@googlegroups.com
rake gems:install

For dependencies while testing you can use

rake gems:install RAILS_ENV=test
Reply all
Reply to author
Forward
0 new messages