Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

investiagations

  • Loading branch information...
commit 9057b3e004fbdb2aa53addaac13b0f17ba2e298e 1 parent 95cb707
@andykent andykent authored
Showing with 10 additions and 4 deletions.
  1. +8 −3 Rakefile
  2. +1 −0  bin/mandy-map
  3. +1 −1  mandy.gemspec
View
11 Rakefile
@@ -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  bin/mandy-map
@@ -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
2  mandy.gemspec
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.