ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aelya Grevnyov <gray.graff@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] не работает скрипт createtarball с ruby 1.9
Date: Thu, 03 Sep 2009 23:24:13 +0800
Message-ID: <4A9FDF9D.5080505@gmail.com> (raw)
In-Reply-To: <20090903144533.GA4688@altlinux.org>

03.09.2009 22:45, Alexey I. Froloff пишет:
> On Thu, Sep 03, 2009 at 10:33:50PM +0800, Aelya Grevnyov wrote:
>> но он не работает с ruby 1.9. поменялся синтаксис какбе, по сравнению с 1.8
> $ ruby -w -c create_tarball.rb
> create_tarball.rb:22: warning: shadowing outer local variable - opts
> create_tarball.rb:80: warning: mismatched indentations at 'end' with 'if' at 75
> create_tarball.rb:136: warning: shadowing outer local variable - app
> create_tarball.rb:334: warning: mismatched indentations at 'end' with 'if' at 326
> create_tarball.rb:335: warning: mismatched indentations at 'end' with 'for' at 323
> Syntax OK
> 
> Синтаксис в порядке.
> 
>> есть знающие ruby люди? :) можно как-то скриптик поправить?
> Можно.  А что не работает-то?  На -h оно отзывается, а сосать
> кеды что-то не очень хочется.

Спасибо огромное
добавил в начале скрипта вот это. и все работат
String.send(:alias_method, :each, :each_line) unless
String.method_defined? :each


      reply	other threads:[~2009-09-03 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 14:33 Aelya Grevnyov
2009-09-03 14:45 ` Alexey I. Froloff
2009-09-03 15:24   ` Aelya Grevnyov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9FDF9D.5080505@gmail.com \
    --to=gray.graff@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git