List Info

Thread: Re: Problems ruby fileutils




Re: Problems ruby fileutils
user name
2007-07-11 08:13:15
Sander,

On Wed, 11 Jul 2007 14:27:23 +0200
Sander Hamel - ICI-Multimedia <sanderici-multimedia.com> wrote:
> Not sure if this is the correct place to post this
problem.

The normal procedure is to use reportbug to file a bug
against the relevant
package which, in this case, is libruby1.8.  But in your
case, that is not
appropriate ...


> But it seems
> that after installing ruby by:
> 
> apt-get install irb1.8 libreadline-ruby1.8 libruby
libruby1.8 rdoc1.8 
> > ruby ruby1.8 ruby1.8-dev
> 
> the FileUtils package is not complete. I tried it on 2
debian(3.1)
> machines and both have the same problem.

That release (Sarge) is now obsolete.  It has been
superceded by
Debian 4.0 (Etch).  See:

http://www.debian.org
/releases/

I suspect ruby just didn't include these methods in
FileUtils back then.

> The following statements are
> not accepted while they normally are part of the
fileutils.
> 
> chmod_R
> chown
> chown_R
> 
> Is there anyway to fix this problem? Or should I post
it somewhere else?
> 
> Small sample of chmod_R not working:
> 
> mars:~/installers/webici# irb
> irb(main):001:0> require 'fileutils'
> => true
> irb(main):002:0> include FileUtils
> => Object
> irb(main):003:0> chmod_R 0700,
"/home/sander"
> NoMethodError: undefined method `chmod_R' for
main:Object
>         from (irb):3

Not reproducible in Sid.  And I'm confident you won't be
able to reproduce
the problem on Etch either, though I have not tested this. 
Please update
your system to the latest supported stable release, Debian
4.0 (Etch).

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca  
synrgsanctuary.nslug.ns.ca
 `'  Debian   http://www.debian.org   
synrgdebian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA
0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9
39 4F ]


-- 
To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Problems ruby fileutils
user name
2007-07-11 08:53:51
Ben,

Thanks for the help. 

I upgraded using backports and it works perfectly now.

Kind Regards,

Sander


On Wed, 2007-07-11 at 15:28, Ben Armstrong wrote:
> Sander,
> 
> On Wed, 11 Jul 2007 15:22:54 +0200
> Sander Hamel - ICI-Multimedia <sanderici-multimedia.com> wrote:
> > Thanks for the answer. I can't upgrade because
these servers are used
> > for webhosting and the hosting control panel not
support etch yet.
> 
> Can you use ruby 1.8.5 provided by backports.org in
sarge-backports?
> 
> http://backports.org/dokuwiki/doku.php?id=instructions

> 
> Ben
> --
>  ,-.  nSLUG    http://www.nslug.ns.ca  
synrgsanctuary.nslug.ns.ca
>  `'  Debian   http://www.debian.org   
synrgdebian.org
>   `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94
F3CA 0B27 13C8 ]
>              [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED
C6 A9 39 4F ]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
> with a subject of "unsubscribe". Trouble?
Contact listmasterlists.debian.org
> 


-- 
To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Problems ruby fileutils
country flaguser name
Netherlands
2007-07-11 07:27:23
Hi Everyone,

Not sure if this is the correct place to post this problem.
But it seems
that after installing ruby by:

apt-get install irb1.8 libreadline-ruby1.8 libruby
libruby1.8 rdoc1.8 
> ruby ruby1.8 ruby1.8-dev

the FileUtils package is not complete. I tried it on 2
debian(3.1)
machines and both have the same problem. The following
statements are
not accepted while they normally are part of the fileutils.

chmod_R
chown
chown_R

Is there anyway to fix this problem? Or should I post it
somewhere else?

Small sample of chmod_R not working:

mars:~/installers/webici# irb
irb(main):001:0> require 'fileutils'
=> true
irb(main):002:0> include FileUtils
=> Object
irb(main):003:0> chmod_R 0700, "/home/sander"
NoMethodError: undefined method `chmod_R' for main:Object
        from (irb):3


Kind Regards,

Sander


-- 
To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Problems ruby fileutils
country flaguser name
Netherlands
2007-07-11 08:22:54
Ben,

Thanks for the answer. I can't upgrade because these servers
are used
for webhosting and the hosting control panel not support
etch yet.

Regards,

Sander

On Wed, 2007-07-11 at 15:13, Ben Armstrong wrote:
> Sander,
> 
> On Wed, 11 Jul 2007 14:27:23 +0200
> Sander Hamel - ICI-Multimedia <sanderici-multimedia.com> wrote:
> > Not sure if this is the correct place to post this
problem.
> 
> The normal procedure is to use reportbug to file a bug
against the relevant
> package which, in this case, is libruby1.8.  But in
your case, that is not
> appropriate ...
> 
> 
> > But it seems
> > that after installing ruby by:
> > 
> > apt-get install irb1.8 libreadline-ruby1.8 libruby
libruby1.8 rdoc1.8 
> > > ruby ruby1.8 ruby1.8-dev
> > 
> > the FileUtils package is not complete. I tried it
on 2 debian(3.1)
> > machines and both have the same problem.
> 
> That release (Sarge) is now obsolete.  It has been
superceded by
> Debian 4.0 (Etch).  See:
> 
> http://www.debian.org
/releases/
> 
> I suspect ruby just didn't include these methods in
FileUtils back then.
> 
> > The following statements are
> > not accepted while they normally are part of the
fileutils.
> > 
> > chmod_R
> > chown
> > chown_R
> > 
> > Is there anyway to fix this problem? Or should I
post it somewhere else?
> > 
> > Small sample of chmod_R not working:
> > 
> > mars:~/installers/webici# irb
> > irb(main):001:0> require 'fileutils'
> > => true
> > irb(main):002:0> include FileUtils
> > => Object
> > irb(main):003:0> chmod_R 0700,
"/home/sander"
> > NoMethodError: undefined method `chmod_R' for
main:Object
> >         from (irb):3
> 
> Not reproducible in Sid.  And I'm confident you won't
be able to reproduce
> the problem on Etch either, though I have not tested
this.  Please update
> your system to the latest supported stable release,
Debian 4.0 (Etch).
> 
> Ben
> --
>  ,-.  nSLUG    http://www.nslug.ns.ca  
synrgsanctuary.nslug.ns.ca
>  `'  Debian   http://www.debian.org   
synrgdebian.org
>   `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94
F3CA 0B27 13C8 ]
>              [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED
C6 A9 39 4F ]


-- 
To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


Re: Problems ruby fileutils
user name
2007-07-11 08:28:36
Sander,

On Wed, 11 Jul 2007 15:22:54 +0200
Sander Hamel - ICI-Multimedia <sanderici-multimedia.com> wrote:
> Thanks for the answer. I can't upgrade because these
servers are used
> for webhosting and the hosting control panel not
support etch yet.

Can you use ruby 1.8.5 provided by backports.org in
sarge-backports?

http://backports.org/dokuwiki/doku.php?id=instructions


Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca  
synrgsanctuary.nslug.ns.ca
 `'  Debian   http://www.debian.org   
synrgdebian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA
0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9
39 4F ]


-- 
To UNSUBSCRIBE, email to debian-ruby-REQUESTlists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmasterlists.debian.org


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )