Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couple test issues #7

Open
mdkent opened this issue Jan 2, 2010 · 0 comments
Open

couple test issues #7

mdkent opened this issue Jan 2, 2010 · 0 comments

Comments

@mdkent
Copy link

mdkent commented Jan 2, 2010

Using Debian's version of rake rubygems isn't already loaded resulting in

mkent@fortaleza:~/.gem/ruby/1.8/gems/newgem-1.5.2$ rake -T
(in /home/mkent/.gem/ruby/1.8/gems/newgem-1.5.2)
rake aborted!
undefined method `gem' for main:Object
/home/mkent/.gem/ruby/1.8/gems/newgem-1.5.2/Rakefile:1
(See full trace by running task with --trace)
mkent@fortaleza:~/.gem/ruby/1.8/gems/newgem-1.5.2$

possible to add "require 'rubygems'" prior to 'gem'?

Also there appears to be one failing test:

  1) Failure:
test_newgem(TestNewgemGenerator)
    [/usr/lib/ruby/gems/1.8/gems/rubigen-1.5.2/lib/rubigen/helpers/generator_test_helper.rb:58:in `assert_directory_exists'
     ./test/test_newgem_generator.rb:21:in `test_newgem']:
The directory 'tasks' should exist.
 is not true.

looking at the newgem generator I'm guessing the assert is unnecessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant