Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added simple task to start mongodb in development

  • Loading branch information...
commit e91bd08095eb9a4c758fbf2a0190088f906dfeaf 1 parent 72cbe53
@lwe authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
6 Rakefile
@@ -28,3 +28,9 @@ namespace :test do
end
task :test => [:'test:activerecord', :'test:mongoid']
+
+# Mongodb
+directory "tmp/mongodb.data"
+task :mongodb => [:'tmp/mongodb.data'] do |t|
+ system "mongod", "--dbpath", "tmp/mongodb.data"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.