Skip to content

Instantly share code, notes, and snippets.

@damphyr
Created August 14, 2011 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damphyr/1145083 to your computer and use it in GitHub Desktop.
Save damphyr/1145083 to your computer and use it in GitHub Desktop.
Minimal rakefile for Hoe 2.11.0 namespace bug
d:\foo>ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
d:\foo>gem list
*** LOCAL GEMS ***
activemodel (3.0.9)
activerecord (3.0.9)
activesupport (3.0.9)
acts_as_reportable (1.1.1)
arel (2.0.10)
bindata (1.4.2)
builder (2.1.2)
bundler (1.0.17)
color (1.4.1)
couchrest (1.1.2)
couchrest_model (1.1.2)
erubis (2.7.0)
fastercsv (1.5.4)
highline (1.6.2)
hoe (2.11.0)
i18n (0.5.0)
mailfactory (1.4.0)
mime-types (1.16)
minitest (1.6.0)
mocha (0.9.12)
multi_json (1.0.3)
patir (0.7.0)
pdf-writer (1.1.8)
rake (0.9.2)
rdoc (2.5.8)
rest-client (1.6.3)
rubygems-update (1.8.8)
ruport (1.6.3)
rutema (1.2.4)
sqlite3 (1.3.4 x86-mingw32)
systemu (2.2.0)
transaction-simple (1.4.0)
tzinfo (0.3.29)
uuidtools (2.1.2)
d:\foo>rake foo:package
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
rake aborted!
No such file or directory - pkg/foo-1.0.0/.gemtest
Tasks: TOP => bar:package => pkg/foo-1.0.0.tgz => foo:pkg/foo-1.0.0
(See full trace by running task with --trace)
require 'rubygems'
require 'hoe'
namespace :foo do
Hoe.spec 'foo' do
developer('test', 'test@example.com')
version = "0.0.1"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment