'gem install instiki-0.10.0' does not pull in dependencies - why?

I have a problem with this gem (about to be released Instiki 0.10): http://alexeyv.textdriven.com/instiki-0.10.0.gem
It has external dependencies:

QTE instiki.gemspec
  s.add_dependency('madeleine', '= 0.7.1')
  s.add_dependency('RedCloth', '= 3.0.3')
  s.add_dependency('rubyzip', '= 0.5.5')
  s.add_dependency('rails', '= 0.11.1')
UNQTE

and yet, when I try to install it, it gets installed without them. I wonder what is it that I'm doing wrong here. What follows is an excerpt from command-line session.
Re my shell prompt: I swear, this is only for the kids and their games - the next thing I'm buying after a car, a house and a boat will be a Mac :slight_smile:

E:\>gem install --both --include-dependencies instiki-0.10.0.gem
Attempting local installation of 'instiki-0.10.0.gem'
Successfully installed instiki, version 0.10.0

E:\>gem list

*** LOCAL GEMS ***

instiki (0.10.0)
    Easy to install WikiClone running on WEBrick and Madeleine

postgres-pr (0.3.6)
    A pure Ruby interface to the PostgreSQL (>= 7.4) database

rake (0.5.0.2, 0.5.0, 0.4.15)
    Ruby based make-like utility.

rubygems-update (0.8.10)
    RubyGems Update GEM

sources (0.0.1)
    This package provides download sources for remote gem installation

// NOTE: no Rails, no Madeleine, etc

E:\>gem specification instiki
--- !ruby/object:Gem::Specification
rubygems_version: 0.8.10
specification_version: 1
name: instiki
version: !ruby/object:Gem::Version
  version: 0.10.0
date: 2005-04-07
summary: Easy to install WikiClone running on WEBrick and Madeleine
require_paths:
  - lib
email: david@loudthinking.com
homepage: http://www.instiki.org
rubyforge_project: instiki
description: Instiki is a Wiki Clone written in Ruby that ships with an embedded
  webserver. You can setup up an Instiki in just a few steps. Possibly the simp
lest wiki setup ever.
autorequire:
default_executable: instiki
bindir: "."
has_rdoc: false
required_ruby_version: !ruby/object:Gem::Version::Requirement
  requirements:

···

-
      - ">"
      - !ruby/object:Gem::Version
        version: 0.0.0
  version:
platform: ruby
authors:
  - David Heinemeier Hansson
