Skip to content

Commit

Permalink
Add explicit design doc save and auto view generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcarey committed Apr 9, 2010
1 parent 76aaf3b commit a52bcfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end

desc "Install the gem"
task :install => [:package] do
sh %{sudo gem install --local pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources}
sh %{gem install --no-rdoc --no-ri --local pkg/#{GEM_NAME}-#{GEM_VERSION}}
end
# task :install do
# Merb::RakeHelper.install(GEM_NAME, :version => GEM_VERSION, :local => true)
Expand Down
1 change: 1 addition & 0 deletions lib/merb_relaxdb/merbtasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
RelaxDB.use_db RelaxDB.db.name
RelaxDB.enable_view_creation
Rake::Task["merb_env"].invoke
RelaxDB::View.design_doc.save
end

desc "Create CouchDB views from hand coded JavaScript"
Expand Down

0 comments on commit a52bcfe

Please sign in to comment.