Migrate your existing ROR application to GAE

I managed to run the basic rails app1 in App Engine using: http://gist.github.com/268192

So, on my main application2, I install CE, which works fine on the local machine. (Communityengine.org)

But, when I follow the same steps on my actual app2, where the community_engine plugin is installed and all the gems are frozen, the script application installer asks to overwrite various files, for example boot.rb, routes.rb, which I do not allow.

So, as expected, when I publish the rails + ce app for GAE, this is not published, and also screws up the local CE installation on app2.

So the problem is obvious, CE uses ActiveRecord, and GAE uses DataMapper.

So, my question can also be rephrased as: Can we migrate an existing ROR Application using Active Record for GAE that uses DataMapper?

PS: This is my first project on ROR and GAE.

+6
google-app-engine ruby-on-rails activerecord jruby datamapper
source share
1 answer

Of course, you can use CE to use DataMapper, but this Rails Engine would probably be more appropriate to save it as an ActiveRecord-based project. Commentary on Herok sounds. You will find much better support, and most of the time, Just Work (tm) stuff. Give Heroku a try.

0
source share

All Articles