Search code examples
ruby-on-railssurveyor-gem

Rails 3 -> Could not find generator surveyor


Hey! https://github.com/breakpointer/ trying to use, When i trying to write rails generate surveyor i receive this: COuld not find generator surveyor!

could you help me?

using rails 3, ruby 1.8.7


Solution

  • Are you using the rails3 branch?

    I was getting the same exception as you but fixed it by having the following in my Gemfile:

    gem 'surveyor', :git => 'git://github.com/breakpointer/surveyor.git', :branch => 'rails3'
    gem 'formtastic'