Mat Schaffer on 13 Aug 2007 16:23:42 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] couple simple ror questions

  • From: Mat Schaffer <schapht@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] couple simple ror questions
  • Date: Mon, 13 Aug 2007 12:23:22 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=rBYLnFv8t6Blx/HzfVOE7eD5a773mTYUBdS8Qh1e7la3V+eDQCWL75IftXWmxMevRTZiJkAmJpY8NWnkfMdpe9fzzK4O9Vkx14zhKeWfXYKUtLb+9yWyRLS86YOpPe+tOwe4aq120QOTG6WZPb/OffMe0fenxCurCBwAgQr7UYY=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org


On Aug 13, 2007, at 12:03 PM, Keith Fitzgerald wrote:
These are probably pretty easy questions, I've just never encountered the situation. I'm picking up an RoR project where a previous developer let off. I went and grabbed the project from their svn, but i can't run it b/c it requires a bunch of gems I haven't installed.

What is the easiest way to sync up all the required gems? [there's a bunch] I can grab the list from the server this is running on.

Is there a better way to manage this? Shouldn't dependencies like this be included with the app?

You could also try 'rake rails:freeze:gems' which will put all the system gems in the vendor/rails directory. This might be a bit excessive though depending on how many gems are installed on the server.


If all the gems are required in environment.rb you could also parse it into a set of 'gem install' commands pretty easily. Hackish, yes, but it'd prolly get the job done.
-Mat
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk