henrypoydar / couchrest-rails

A Rails plugin for connecting to and working with CouchDB via CouchRest
MIT License
121 stars 22 forks source link

autoinstall method not compatible with rails 3 #7

Open wtn opened 13 years ago

wtn commented 13 years ago

/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)

jethar commented 13 years ago

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

wtn commented 13 years ago

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.

jethar commented 13 years ago

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

Tuxie commented 12 years ago

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.