[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Inochi 0.0.0

Suraj Kurapati

1/19/2009 12:47:00 PM

Inochi 0.0.0

Gives life to RubyGems-based software

http://snk.tuxfamily.org/...

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.rub...
--
Posted via http://www.ruby-....

4 Answers

Florian Gilcher

1/19/2009 1:09:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

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

HIPE-Machine:~ skade$ sudo gem install erbook
ERROR: Error installing erbook:
erbook requires inochi (=3D 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:

> Inochi 0.0.0
>
> Gives life to RubyGems-based software
>
> http://snk.tuxfamily.org/...
>
> 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.rub...
> --=20
> Posted via http://www.ruby-....
>

- --
Florian Gilcher

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

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

iEUEARECAAYFAkl0e6QACgkQyLKU2FMxSOJuXgCfa4W0Ui8LyaQ5GRiuaQ2XGi2r
YGoAl2yzHT7MuRYKNobIbSaxy3NpPGQ=3D
=3DjEtE
-----END PGP SIGNATURE-----

Florian Gilcher

1/19/2009 3:43:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



I now installed both Inochi and Erbook (by using --ignore-dependencies =20=

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 =20
`gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/=20=

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/=20=

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 =20
`gem_original_require': no such file to load -- /Library/Ruby/Gems/1.8/=20=

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:=20
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 =20
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
=3D0iIl
-----END PGP SIGNATURE-----

Suraj Kurapati

1/19/2009 7:23:00 PM

0

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/#In...
--
Posted via http://www.ruby-....

Suraj Kurapati

1/19/2009 7:25:00 PM

0

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.
--
Posted via http://www.ruby-....