2011-08-29 56 views
0

Padrino 0.10 gem安裝activesupprt 3.0.9需要ruby> = 1.8.7。哪個版本的Padrino在Ruby 1.8.6中運行良好?

我在Ruby 1.8.6上工作,任何人都可以告訴我哪個版本的Padrino可以在Ruby 1.8.6下正常工作?

我不想升級Ruby版本atleast 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

v. 0.9.8應該用Ruby 1.8.6工作。

+0

這顆寶石已被抽出。我得到=>無法在您的Gemfile中列出的任何gem源中找到gem'padrino(= 0.9.8,runtime)'。 –

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,當它需要積極支持3.0去除mongoid-rspecs,但活躍的版本支持3.0需要ruby> = 1.8.7

相關問題