2013-12-18 184 views
0

rails 4 + ruby​​ 2.0轨4是否支持active_scaffold?

是否rails 4支持active_scaffold?

由源https://github.com/activescaffold/active_scaffold

概述

“ActiveScaffold提供CRUD(创建,读取,更新,删除)为Rails应用程序操作的快速和强大的用户界面,提供产生额外的功能,包括搜索。 ,分页&版式控制。支持Rails 3.2和4。“

当我尝试与一个全新的铁路项目。

1)宝石 'active_scaffold'

2)束安装

3)捆绑EXEC耙分贝:创建

错误

这ActiveScaffold的版本需要的Rails 3.1或更高。请使用较早的版本。

/home/xyz/.rvm/gems/[email protected]/gems/active_scaffold-3.2.20/xyz/active_scaffold.rb:2:in <top (required)>' /home/xyz/.rvm/gems/[email protected]/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in需要” /家/ XYZ/.rvm/gems/ruby​​-2.0.0 -p247 @ global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:在block (2 levels) in require' /home/xyz/.rvm/gems/[email protected]/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in每个' /home/xyz/.rvm/gems/ruby- [email protected]/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:在block in require' /home/xyz/.rvm/gems/[email protected]/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in每个' /home/xyz/.rvm/gems/[email protected] /gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in require' /home/xyz/.rvm/gems/[email protected]/gems/bundler-1.3.5/lib/bundler.rb:132:in require' /home/xyz/RoRProjects/active_scaff/config/application.rb:7:in <top (required)>' /home/xyz/RoRProjects/active_scaff/Rakefile:4:in require' /home/xyz/RoRProjects/active_scaff/Rakefile:4:<top (required)>' /home/xyz/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in eval' /home/xyz/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in`'

任何建议?

回答

1

答案是肯定的!导轨4支持active_scaffold。

1)宝石 'active_scaffold',github上: 'activescaffold/active_scaffold'

2)束安装

3)捆绑EXEC耙分贝:创建

4)轨道克active_scaffold用户名:字符串

5)bundle exec rake db:migrate

完成!