Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created July 21, 2009 23:28
Show Gist options
  • Save BanzaiMan/151704 to your computer and use it in GitHub Desktop.
Save BanzaiMan/151704 to your computer and use it in GitHub Desktop.
$ newgem testgem
create
create lib/testgem
create script
create History.txt
create Rakefile
create README.rdoc
create PostInstall.txt
create lib/testgem.rb
dependency install_test_unit
create test
create test/test_helper.rb
create test/test_testgem.rb
dependency install_rubigen_scripts
exists script
create script/generate
create script/destroy
create script/console
create Manifest.txt
readme readme
Important
=========
* Open Rakefile
* Update missing details (gem description, dependent gems, etc.)
$ cd testgem/
$ autotest
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I.:lib:test -rubygems -e "%w[test/unit test/test_testgem.rb test/test_helper.rb].each { |f| require f }" | unit_diff -u
/Library/Ruby/Gems/1.8/gems/ZenTest-4.1.3/lib/unit_diff.rb:70:in `gets': No such file or directory - -u (Errno::ENOENT)
from /Library/Ruby/Gems/1.8/gems/ZenTest-4.1.3/lib/unit_diff.rb:70:in `parse_input'
from /Library/Ruby/Gems/1.8/gems/ZenTest-4.1.3/lib/unit_diff.rb:182:in `unit_diff'
from /Library/Ruby/Gems/1.8/gems/ZenTest-4.1.3/lib/unit_diff.rb:56:in `unit_diff'
from /Library/Ruby/Gems/1.8/gems/ZenTest-4.1.3/bin/unit_diff:37
from /usr/bin/unit_diff:19:in `load'
from /usr/bin/unit_diff:19
^CInterrupt a second time to quit
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment