rmagick调整为仅test需要安装
This commit is contained in:
parent
1da147684a
commit
e6b80de3b5
18
Gemfile
18
Gemfile
|
@ -32,6 +32,15 @@ group :test do
|
||||||
gem "mocha", "~> 0.13.3"
|
gem "mocha", "~> 0.13.3"
|
||||||
gem 'capybara', '~> 2.0.0'
|
gem 'capybara', '~> 2.0.0'
|
||||||
gem 'nokogiri', '< 1.6.0'
|
gem 'nokogiri', '< 1.6.0'
|
||||||
|
|
||||||
|
platforms :mri, :mingw do
|
||||||
|
group :rmagick do
|
||||||
|
# RMagick 2 supports ruby 1.9
|
||||||
|
# RMagick 1 would be fine for ruby 1.8 but Bundler does not support
|
||||||
|
# different requirements for the same gem on different platforms
|
||||||
|
gem "rmagick", ">= 2.0.0"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,15 +62,6 @@ group :ldap do
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
platforms :mri, :mingw do
|
|
||||||
group :rmagick do
|
|
||||||
# RMagick 2 supports ruby 1.9
|
|
||||||
# RMagick 1 would be fine for ruby 1.8 but Bundler does not support
|
|
||||||
# different requirements for the same gem on different platforms
|
|
||||||
gem "rmagick", ">= 2.0.0"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Optional gem for OpenID authentication
|
# Optional gem for OpenID authentication
|
||||||
group :openid do
|
group :openid do
|
||||||
gem "ruby-openid", "~> 2.1.4", :require => "openid"
|
gem "ruby-openid", "~> 2.1.4", :require => "openid"
|
||||||
|
|
Loading…
Reference in New Issue