1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

Change mysql gem to mysql2

(cherry picked from commit 9897251d4ae09e04947ae8edbd828ccb85869210)
This commit is contained in:
Jaime Melis 2017-02-14 12:41:30 +01:00
parent 3dbe3839f9
commit f0183fef2e
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ gem 'trollop' # vmware
gem 'parse-cron' # oneflow
gem 'aws-sdk', '~> 2.5' # ec2_hybrid
gem 'ox' # oca
gem 'mysql' # onedb
gem 'mysql2' # onedb

View File

@ -42,7 +42,7 @@ GROUPS={
:ec2_hybrid => 'aws-sdk --version "~> 2.5"',
:oca => 'ox',
:market => 'aws-sdk',
:onedb => "mysql"
:onedb => "mysql2"
}
PACKAGES=GROUPS.keys
@ -58,7 +58,7 @@ DISTRIBUTIONS={
:dependencies_common => ['ruby-dev', 'make'],
:dependencies => {
SQLITE => ['gcc', 'libsqlite3-dev'],
'mysql' => ['gcc', 'libmysqlclient-dev'],
'mysql2' => ['gcc', 'libmysqlclient-dev'],
'curb' => ['gcc', 'libcurl4-openssl-dev'],
$nokogiri => %w{gcc rake libxml2-dev libxslt1-dev patch},
'xmlparser' => ['gcc', 'libexpat1-dev'],
@ -76,7 +76,7 @@ DISTRIBUTIONS={
:dependencies_common => ['ruby-devel', 'make'],
:dependencies => {
SQLITE => ['gcc', 'sqlite-devel'],
'mysql' => ['gcc', 'mysql-devel', 'openssl-devel'],
'mysql2' => ['gcc', 'mysql-devel', 'openssl-devel'],
'curb' => ['gcc', 'curl-devel'],
$nokogiri => %w{gcc rubygem-rake libxml2-devel libxslt-devel patch},
'xmlparser' => ['gcc', 'expat-devel'],