Forum: Ruby [ANN] Inochi 0.0.0

Bc368ef524130e8d0deb386de961e24a?d=identicon&s=25 Suraj Kurapati (snk)
on 2009-01-19 13:48
                           Inochi 0.0.0

               Gives life to RubyGems-based software

                http://snk.tuxfamily.org/lib/inochi

   Inochi is an infrastructure for [1]RubyGems-based software
   projects that encourages good documentation, reduces
   programming effort, and automates common tasks.

4.1  Version 0.0.1 (2009-01-13)

   This is the first release of Inochi.

   Happy birthday!

References

   1. http://www.rubygems.org/
D1f1c20467562fc1d8c8aa0d328def62?d=identicon&s=25 Florian Gilcher (skade)
on 2009-01-19 14:10
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

both look sweet... But there is a problem. You have a circular
dependency:

HIPE-Machine:~ skade$ sudo gem install erbook
ERROR:  Error installing erbook:
  erbook requires inochi (= 0.0.0, runtime)
HIPE-Machine:~ skade$ sudo gem install inochi
ERROR:  Error installing inochi:
  inochi requires erbook (~> 6, runtime)

Regards,
Florian Gilcher

On Jan 19, 2009, at 1:47 PM, Suraj Kurapati wrote:

> 4.1  Version 0.0.1 (2009-01-13)
>
- --
Florian Gilcher

smtp:   flo@andersground.net
jabber: Skade@jabber.ccc.de
gpg:    533148E2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEUEARECAAYFAkl0e6QACgkQyLKU2FMxSOJuXgCfa4W0Ui8LyaQ5GRiuaQ2XGi2r
YGoAl2yzHT7MuRYKNobIbSaxy3NpPGQ=
=jEtE
-----END PGP SIGNATURE-----
D1f1c20467562fc1d8c8aa0d328def62?d=identicon&s=25 Florian Gilcher (skade)
on 2009-01-19 16:45
(Received via mailing list)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



I now installed both Inochi and Erbook (by using --ignore-dependencies
on one and then reinstalling both) and ran into this error:

HIPE-Machine:~ skade$ inochi --version
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/
gems/inochi-0.0.0/lib/inochi-0.0.0 (LoadError)
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  from /Library/Ruby/Gems/1.8/gems/inochi-0.0.0/bin/../lib/inochi/
inochi.rb:168:in `main'
  from /Library/Ruby/Gems/1.8/gems/inochi-0.0.0/bin/inochi:23
  from /usr/bin/inochi:19:in `load'
  from /usr/bin/inochi:19

Same with erbook:

HIPE-Machine:~ skade$ erbook --version
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/
gems/erbook-6.0.0/lib/erbook-6.0.0 (LoadError)
  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
  from /Library/Ruby/Gems/1.8/gems/inochi-0.0.0/lib/inochi/inochi.rb:
168:in `main'
  from /Library/Ruby/Gems/1.8/gems/erbook-6.0.0/bin/erbook:20
  from /usr/bin/erbook:19:in `load'
  from /usr/bin/erbook:19

The problem seems to be related to #first_caller_file not doing what
it should, but I couldn't figure it out at a quick glance.
It happens both under OS X and Windows.


Regards,
Florian

- --
Florian Gilcher

smtp:   flo@andersground.net
jabber: Skade@jabber.ccc.de
gpg:    533148E2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkl0n+sACgkQyLKU2FMxSOJ+fwCfU6jq8XTSB32MjQCM7V0lJlu7
j54AnRm0gzZCrHTfbgwQNg2OCfNTf26n
=0iIl
-----END PGP SIGNATURE-----
Bc368ef524130e8d0deb386de961e24a?d=identicon&s=25 Suraj Kurapati (snk)
on 2009-01-19 20:24
Florian Gilcher wrote:
> both look sweet...

Thanks!

> But there is a problem. You have a circular dependency:
>
> HIPE-Machine:~ skade$ sudo gem install erbook
> ERROR:  Error installing erbook:
>   erbook requires inochi (= 0.0.0, runtime)
> HIPE-Machine:~ skade$ sudo gem install inochi
> ERROR:  Error installing inochi:
>   inochi requires erbook (~> 6, runtime)

Thanks for reporting this.  I updated the user manual[1] to say:

  gem install inochi --force

[1]: http://snk.tuxfamily.org/lib/inochi/#Installation
Bc368ef524130e8d0deb386de961e24a?d=identicon&s=25 Suraj Kurapati (snk)
on 2009-01-19 20:26
Florian Gilcher wrote:
> I now installed both Inochi and Erbook (by using --ignore-dependencies
> on one and then reinstalling both)

Thanks for the tip.

> and ran into this error:
>
> HIPE-Machine:~ skade$ inochi --version
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/
> gems/inochi-0.0.0/lib/inochi-0.0.0 (LoadError)
>   from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
>   from /Library/Ruby/Gems/1.8/gems/inochi-0.0.0/bin/../lib/inochi/
> inochi.rb:168:in `main'
>   from /Library/Ruby/Gems/1.8/gems/inochi-0.0.0/bin/inochi:23
>   from /usr/bin/inochi:19:in `load'
>   from /usr/bin/inochi:19
>
> Same with erbook: [...]

Thanks for reporting this.  I fixed this problem and made a new 0.0.1
release.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.