I played around with rails template and added JRuby support - maybe that is of some interest, though JRuby and Rails3.1.x is too painful right now.
see https://github.com/mkristian/datamapper.github.com/blob/7a005443a5faf9ce9a91a6caa120d77ea77d9328/templates/rails/gemfile.rb - Kristian On Jun 17, 6:02 am, Justin <[email protected]> wrote: > if you replace the current 'dm-rails' and 'dm-active_model' with the > following in your Gemfile you should be fine for now, i have a 3.1 app > that works fine like this... > > gem 'dm-active_model', git: "git://github.com/myobie/dm- > active_model.git" > gem 'dm-rails', git: "git://github.com/myobie/dm-rails.git" > > On Jun 16, 7:53 am, Philipp Kempgen <[email protected]> wrote: > > > > > > > > > Hi, > > > How would I go about using DataMapper with Rails 3.1.x? > > Changing the RAILS_VERSION in the Gemfile doesn't work as > > there are dependencies on ~> 3.0.4. > > Should I rather use dm-rails's rails-edge branch? > > It seems to be behind the master branch. > > > Philipp -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
