ActiveScaffold と Rails 4 で非常に奇妙なエラーが発生します。新しいプロジェクトを作成し、「rake db:create」と「bundle install」を実行してから、gem active_scaffold を gem ファイルに追加し、「bundle install」を再度実行しました。 . この時点ですべてが正常に機能します。
次に、入れようとすると:
rails g active_scaffold Test test:string
私は得る:
/Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247/gems/active_scaffold-3.2.20/lib/active_scaffold.rb:2:in `<top (required)>': This version of ActiveScaffold requires Rails 3.1 or higher. Please use an earlier version. (RuntimeError)
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `block in require'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
from /Users/rgrzesik/Documents/Rails_Projects/FingertipFormulary/config/application.rb:7:in `<top (required)>'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/railties-4.0.0/lib/rails/commands.rb:44:in `require'
from /Users/rgrzesik/.rvm/gems/ruby-2.0.0-p247@global/gems/railties-4.0.0/lib/rails/commands.rb:44:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
何を与える?Rails 4 を実行していますが、これは Rails 3.1 をはるかに超えています。何か案は?