ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] не работает скрипт createtarball с ruby 1.9
Date: Thu, 3 Sep 2009 18:45:33 +0400
Message-ID: <20090903144533.GA4688@altlinux.org> (raw)
In-Reply-To: <4A9FD3CE.5070009@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

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 оно отзывается, а сосать
кеды что-то не очень хочется.

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-09-03 14:45 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 [this message]
2009-09-03 15:24   ` Aelya Grevnyov

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=20090903144533.GA4688@altlinux.org \
    --to=raorn@altlinux.org \
    --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