ExamarCorp / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Fatal error: Panel requires Ruby 1.8 (Ruby 1.9 is not supported). #540

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SYSTEM Debian 7.5 stable (Wheezy) (64bits)

error message

ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

apt-get -y remove ruby1.9*
apt-get -y install ruby1.8

ruby --version
ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]

propose update ai.sh

change

if [ "$DISTRIB_ID" = "Ubuntu" -o "$DISTRIB_ID" = "Debian" ]; then
    apt-get update
    apt-get -y install ruby rubygems libsqlite3-ruby libopenssl-ruby rake
  fi

by

if [ "$DISTRIB_ID" = "Ubuntu" -o "$DISTRIB_ID" = "Debian" ]; then
    apt-get update
    apt-get -y remove ruby1.9*
    apt-get -y install ruby1.8 rubygems libsqlite3-ruby libopenssl-ruby rake
  fi

100% work

Original issue reported on code.google.com by andyki...@gmail.com on 18 Jun 2014 at 6:49

GoogleCodeExporter commented 9 years ago
i have done ths and notting happends..help? 

wen i run the scip again it say's 
E: Unable to locate package libsqlite3-ruby
E: Package 'rake' has no installation candidate
Checking presence of the command: ruby
Fatal error: Ruby 1.8 is not installed. Please install it first.
root@infocasca:/#

Original comment by cascaos...@gmail.com on 23 Mar 2015 at 5:24