files:
  - CHANGELOG
  - README
  - instiki
  - instiki.rb
  - app/controllers/admin_controller.rb
  - app/controllers/application.rb
  - app/controllers/file_controller.rb
  - app/controllers/wiki_controller.rb
  - app/helpers/application_helper.rb
  - app/models/author.rb
  - app/models/file_yard.rb
  - app/models/page.rb
  - app/models/page_lock.rb
  - app/models/page_set.rb
  - app/models/revision.rb
  - app/models/web.rb
  - app/models/wiki_content.rb
  - app/models/wiki_service.rb
  - app/models/wiki_words.rb
  - app/models/chunks/category.rb
  - app/models/chunks/chunk.rb
  - app/models/chunks/engines.rb
  - app/models/chunks/include.rb
  - app/models/chunks/literal.rb
  - app/models/chunks/nowiki.rb
  - app/models/chunks/test.rb
  - app/models/chunks/uri.rb
  - app/models/chunks/wiki.rb
  - app/views/markdown_help.rhtml
  - app/views/navigation.rhtml
  - app/views/rdoc_help.rhtml
  - app/views/textile_help.rhtml
  - app/views/wiki_words_help.rhtml
  - app/views/admin/create_system.rhtml
  - app/views/admin/create_web.rhtml
  - app/views/admin/edit_web.rhtml
  - app/views/file/file.rhtml
  - app/views/file/import.rhtml
  - app/views/layouts/default.rhtml
  - app/views/wiki/authors.rhtml
  - app/views/wiki/edit.rhtml
  - app/views/wiki/export.rhtml
  - app/views/wiki/feeds.rhtml
  - app/views/wiki/list.rhtml
  - app/views/wiki/locked.rhtml
  - app/views/wiki/login.rhtml
  - app/views/wiki/new.rhtml
  - app/views/wiki/page.rhtml
  - app/views/wiki/print.rhtml
  - app/views/wiki/published.rhtml
  - app/views/wiki/recently_revised.rhtml
  - app/views/wiki/revision.rhtml
  - app/views/wiki/rollback.rhtml
  - app/views/wiki/rss_feed.rhtml
  - app/views/wiki/search.rhtml
  - app/views/wiki/tex.rhtml
  - app/views/wiki/tex_web.rhtml
  - app/views/wiki/web_list.rhtml
  - lib/active_record_stub.rb
  - lib/diff.rb
  - lib/instiki_errors.rb
  - lib/rdocsupport.rb
  - lib/redcloth_for_tex.rb
  - public/404.html
  - public/500.html
  - public/dispatch.rb
  - public/favicon.ico
  - public/javascripts/edit_web.js
  - public/javascripts/prototype.js
  - public/stylesheets/instiki.css
  - natives/osx/desktop_launcher/AppDelegate.h
  - natives/osx/desktop_launcher/AppDelegate.mm
  - natives/osx/desktop_launcher/Credits.html
  - natives/osx/desktop_launcher/Info.plist
  - natives/osx/desktop_launcher/Instiki_Prefix.pch
  - natives/osx/desktop_launcher/main.mm
  - natives/osx/desktop_launcher/MakeDMG.sh
  - natives/osx/desktop_launcher/version.plist
  - natives/osx/desktop_launcher/English.lproj/InfoPlist.strings
  - natives/osx/desktop_launcher/English.lproj/MainMenu.nib/classes.nib
  - natives/osx/desktop_launcher/English.lproj/MainMenu.nib/info.nib
  - natives/osx/desktop_launcher/English.lproj/MainMenu.nib/objects.nib
  - natives/osx/desktop_launcher/Instiki.xcode/project.pbxproj
  - config/environment.rb
  - config/routes.rb
  - config/environments/development.rb
  - config/environments/production.rb
  - config/environments/test.rb
  - script/breakpointer
  - script/server
  - "./instiki"
test_files: []
rdoc_options: []
extra_rdoc_files: []
executables:
  - instiki
extensions: []
requirements:
  - none
dependencies:
  - !ruby/object:Gem::Dependency
    name: madeleine
    version_requirement:
    version_requirements: !ruby/object:Gem::Version::Requirement
      requirements:
        -
          - "="
          - !ruby/object:Gem::Version
            version: 0.7.1
      version:
  - !ruby/object:Gem::Dependency
    name: RedCloth
    version_requirement:
    version_requirements: !ruby/object:Gem::Version::Requirement
      requirements:
        -
          - "="
          - !ruby/object:Gem::Version
            version: 3.0.3
      version:
  - !ruby/object:Gem::Dependency
    name: rubyzip
    version_requirement:
    version_requirements: !ruby/object:Gem::Version::Requirement
      requirements:
        -
          - "="
          - !ruby/object:Gem::Version
            version: 0.5.5
      version:
  - !ruby/object:Gem::Dependency
    name: rails
    version_requirement:
    version_requirements: !ruby/object:Gem::Version::Requirement
      requirements:
        -
          - "="
          - !ruby/object:Gem::Version
            version: 0.11.1
      version:

