ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Ruby
@ 2002-10-01  0:19 Dark Angel
  2002-10-01  9:38 ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: Dark Angel @ 2002-10-01  0:19 UTC (permalink / raw)
  To: sisyphus

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

Доброго времени суток!

Вот решил установить Ruby...
как обычно...  apt-get install bla-bla-bla.
Апт выдал ошибку, типа не могу ска
 Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1

[-- Attachment #2: err.txt --]
[-- Type: text/plain, Size: 1173 bytes --]

ïÂÒÁÂÏÔËÁ ÆÁÊÌÏ×ÙÈ ÚÁ×ÉÓÉÍÏÓÔÅÊ...
þÔÅÎÉÅ ÓÐÉÓËÏ× ÐÁËÅÔÏ×...
ðÏÓÔÒÏÅÎÉÅ ÄÅÒÅ×Á ÚÁ×ÉÓÉÍÏÓÔÅÊ...
óÌÅÄÕÀÝÉÅ ÄÏÐÏÌÎÉÔÅÌØÎÙÅ ÐÁËÅÔÙ ÂÕÄÕÔ ÕÓÔÁÎÏ×ÌÅÎÙ:
  coreutils libruby ruby-doc ruby-stdlibs 
óÌÅÄÕÀÝÉÅ ÐÁËÅÔÙ ÂÕÄÕÔ úáíåîåîù:
  fileutils sh-utils stat textutils 
óÌÅÄÕÀÝÉÅ îï÷ùå ÐÁËÅÔÙ ÂÕÄÕÔ ÕÓÔÁÎÏ×ÌÅÎÙ:
  coreutils libruby ruby-stdlibs 
óÌÅÄÕÀÝÉÅ ÐÁËÅÔÙ ÂÕÄÕÔ ïâîï÷ìåîù:
  ruby ruby-doc 
2 ÐÁËÅÔÏ× ÂÕÄÅÔ ÏÂÎÏ×ÌÅÎÏ, 3 ÂÕÄÅÔ ÄÏÂÁ×ÌÅÎÏ ÎÏ×ÙÈ, 4 ÂÕÄÅÔ ÕÄÁÌÅÎÏ(ÚÁÍÅÎÅÎÏ) É 463 ÎÅ ÂÕÄÅÔ ÏÂÎÏ×ÌÅÎÏ.
îÅÏÂÈÏÄÉÍÏ ÐÏÌÕÞÉÔØ 1898kB/3258kB ÁÒÈÉ×Ï×. ðÏÓÌÅ ÒÁÓÐÁËÏ×ËÉ 1069kâ ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÎÏ.
ðÒÏÄÏÌÖÉÔØ? [Y/n] Get:1 ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1 [1898kB]
Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1
  Unable to fetch file, server said 'Failed to open file.  '
Get:2 ftp://ftp.altlinux.ru i586/sisyphus coreutils 4.5.1-alt1 [1898kB]
Err ftp://ftp.altlinux.ru i586/sisyphus coreutils 4.5.1-alt1
  Unable to fetch file, server said 'Failed to open file.  '
Get:3 ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1 [1898kB]
Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1
  Unable to fetch file, server said 'Failed to open file.  '

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ruby
  2002-10-01  0:19 [sisyphus] Ruby Dark Angel
@ 2002-10-01  9:38 ` Vitaly Lipatov
  2002-10-01  9:47   ` Ilya Palagin
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Lipatov @ 2002-10-01  9:38 UTC (permalink / raw)
  To: sisyphus

On 1 Октябрь 2002 04:19, Dark Angel wrote:
> Доброго времени суток!
>
> Вот решил установить Ruby...
> как обычно...  apt-get install bla-bla-bla.
> Апт выдал ошибку, типа не могу ска
>  Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1
Наверное забыли сделать update

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux! LaTeX! LyX!


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ruby
  2002-10-01  9:38 ` Vitaly Lipatov
@ 2002-10-01  9:47   ` Ilya Palagin
  2002-10-01 10:19     ` Alexander Bokovoy
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Palagin @ 2002-10-01  9:47 UTC (permalink / raw)
  To: sisyphus

Vitaly Lipatov wrote:
> On 1 Октябрь 2002 04:19, Dark Angel wrote:
> 
>>Доброго времени суток!
>>
>>Вот решил установить Ruby...
>>как обычно...  apt-get install bla-bla-bla.
>>Апт выдал ошибку, типа не могу ска
>> Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1
> 
> Наверное забыли сделать update
> 
Кстати, по поводу последнего ruby из сизифа  - ему
чем-то не нравится CGI.pretty(), он видит его как
parse error.   Откатился на версию, идущую с ALM2 -
все работает.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ruby
  2002-10-01  9:47   ` Ilya Palagin
@ 2002-10-01 10:19     ` Alexander Bokovoy
  2002-10-02  2:26       ` Ilya Palagin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Bokovoy @ 2002-10-01 10:19 UTC (permalink / raw)
  To: sisyphus

On Tue, Oct 01, 2002 at 04:47:45PM +0700, Ilya Palagin wrote:
> Vitaly Lipatov wrote:
> >On 1 Октябрь 2002 04:19, Dark Angel wrote:
> >
> >>Доброго времени суток!
> >>
> >>Вот решил установить Ruby...
> >>как обычно...  apt-get install bla-bla-bla.
> >>Апт выдал ошибку, типа не могу ска
> >>Err ftp://ftp.altlinux.ru i586/classic coreutils 4.5.1-alt1
> >
> >Наверное забыли сделать update
> >
> Кстати, по поводу последнего ruby из сизифа  - ему
> чем-то не нравится CGI.pretty(), он видит его как
> parse error.   Откатился на версию, идущую с ALM2 -
> все работает.
Конкретный код можно?
$ irb
irb(main):001:0> require 'cgi'
true
irb(main):002:0> print CGI::pretty("<html><body></body></html>","\t")
<html>
        <body>
        </body>
</html>
nil
irb(main):003:0> print CGI.pretty("<html><body></body></html>","\t")
<html>
        <body>
        </body>
</html>
nil
irb(main):004:0> puts VERSION
1.7.3
nil
-- 
/ Alexander Bokovoy
---
The one good thing about repeating your mistakes is that you know when to
cringe.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ruby
  2002-10-01 10:19     ` Alexander Bokovoy
@ 2002-10-02  2:26       ` Ilya Palagin
  2002-10-02  7:59         ` Alexander Bokovoy
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Palagin @ 2002-10-02  2:26 UTC (permalink / raw)
  To: sisyphus

Alexander Bokovoy wrote:
> On Tue, Oct 01, 2002 at 04:47:45PM +0700, Ilya Palagin wrote:
>>Кстати, по поводу последнего ruby из сизифа  - ему
>>чем-то не нравится CGI.pretty(), он видит его как
>>parse error.   Откатился на версию, идущую с ALM2 -
>>все работает.
> 
> Конкретный код можно?
Пожалста:
Ruby на ALM2 в следующей комплектации:
ruby-stdlibs-1.7.3-alt1
mod_ruby-1.0.0-alt0.3
libruby-1.7.3-alt1
ruby-doc-1.7.3-alt1
ruby-1.7.3-alt1

Выдает ошибку "parse error" при запуске кода:
------------------------------------
require 'cgi'
cgi = CGI.new("html3")
cgi.out{
    CGI.pretty (
      cgi.html{
        cgi.head{""} +
        cgi.body{
            cgi.html{"Hi man"}
        }
      }
    )
}
------------------------------------
Если убрать CGI.pretty, ошибки нет.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Ruby
  2002-10-02  2:26       ` Ilya Palagin
@ 2002-10-02  7:59         ` Alexander Bokovoy
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Bokovoy @ 2002-10-02  7:59 UTC (permalink / raw)
  To: sisyphus

On Wed, Oct 02, 2002 at 09:26:50AM +0700, Ilya Palagin wrote:
> Выдает ошибку "parse error" при запуске кода:
> ------------------------------------
> require 'cgi'
> cgi = CGI.new("html3")
> cgi.out{
>    CGI.pretty (
>      cgi.html{
>        cgi.head{""} +
>        cgi.body{
>            cgi.html{"Hi man"}
>        }
>      }
>    )
> }
> ------------------------------------
> Если убрать CGI.pretty, ошибки нет.
Уберите скобки вокруг CGI.pretty и перенесите cgi.html на ту же строку:
	CGI.pretty cgi.html{ ...

У меня работает без проблем.
-- 
/ Alexander Bokovoy
---
Ad astra per aspera.
	[To the stars by aspiration.]


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-10-02  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01  0:19 [sisyphus] Ruby Dark Angel
2002-10-01  9:38 ` Vitaly Lipatov
2002-10-01  9:47   ` Ilya Palagin
2002-10-01 10:19     ` Alexander Bokovoy
2002-10-02  2:26       ` Ilya Palagin
2002-10-02  7:59         ` Alexander Bokovoy

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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