From 905329562dc6025529bfa79dc032a92534546f54 Mon Sep 17 00:00:00 2001 From: saksmlz Date: Sat, 9 Apr 2011 10:03:22 +0300 Subject: [PATCH] rvm and bundler stuff added --- .rvmrc | 1 + Gemfile | 7 +++++++ Gemfile.lock | 38 ++++++++++++++++++++++++++++++++++++++ Rakefile | 4 +--- 4 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 .rvmrc create mode 100644 Gemfile create mode 100644 Gemfile.lock diff --git a/.rvmrc b/.rvmrc new file mode 100644 index 0000000..bf4e9ee --- /dev/null +++ b/.rvmrc @@ -0,0 +1 @@ +rvm 1.9.2@mongoid_acts_as_tree diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..c773023 --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +source 'http://rubygems.org' + +gem 'mongoid' +gem 'bson' +gem 'bson_ext' +gem 'shoulda' +gem 'jeweler' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..50961ed --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,38 @@ +GEM + remote: http://rubygems.org/ + specs: + activemodel (3.0.6) + activesupport (= 3.0.6) + builder (~> 2.1.2) + i18n (~> 0.5.0) + activesupport (3.0.6) + bson (1.3.0) + bson_ext (1.3.0) + builder (2.1.2) + git (1.2.5) + i18n (0.5.0) + jeweler (1.5.2) + bundler (~> 1.0.0) + git (>= 1.2.5) + rake + mongo (1.3.0) + bson (>= 1.3.0) + mongoid (2.0.1) + activemodel (~> 3.0) + mongo (~> 1.3) + tzinfo (~> 0.3.22) + will_paginate (~> 3.0.pre) + rake (0.8.7) + shoulda (2.11.3) + tzinfo (0.3.26) + will_paginate (3.0.pre2) + +PLATFORMS + ruby + +DEPENDENCIES + bson + bson_ext + jeweler + mongoid + shoulda diff --git a/Rakefile b/Rakefile index 9e3b9d0..754b065 100644 --- a/Rakefile +++ b/Rakefile @@ -15,7 +15,7 @@ begin gem.add_development_dependency "shoulda", ">=2.10.2" end -# Jeweler::GemcutterTasks.new + Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end @@ -40,8 +40,6 @@ rescue LoadError end end -task :test => :check_dependencies - task :default => :test require 'rake/rdoctask'