Submitted by jahlewis on Mon, 07/20/2009 - 09:44
Virtualmin Pro 3.7 on CentOS 5.3...
I'm trying to install the ruby on rails script for a virtual server and get the following error:
Updating Ruby Gems to latest version from 0.9.2 .. .. done
Now installing Ruby on Rails version 2.3.2 .. HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Tue, 14 Jul 2009 18:05:24 GMT Content-type: text/html Connection: close
Error - Perl execution failed
Undefined subroutine &virtual_server::set_permissions called at /usr/libexec/webmin/virtual-server/ruby-lib.pl line 384.
Is this a simple fix, or should I submit an issue?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 07/20/2009 - 13:36 Comment #1
Sorry, this is a Virtualmin bug. It will be fixed in 3.71, but till then you can work around it by editing /usr/libexec/webmin/virtual-server/ruby-lib.pl and changing line 384 to :
&set_permissions_as_domain_user($d, 0755, "$opts->{'dir'}/.htaccess");
Then run /etc/webmin/restart , and re-try installing Ruby. You may need to delete the contents of the install directory first though.
Submitted by JamieCameron on Mon, 07/20/2009 - 13:36 Comment #2
Submitted by Issues on Mon, 08/03/2009 - 14:18 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.