嘿! https://github.com/breakpointer/试图使用, 当我试图写轨生成surveyor 我收到此:COULD找不到发电机测量员!Rails 3 - >找不到发电机测量员
你能帮我吗?
使用rails 3,ruby 1.8.7
嘿! https://github.com/breakpointer/试图使用, 当我试图写轨生成surveyor 我收到此:COULD找不到发电机测量员!Rails 3 - >找不到发电机测量员
你能帮我吗?
使用rails 3,ruby 1.8.7
您是否正在使用rails3分支?
我得到相同的异常如你,但固定它通过在我的Gemfile如下:
gem 'surveyor', :git => 'git://github.com/breakpointer/surveyor.git', :branch => 'rails3'
gem 'formtastic'
谢谢!!!!!!!!!!!!!!! – 2011-03-22 11:28:03
theres在github上写道:“主要分支在NUBIC/Surveyor,这不再是活跃的开发分支!” – bjelli 2011-08-11 13:08:21
那里有一张纸条在GitHub上说:“主要的分支是NUBIC /测量员这不再活跃的开发分支!“所以你可能想使用
gem 'surveyor', :git => 'git://github.com/NUBIC/surveyor.git', :branch => 'rails3'
gem 'formtastic'
改为。
而且,实际的命令生成的东西是
rails generate surveyor:install
感谢rails生成命令:D – Francois 2013-02-03 15:58:02
我遇到了麻烦,我安装上铁3.0.9
gem 'surveyor', :git => 'https://github.com/NUBIC/surveyor.git', :branch => 'rails3'
gem 'formtastic'
给我formtastic 2.0.0造成这种错误 - >未初始化的常量Formtastic :: SemanticFormHelper
找到一篇关于升级的博客文章...但这将是另一天:-) http://richardhulse.blogspot.com/2011/06/upgrading-to-formtastic-20.html
我再降级到1.2.4,并能产生验船师
gem 'surveyor', :git => 'https://github.com/NUBIC/surveyor.git', :branch => 'rails3'
gem 'formtastic', '~> 1.2.4'
你做了捆绑安装了吗? – corroded 2011-03-09 08:34:35