mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-25 06:03:36 +03:00
install_gems: Do not install xmlparser gem for ruby 1.9
This commit is contained in:
parent
fcb98539ce
commit
533539c93b
@ -9,12 +9,16 @@ DEFAULT=%w{optional sunstone quota cloud ozones_server acct}
|
|||||||
|
|
||||||
if defined?(RUBY_VERSION) && RUBY_VERSION>="1.8.7"
|
if defined?(RUBY_VERSION) && RUBY_VERSION>="1.8.7"
|
||||||
SQLITE='sqlite3'
|
SQLITE='sqlite3'
|
||||||
|
|
||||||
|
# xmlparser gem is not compatible with ruby 1.9
|
||||||
|
OPTIONAL=%w{nokogiri}
|
||||||
else
|
else
|
||||||
SQLITE='sqlite3-ruby --version 1.2.0'
|
SQLITE='sqlite3-ruby --version 1.2.0'
|
||||||
|
OPTIONAL=%w{nokogir xmlparser}
|
||||||
end
|
end
|
||||||
|
|
||||||
GROUPS={
|
GROUPS={
|
||||||
:optional => %w{nokogiri xmlparser},
|
:optional => OPTIONAL,
|
||||||
:quota => [SQLITE, 'sequel'],
|
:quota => [SQLITE, 'sequel'],
|
||||||
:sunstone => ['json', 'rack', 'sinatra', 'thin', 'sequel', SQLITE],
|
:sunstone => ['json', 'rack', 'sinatra', 'thin', 'sequel', SQLITE],
|
||||||
:cloud => %w{amazon-ec2 rack sinatra thin uuid curb},
|
:cloud => %w{amazon-ec2 rack sinatra thin uuid curb},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user