Please use the updated guide: gist.github.com/486250
-
-
Save woodie/268192 to your computer and use it in GitHub Desktop.
if someone needs it i got twitter working on APP ENGIEN using the twitter GEM
http://github.com/huemorgan/Twitter-on-GAE
notes:
- see the Gemfile for the gems that were bundled here.
the gem versions matter, older versions don't support new fixes for GAE
new versions of the twitter GEM currently has binary extentions also not supported by GAE. - see that you set the right callback url in your twitter account
it should match the oauth.set_callback_url in the session controller. - used DataMapper for models http://gist.github.com/268192
- built on http://code.google.com/p/appengine-jruby/
- some valuable info here about bundeling gems and setting up a new project http://code.google.com/p/appengine-jruby/wiki/InstallEverything
How can I migrate appengien storage structure using DataMapper
DataMapper.auto_upgrade! - doesn't seem to work?
No migration needed for trivial things like adding properties. You have to declare a 'property' in DataMapper so it generates accessors and things, but think of the entities themselves as basically hashes.
If you actually have something you want to change on a global level, that's a bit trickier, and would likely require a bit of task queue trickery if you want to do it on an actual live app.
super helpful -- thanks!
I am unable to follow these instructions: When I try publish the application, I get a message complaining that there are too many files. 8500 instead of the 3000 limit. Does anyone know how to overcome this problem?
thanks
no... using the 238 version of the script didn't do the trick. I am still getting the following message when I try to publish the app:
java.io.IOException: Applications are limited to 3000 files, you have 8914.
Unable to update app: Applications are limited to 3000 files, you have 8914.
Please see the logs [/tmp/appcfg2041444326558256837.log] for further information.
I'm guessing that you have do something bad to the Gemfile
Maybe run a 'find' on your app directory and post that as a gist somewhere?
masover: the files listing can be found here: http://gist.github.com/485749
woodie: what is the Gemfile? How can I tackle its problems?
By the way: My application is empty: I didn't change anything after having ran script that created the directory structure.
How to use the Rails 3.0.1 (latest) with app engine??
Is there any other resource coz I googled and couldn't find the exact for Rails 3.
I publish the app and recive an Error: INTERNAL_SERVER_ERROR (500)
on local server runs ok
I publish the app and recive an Error: INTERNAL_SERVER_ERROR (500)
on local server runs ok
Yes. I have same problem
If you want to use the XML versions of the generated scaffolds, you must install the dm-serializer gem because DataMapper doesn't generates valid XML. Of course, you have to require the gem somewhere before you models are used.