couchrest-rails icon indicating copy to clipboard operation
couchrest-rails copied to clipboard

autoinstall method not compatible with rails 3

Open wtn opened this issue 13 years ago • 4 comments

/usr/local/rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require': no such file to load -- rails_generator (LoadError)

wtn avatar Dec 20 '10 22:12 wtn

I am facing similar issue. How do I bypass this?

jethar avatar Mar 03 '11 11:03 jethar

Are you trying to get your app started? You can check out https://github.com/wtn/couchdb_model_skeleton but be warned, I am not an insider and I am not following the latest develoments regarding this gem.

wtn avatar Mar 03 '11 18:03 wtn

thanks, I will give it a try. Looks promising for getting a start.

jethar avatar Mar 03 '11 20:03 jethar

Workaround: Locate the templates directory in generators and copy couchdb.yml as config/couchdb.yml and couchdb_initializer.rb as config/initializers/couchdb.rb and replace "RAILS_ENV" with "Rails.env" and "RAILS_ROOT" with "Rails.root" in both of them.

Tuxie avatar Oct 31 '11 12:10 Tuxie