ExamarCorp / ovz-web-panel

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

Cant install - ruby problem #488

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1.Just running the installer
2.
3.

Actual result: giving error of ruby

Expected result: shouldnt give error of ruby

Version of the product: 2.0

Server OS: CentOS release 5.7 64bit

Browser: n/a

Additional information: ( i have tried to remove ruby and reinstall .. no luck)

[root@192-168-1-94 ~]# wget -O - 
http://ovz-web-panel.googlecode.com/svn/install                                 

                          er/ai.sh | sh
--2013-01-31 14:25:41--  http://ovz-web-panel.googlecode.com/svn/installer/ai.sh
Resolving ovz-web-panel.googlecode.com... 173.194.66.82, 2a00:1450:400c:c03::52
Connecting to ovz-web-panel.googlecode.com|173.194.66.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8688 (8.5K) [text/plain]
Saving to: `STDOUT'

100%[======================================>] 8,688       --.-K/s   in 0.1s

2013-01-31 14:25:42 (56.8 KB/s) - `-' saved [8688/8688]

-----------------------------------
OpenVZ Web Panel Installer.
-----------------------------------
Checking environment...
System info: Linux 192-168-1-94.myrsk.com 2.6.18-274.el5 #1 SMP Fri Jul 22 
04:43                                                                           
                                                                :29 EDT 2011 
x86_64 x86_64 x86_64 GNU/Linux
Detecting distrib ID...
Checking presence of the command: lsb_release
LSB info: LSB Version: 
:core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.                       

0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia

32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.7 
(F                                                                              
                                                             inal) Release: 5.7 
Codename: Final
Detected distrib ID: CentOS
Standalone environment detected.
Resolving dependencies...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.dgn.net.tr
 * extras: ftp.dgn.net.tr
 * soluslabs: mirror.eu1.soluslabs.net
 * updates: centos.fastbull.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ruby.x86_64 0:1.8.5-27.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch             Version                   Repository      Size
================================================================================
Installing:
 ruby           x86_64           1.8.5-27.el5              base           278 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 278 k
Downloading Packages:
ruby-1.8.5-27.el5.x86_64.rpm                             | 278 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : ruby                                                     1/1

Installed:
  ruby.x86_64 0:1.8.5-27.el5

Complete!
Checking presence of the command: gem
false
ERROR:  Error installing rake:
        rake requires Ruby version >= 1.8.6
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.dgn.net.tr
 * extras: ftp.dgn.net.tr
 * soluslabs: mirror.eu1.soluslabs.net
 * updates: centos.fastbull.org
Setting up Install Process
Package sqlite-devel-3.3.6-6.x86_64 already installed and latest version
Package sqlite-devel-3.3.6-6.i386 already installed and latest version
Package 1:make-3.81-3.el5.x86_64 already installed and latest version
Package gcc-4.1.2-54.el5.x86_64 already installed and latest version
Nothing to do
ERROR:  Error installing sqlite3:
        sqlite3 requires Ruby version >= 1.8.7
Checking presence of the command: ruby
Ruby version: 1.8.7
Checking presence of the command: gem
RubyGems version: 1.3.5
Checking Ruby SQLite3 support: ruby -e "require 'rubygems'" -e "require 
'sqlite3                                                                        
                                                                   '"
Fatal error: Ruby SQLite3 support not found. Please install it first.

Original issue reported on code.google.com by papa...@gmail.com on 31 Jan 2013 at 7:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same Problem

Fixed by

Add repo

# yum update m2crypto
# curl -O https://packages.endpoint.com/rhel/5/os ... x86_64.rpm
# yum --nogpgcheck install endpoint-repo-1.0-1.x86_64.rpm

Install the package

# yum install ruby-enterprise ruby-enterprise-rubygems

Hope this help for other facing the same problems

Original comment by radopraj...@gmail.com on 3 Apr 2014 at 3:48