E:\>instiki
e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:194:in `report_activate_error': Could
not find RubyGem madeleine (= 0.7.1) (Gem::LoadError)
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:136:in `activate'
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `activate'
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `each'
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `activate'
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_
options'
        from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'
        from e:/ruby/bin/instiki:17

--
Best regards,

Alexey Verkhovsky

Ruby Forum: http://ruby-forum.org (moderator)
RForum: http://rforum.andreas-s.net (co-author)
Instiki: http://instiki.org (maintainer)

Alexey Verkhovsky wrote:

I have a problem with this gem (about to be released Instiki 0.10): http://alexeyv.textdriven.com/instiki-0.10.0.gem

Oh, just in case - to get the sources and build the gem yourself:

svn co http://svn.instiki.org/instiki/trunk instiki
cd instiki
rake clean package
ls pkg

···

--
Best regards,

Alexey Verkhovsky

Ruby Forum: http://ruby-forum.org (moderator)
RForum: http://rforum.andreas-s.net (co-author)
Instiki: http://instiki.org (maintainer)

I'll cross post this (and your 2nd email) to the RubyGems ML where it should get faster attention.

Curt

I have a problem with this gem (about to be released Instiki 0.10): http://alexeyv.textdriven.com/instiki-0.10.0.gem
It has external dependencies:

QTE instiki.gemspec
s.add_dependency('madeleine', '= 0.7.1')
s.add_dependency('RedCloth', '= 3.0.3')
s.add_dependency('rubyzip', '= 0.5.5')
s.add_dependency('rails', '= 0.11.1')
UNQTE

and yet, when I try to install it, it gets installed without them. I wonder what is it that I'm doing wrong here. What follows is an excerpt from command-line session.
Re my shell prompt: I swear, this is only for the kids and their games - the next thing I'm buying after a car, a house and a boat will be a Mac :slight_smile:

E:\>gem install --both --include-dependencies instiki-0.10.0.gem
Attempting local installation of 'instiki-0.10.0.gem'
Successfully installed instiki, version 0.10.0

E:\>gem list

*** LOCAL GEMS ***

instiki (0.10.0)
   Easy to install WikiClone running on WEBrick and Madeleine

postgres-pr (0.3.6)
   A pure Ruby interface to the PostgreSQL (>= 7.4) database

rake (0.5.0.2, 0.5.0, 0.4.15)
   Ruby based make-like utility.

rubygems-update (0.8.10)
   RubyGems Update GEM

sources (0.0.1)
   This package provides download sources for remote gem installation

// NOTE: no Rails, no Madeleine, etc

E:\>gem specification instiki
--- !ruby/object:Gem::Specification
rubygems_version: 0.8.10
specification_version: 1
name: instiki
version: !ruby/object:Gem::Version
version: 0.10.0
date: 2005-04-07
summary: Easy to install WikiClone running on WEBrick and Madeleine
require_paths:
- lib
email: david@loudthinking.com
homepage: http://www.instiki.org
rubyforge_project: instiki
description: Instiki is a Wiki Clone written in Ruby that ships with an embedded
webserver. You can setup up an Instiki in just a few steps. Possibly the simp
lest wiki setup ever.
autorequire:
default_executable: instiki
bindir: "."
has_rdoc: false
required_ruby_version: !ruby/object:Gem::Version::Requirement
requirements:
   -
     - ">"
     - !ruby/object:Gem::Version
       version: 0.0.0
version:
platform: ruby
authors:
- David Heinemeier Hansson
files:
- CHANGELOG
- README
- instiki
- instiki.rb
- app/controllers/admin_controller.rb
- app/controllers/application.rb
- app/controllers/file_controller.rb
- app/controllers/wiki_controller.rb
- app/helpers/application_helper.rb
- app/models/author.rb
- app/models/file_yard.rb
- app/models/page.rb
- app/models/page_lock.rb
- app/models/page_set.rb
- app/models/revision.rb
- app/models/web.rb
- app/models/wiki_content.rb
- app/models/wiki_service.rb
- app/models/wiki_words.rb
- app/models/chunks/category.rb
- app/models/chunks/chunk.rb
- app/models/chunks/engines.rb
- app/models/chunks/include.rb
- app/models/chunks/literal.rb
- app/models/chunks/nowiki.rb
- app/models/chunks/test.rb
- app/models/chunks/uri.rb
- app/models/chunks/wiki.rb
- app/views/markdown_help.rhtml
- app/views/navigation.rhtml
- app/views/rdoc_help.rhtml
- app/views/textile_help.rhtml
- app/views/wiki_words_help.rhtml
- app/views/admin/create_system.rhtml
- app/views/admin/create_web.rhtml
- app/views/admin/edit_web.rhtml
- app/views/file/file.rhtml
- app/views/file/import.rhtml
- app/views/layouts/default.rhtml
- app/views/wiki/authors.rhtml
- app/views/wiki/edit.rhtml
- app/views/wiki/export.rhtml
- app/views/wiki/feeds.rhtml
- app/views/wiki/list.rhtml
- app/views/wiki/locked.rhtml
- app/views/wiki/login.rhtml
- app/views/wiki/new.rhtml
- app/views/wiki/page.rhtml
- app/views/wiki/print.rhtml
- app/views/wiki/published.rhtml
- app/views/wiki/recently_revised.rhtml
- app/views/wiki/revision.rhtml
- app/views/wiki/rollback.rhtml
- app/views/wiki/rss_feed.rhtml
- app/views/wiki/search.rhtml
- app/views/wiki/tex.rhtml
- app/views/wiki/tex_web.rhtml
- app/views/wiki/web_list.rhtml
- lib/active_record_stub.rb
- lib/diff.rb
- lib/instiki_errors.rb
- lib/rdocsupport.rb
- lib/redcloth_for_tex.rb
- public/404.html
- public/500.html
- public/dispatch.rb
- public/favicon.ico
- public/javascripts/edit_web.js
- public/javascripts/prototype.js
- public/stylesheets/instiki.css
- natives/osx/desktop_launcher/AppDelegate.h
- natives/osx/desktop_launcher/AppDelegate.mm
- natives/osx/desktop_launcher/Credits.html
- natives/osx/desktop_launcher/Info.plist
- natives/osx/desktop_launcher/Instiki_Prefix.pch
- natives/osx/desktop_launcher/main.mm
- natives/osx/desktop_launcher/MakeDMG.sh
- natives/osx/desktop_launcher/version.plist
- natives/osx/desktop_launcher/English.lproj/InfoPlist.strings
- natives/osx/desktop_launcher/English.lproj/MainMenu.nib/classes.nib
- natives/osx/desktop_launcher/English.lproj/MainMenu.nib/info.nib
- natives/osx/desktop_launcher/English.lproj/MainMenu.nib/objects.nib
- natives/osx/desktop_launcher/Instiki.xcode/project.pbxproj
- config/environment.rb
- config/routes.rb
- config/environments/development.rb
- config/environments/production.rb
- config/environments/test.rb
- script/breakpointer
- script/server
- "./instiki"
test_files:
rdoc_options:
extra_rdoc_files:
executables:
- instiki
extensions:
requirements:
- none
dependencies:
- !ruby/object:Gem::Dependency
   name: madeleine
   version_requirement:
   version_requirements: !ruby/object:Gem::Version::Requirement
     requirements:
       -
         - "="
         - !ruby/object:Gem::Version
           version: 0.7.1
     version:
- !ruby/object:Gem::Dependency
   name: RedCloth
   version_requirement:
   version_requirements: !ruby/object:Gem::Version::Requirement
     requirements:
       -
         - "="
         - !ruby/object:Gem::Version
           version: 3.0.3
     version:
- !ruby/object:Gem::Dependency
   name: rubyzip
   version_requirement:
   version_requirements: !ruby/object:Gem::Version::Requirement
     requirements:
       -
         - "="
         - !ruby/object:Gem::Version
           version: 0.5.5
     version:
- !ruby/object:Gem::Dependency
   name: rails
   version_requirement:
   version_requirements: !ruby/object:Gem::Version::Requirement
     requirements:
       -
         - "="
         - !ruby/object:Gem::Version
           version: 0.11.1
     version:

E:\>instiki
e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:194:in `report_activate_error': Could
not find RubyGem madeleine (= 0.7.1) (Gem::LoadError)
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:136:in `activate'
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `activate'
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `each'
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `activate'
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_
options'
       from e:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'
       from e:/ruby/bin/instiki:17

Alexey Verkhovsky wrote:

···

Alexey Verkhovsky <alex@verk.info> wrote:
> Alexey Verkhovsky wrote:
>
>> I have a problem with this gem (about to be released Instiki 0.10):
>> http://alexeyv.textdriven.com/instiki-0.10.0.gem
>
> Oh, just in case - to get the sources and build the gem yourself:
>
> svn co http://svn.instiki.org/instiki/trunk instiki
> cd instiki
> rake clean package
> ls pkg
>

Hi Alexey, I've reproduced this problem on my own, but I don't have
time pre-day-job to figure out what's causing it. Thanks for the
report. Hopefully we can get this one taken care of quickly!

···

On Apr 7, 2005 2:25 AM, Alexey Verkhovsky <alex@verk.info> wrote:

Alexey Verkhovsky wrote:

> I have a problem with this gem (about to be released Instiki 0.10):
> http://alexeyv.textdriven.com/instiki-0.10.0.gem

Oh, just in case - to get the sources and build the gem yourself:

svn co http://svn.instiki.org/instiki/trunk instiki
cd instiki
rake clean package
ls pkg

--

Chad Fowler
http://chadfowler.com

http://rubygems.rubyforge.org (over 100,000 gems served!)