Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use bundler if you have it.

  • Loading branch information...
commit 9fae544c4f38b0e4eb070476af3b41d6ad621483 1 parent 245fa9f
Ashley Martens authored April 23, 2010
2  .gitignore
... ...
@@ -1,2 +1,4 @@
1 1
 .DS_Store
2 2
 *.gem
  3
+.bundle/*
  4
+Gemfile.lock
9  Gemfile
... ...
@@ -0,0 +1,9 @@
  1
+source :gemcutter
  2
+gem 'rails', '2.3.5'
  3
+# gem 'memcache-client', '1.8.2'
  4
+gem 'memcached', '0.18.0'
  5
+group :test do
  6
+  gem 'rspec', '1.3.0'
  7
+  gem 'sqlite3-ruby'
  8
+  gem 'rr'
  9
+end
12  Rakefile
... ...
@@ -1,4 +1,14 @@
1  
-require File.expand_path('../config/environment', __FILE__)
  1
+begin
  2
+  require File.expand_path('../.bundle/environment', __FILE__)
  3
+rescue LoadError
  4
+  begin
  5
+    require 'rubygems'
  6
+    require 'bundler'
  7
+    Bundler.setup
  8
+  rescue
  9
+    require File.expand_path('../config/environment', __FILE__)
  10
+  end
  11
+end
2 12
 
3 13
 require 'rake'
4 14
 require 'rake/testtask'

0 notes on commit 9fae544

Please sign in to comment.
Something went wrong with that request. Please try again.