Permalink
Browse files

investiagations

  • Loading branch information...
1 parent 95cb707 commit 9057b3e004fbdb2aa53addaac13b0f17ba2e298e @andykent andykent committed Oct 19, 2009
Showing with 10 additions and 4 deletions.
  1. +8 −3 Rakefile
  2. +1 −0 bin/mandy-map
  3. +1 −1 mandy.gemspec
View
@@ -10,8 +10,13 @@ Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = %w{-f s -c -L mtime}
end
-task :gem do
- `sudo gem build mandy.gemspec`
+task :build do
+ `gem build mandy.gemspec`
`mkdir pkg; mv mandy-*.gem pkg/`
+end
+
+task :install do
`sudo gem install pkg/mandy-*.gem`
-end
+end
+
+task :gem => [:build, :install]
View
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
+throw File.dirname(__FILE__)
environment = File.expand_path(File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'environment.rb'))
require File.exist?(environment) ? environment : "rubygems"
require "mandy"
View
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/trafficbroker/mandy"
s.name = 'mandy'
- s.version = '0.4.91'
+ s.version = '0.4.92'
s.date = '2009-10-19'
s.description = "Map/Reduce"

0 comments on commit 9057b3e

Please sign in to comment.