Permalink
Browse files

Created psydo heroku style .gems file and rake gems:install task for …

…installing dependencies
  • Loading branch information...
1 parent 30aa876 commit 7f3046bae89147c9587313c645252f6c38092c18 @tobi committed Aug 16, 2009
Showing with 19 additions and 0 deletions.
  1. +4 −0 .gems
  2. +15 −0 Rakefile
View
4 .gems
@@ -0,0 +1,4 @@
+patron
+rack-cache
+memcached
+RMagick
View
@@ -0,0 +1,15 @@
+namespace :gems do
+
+ desc "Install all needed gems"
+ task :install do
+ File.read('.gems').each_line do |line|
+ begin
+ p line
+ system("sudo gem install #{line.chomp}")
+ rescue
+ STDERR.puts "Could not install gem #{line.split.first}"
+ end
+ end
+ end
+
+end

0 comments on commit 7f3046b

Please sign in to comment.