How to determine which gems an app depends on?

I have an app for which script/server crashes on startup, probably
because the platform doesn’t have one or more required gems
installed. I’m wondering if there’s an easy way to determine which
gems are required or missing. Thanks.

On 1/2/08, bbebop [email protected] wrote:

I have an app for which script/server crashes on startup, probably
because the platform doesn’t have one or more required gems
installed. I’m wondering if there’s an easy way to determine which
gems are required or missing. Thanks.

You need to look for require statements that are failing. Start the
server in development mode so you can get more explicit errors in the
logs.

RAILS_ENV=development script/server

tail -f log/development.log


Greg D.
http://destiney.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs