Padrino 0.10 gem安装了activesupprt 3.0.9,需要ruby> = 1.8.7。
我正在使用Ruby 1.8.6可以任何人建议我使用Ruby 1.8.6哪个版本的Padrino可以正常工作?
我不想升级Ruby版本至少5-6个月。这是我当前的gemfile
source :rubygems
# Server requirements
# gem 'thin' or mongrel
# Project requirements
gem 'rake'
gem 'rack-flash'
# Component requirements
#gem 'haml'
gem 'SystemTimer', :require => "system_timer"
gem 'mongoid'
gem 'bson_ext', :require => "mongo"
gem "state_machine"
# Test requirements
gem 'rspec', :group => "test"
gem 'rack-test', :group => "test", :require => "rack/test"
gem 'mongoid-rspec', :group => "test"
# Padrino
gem 'padrino', '0.10.0'
答案 0 :(得分:0)
v. 0.9.8
应该与ruby 1.8.6一起使用。
答案 1 :(得分:0)
诉0.9.9适用于红宝石1.8.6
Installing rake (0.9.2)
Installing SystemTimer (1.2.3) with native extensions
Installing activesupport (2.3.5)
Installing bson (1.0.9)
Installing bson_ext (1.3.1) with native extensions
Using bundler (1.0.7)
Installing diff-lcs (1.1.3)
Installing durran-validatable (2.0.1)
Installing fuzzyhash (0.0.11)
Installing i18n (0.6.0)
Installing mongo (1.0.9)
Installing will_paginate (2.3.16)
Installing mongoid (1.9.0)
Installing rack (1.3.1)
Installing tilt (1.3.3)
Installing sinatra (1.2.6)
Installing thor (0.14.6)
Installing usher (0.8.3)
Installing padrino-core (0.9.9)
Installing padrino-gen (0.9.9)
Installing padrino-helpers (0.9.9)
Installing padrino-admin (0.9.9)
Installing tmail (1.2.7.1) with native extensions
Installing padrino-mailer (0.9.9)
Installing padrino (0.9.9)
Installing rack-flash (0.1.2)
Installing rack-test (0.6.0)
Installing rspec-core (2.6.4)
Installing rspec-expectations (2.6.0)
Installing rspec-mocks (2.6.0)
Installing rspec (2.6.0)
Installing state_machine (1.0.2)
Your bundle is complete! It was installed into ./vendor/bundle_gems
我需要设置mongoid的版本〜> 1.9.0并删除了mongoid-rspecs,因为它需要有效支持3.0,但有效支持3.0需要ruby> = 1.8.7