Permalink
Browse files

specify gem versions

  • Loading branch information...
1 parent 0bd7395 commit e1694af8033d2f7f12ec3026bbabeb3950f95c3c @trevorturk committed Aug 4, 2010
Showing with 11 additions and 9 deletions.
  1. +3 −3 .gems
  2. +3 −1 README.md
  3. +5 −5 config/environment.rb
View
6 .gems
@@ -1,3 +1,3 @@
-rails
-paperclip
-aws-s3
+rails -v 2.3.8
+paperclip -v 2.3.3
+aws-s3 -v 0.6.2
View
@@ -19,7 +19,9 @@ Install
Get the app running in your local development environment:
- gem install rails paperclip aws-s3
+ gem install rails -v 2.3.8
+ gem install paperclip -v 2.3.2
+ gem install aws-s3 -v 0.6.2
git clone git://github.com/trevorturk/static.git
cd static
cp config/database.example.yml config/database.yml
View
@@ -1,11 +1,11 @@
-RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
- require 'active_support' # stubbing out session support, use "rake secret" if sessions needed
- config.action_controller.session = {:key => "static", :secret => ActiveSupport::SecureRandom.hex(32)}
+ require 'active_support' # stubbing out session support, use 'rake secret' if sessions needed
+ config.action_controller.session = {:key => 'static', :secret => ActiveSupport::SecureRandom.hex(32)}
config.frameworks -= [:active_resource, :action_mailer]
config.time_zone = 'UTC'
- config.gem "paperclip"
- config.gem "aws-s3", :lib => "aws/s3"
+ config.gem 'paperclip', :version => '2.3.3'
+ config.gem 'aws-s3', :version => '0.6.2', :lib => 'aws/s3'
end

0 comments on commit e1694af

Please sign in to comment.