On Oct 25, 8:05 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
> Conrad Taylor wrote:
> > On Sat, Oct 24, 2009 at 3:14 PM, Marnen Laibow-Koser <
> > [email protected]> wrote:
>
> > You can actually package all your gems including rails into a single jar
> > file to work around this issue.  
>
> Will that actually work, or does GAE unzip the JAR before counting
> files?
>

Yes, this does actually work because all gems get installed into the
servlet container as gems.jar.
Thus, everytime you install a gem it gets inserted into gems.jar using
the following command:

appcfg.rb gem install [ <gem-name> ]+   // install one of more gems
into the servlet container

For example, appcfg.rb gem install rails dm-appengine rails_datamapper

Next, all .rb files gets transformed into .class files to actually run
on the servlet container.  Last
but not least, there are about 3 other jar files which are required by
GAE and you'll be using 4 jar
files total which are not unzipped by GAE.

> > Also,Googlehas provided tools to
> > simply
> > do just that.
>
> I'll look at that.  Got a link handy?
>
>

http://rails-primer.appspot.com

>
> > -Conrad
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> [email protected]
> --
> Posted viahttp://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to