Missing Dependency (cucumber) ?

17 views
Skip to first unread message

/k

unread,
Nov 7, 2008, 6:34:28 PM11/7/08
to New Gem Generator
I did a quick install of newgem and it appears that it is missing a
dependency for cucumber. However, looking at newgem's rakefile (http://
github.com/drnic/newgem/tree/master/Rakefile) it appears that it is
required ... Unfortunately, I am not Hoe-literate enough to understand
why this failed (MacOS X 10.5.5 with gem 1.2.0 and ruby 1.8.6p114).

k-2:~ kpepple$ sudo gem install newgem
Password:
PostInstall.txt
Successfully installed rubyforge-1.0.1
Successfully installed hoe-1.8.2
Successfully installed rubigen-1.3.3
Successfully installed syntax-1.0.0
Successfully installed newgem-1.0.6
5 gems installed
Installing ri documentation for rubyforge-1.0.1...
Installing ri documentation for hoe-1.8.2...
Installing ri documentation for rubigen-1.3.3...
Installing ri documentation for syntax-1.0.0...
Installing ri documentation for newgem-1.0.6...
Installing RDoc documentation for rubyforge-1.0.1...
Installing RDoc documentation for hoe-1.8.2...
Installing RDoc documentation for rubigen-1.3.3...
Installing RDoc documentation for syntax-1.0.0...
Installing RDoc documentation for newgem-1.0.6...
k-2:dev kpepple$ newgem mystic
/Library/Ruby/Site/1.8/rubygems.rb:578:in `report_activate_error':
Could not find RubyGem cucumber (>= 0.1.8) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:134:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:158:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `each'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:49:in `gem'
from /usr/bin/newgem:18
k-2:dev kpepple$ sudo gem install cucumber
Successfully installed term-ansicolor-1.0.3
Successfully installed polyglot-0.2.3
Successfully installed treetop-1.2.4
Successfully installed rspec-1.1.11
Successfully installed diff-lcs-1.1.2
Successfully installed cucumber-0.1.8
6 gems installed
Installing ri documentation for term-ansicolor-1.0.3...
Installing ri documentation for polyglot-0.2.3...
Installing ri documentation for rspec-1.1.11...
Installing ri documentation for diff-lcs-1.1.2...
Installing ri documentation for cucumber-0.1.8...
Installing RDoc documentation for term-ansicolor-1.0.3...
Installing RDoc documentation for polyglot-0.2.3...
Installing RDoc documentation for rspec-1.1.11...
Installing RDoc documentation for diff-lcs-1.1.2...
Installing RDoc documentation for cucumber-0.1.8...
k-2:dev kpepple$ newgem mystic
create
create doc
create lib
...snip...
readme readme
Important
=========

* Open Rakefile
* Update missing details (gem description, dependent gems, etc.)

/k

unread,
Nov 8, 2008, 6:22:01 PM11/8/08
to New Gem Generator
Okay. Upgraded to 1.0.7 but now I found another dependency issue (with
'echoe' this time). My bigger problem is that the newgem command
doesn't create the website directory, plain_theme or
install_rubigen_scripts directories as shown on the http://newgem.rubyforge.org/
website. Subsequently running the "rake website_generate" command
creates the website directory but not the other directories.

Here is the trace:

k-2:dev$ newgem mystic
/Library/Ruby/Site/1.8/rubygems.rb:578:in `report_activate_error':
Could not find RubyGem echoe (>= 0) (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems.rb:134:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:158:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `each'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:158:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `each'
from /Library/Ruby/Site/1.8/rubygems.rb:157:in `activate'
from /Library/Ruby/Site/1.8/rubygems.rb:49:in `gem'
from /usr/bin/newgem:18
k-2:dev$ sudo gem install echoe
Password:
Successfully installed echoe-3.0.2
1 gem installed
Installing ri documentation for echoe-3.0.2...
Installing RDoc documentation for echoe-3.0.2...
k-2:dev$ newgem mystic
create
create doc
create lib
create script
create tasks
create lib/mystic
create History.txt
create Rakefile
create README.rdoc
create PostInstall.txt
create lib/mystic.rb
dependency install_test_unit
create test
create test/test_helper.rb
create test/test_mystic.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.)


Reply all
Reply to author
Forward
0 new messages