mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-10 01:17:40 +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"
|
||||
SQLITE='sqlite3'
|
||||
|
||||
# xmlparser gem is not compatible with ruby 1.9
|
||||
OPTIONAL=%w{nokogiri}
|
||||
else
|
||||
SQLITE='sqlite3-ruby --version 1.2.0'
|
||||
OPTIONAL=%w{nokogir xmlparser}
|
||||
end
|
||||
|
||||
GROUPS={
|
||||
:optional => %w{nokogiri xmlparser},
|
||||
:optional => OPTIONAL,
|
||||
:quota => [SQLITE, 'sequel'],
|
||||
:sunstone => ['json', 'rack', 'sinatra', 'thin', 'sequel', SQLITE],
|
||||
:cloud => %w{amazon-ec2 rack sinatra thin uuid curb},
|
||||
|
Loading…
Reference in New Issue
Block a user