Warbler: Simple question re: Rack inclusion in deployed Rails vs. Merb apps

I have two simple apps. - one in Rails, one in Merb.

The Rack gem is explicitly included in the WAR file for the Merb app,
but not for the Rails app.

But I am using the RackServlet to serve dynamic requests in both apps.

I seem to remember reading that Rack was included in the jruby-rack JAR.

Question: Is Rack being used in the deployed Rails app. even though it
is not represented in the gems directory in the WAR file, via the
jruby-rack JAR file?

Thanks,
Wes


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Fri, Aug 22, 2008 at 10:46 AM, Wes G. [email protected] wrote:

not represented in the gems directory in the WAR file, via the jruby-rack
JAR file?

Yes, it’s included in the jruby-rack jar, and yes it’s being used for
Rails.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Why is the rack gem pulled into my Merb app. then? Is that a merb
dependency that just gets sucked in because of “config.gem_dependencies
= true” in warble.rb?

Here’s my config.gems from warble.rb:

config.gems = [“merb-core”, “merb_activerecord”, “merb_helpers”,
“rails”, “activerecord-jdbc-adapter”, “activerecord-jdbcmysql-adapter”,
“jruby-openssl”]

(I had to pull in “rails” for ActiveRecord to work, FYI).

Wes

Nick S. wrote:

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Fri, Aug 22, 2008 at 12:29 PM, Wes G. [email protected] wrote:

Why is the rack gem pulled into my Merb app. then? Is that a merb
dependency that just gets sucked in because of “config.gem_dependencies =
true” in warble.rb?

Yes. It shouldn’t cause any problems.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email