Errors with Rails 2.3.2

Hello everyone!

I’ve done a RoR project using NetBeans IDE, JRuby 1.6, mysql, Glassfish
V 3 Prelude, ActiveRecord 2.2.2 and Rails 2.2.2 and everything worked.
Now I wanted to upgrade Rail’s version to 2.3.2.
I downloanded it (with also ActiveRecord 2.3.2) and installed as a gem.
I’ve also modify /configuration/environment.rb file inserting the line
RAILS_GEM_VERSION = ‘2.3.2’ unless defined? RAILS_GEM_VERSION instead of
the previous version of Rails gem.
When I try to run my project, these errors appear:

INFO: Launching GlassFish on Apache Felix OSGi platform
Welcome to Felix.

INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [7]
INFO: Started bundle org.glassfish.core.kernel [96]
INFO: Started bundle org.glassfish.common.common-util [78]
INFO: Started bundle GlassFish-Application-Common-Module [64]
INFO: APIClassLoader = Class Loader for Bundle
[GlassFish-Application-Common-Module [64] ]
INFO: registering service =
[email protected], contract =
org.osgi.service.startlevel.StartLevel, name = null
INFO: registering service =
[email protected], contract =
org.osgi.service.packageadmin.PackageAdmin, name = null
INFO: Started bundle org.glassfish.branding.branding [29]
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Started bundle org.glassfish.common.internal-api [82]
INFO: Started bundle org.glassfish.admin.config-api [70]
INFO: Started bundle org.glassfish.registration.glassfish-registration
INFO: Started bundle org.glassfish.deployment.deployment-autodeploy [57]
no resource bundle found for version, using default GlassFish version
INFO: Started bundle org.glassfish.deployment.deployment-common [88]
INFO: Started bundle org.glassfish.flashlight.flashlight-framework [91]
INFO: Listening on port 8080
INFO: Network listener http-listener-2 on port 8181 disabled per
INFO: Listening on port 4848
INFO: Started bundle org.glassfish.common.container-common [99]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Started bundle org.glassfish.persistence.jpa-connector [60]
INFO: Started bundle [56]
INFO: Started bundle org.glassfish.scripting.grizzly-jruby-module [39]
INFO: Started bundle org.glassfish.web.war-util [114]
INFO: Started bundle org.glassfish.common.glassfish-naming [84]
INFO: Started bundle org.glassfish.common.glassfish-api [100]
INFO: Started bundle org.glassfish.connectors.connectors-runtime [22]
INFO: Dynamic pool created. Initial runtimes will be 1, hard minimum is
1, hard maximum is 2.If you experiance out of memory errors, consider
increasing the heap size or setting the jruby.runtime.min or
jruby.runtime.max Java system properties. If starting GlassFish using
java CLI then provide it as system property, such as
-Djruby.runtime.min=1 -Djruby.runtime.max=2, otherwise make an entry
into $GLASSFISH_INSTALL/domains/domain1/config/domain.xml, such as
INFO: Jruby version is: 1.1.6
INFO: Starting Rails instances
INFO: Started bundle org.glassfish.transaction.jta [53]
INFO: Started JMXConnector, JMXService URL =
warning: given block not used
INFO: New instance created in 12,105 milliseconds
INFO: Loading Rails application Documents2 at /Documents2
INFO: Loading Documents2 Application done is 12987 ms
INFO: GlassFish v3 Prelude startup time : Felix(7280ms) startup
services(15877ms) total(23157ms)
SEVERE: null
load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError) from /home/ffrancy/.gem/jruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:inconst_missing_with_dependencies’
from :59:in service' from :1 ...internal jruby stack elided... from ActiveSupport::Dependencies.load_missing_constant(/home/ffrancy/.gem/jruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80) from ActiveSupport::Dependencies::ModuleConstMissing.const_missing_with_dependencies(<script>:59) from Grizzlet.service(:1) from (unknown).(unknown)(:1) SEVERE: from /home/ffrancy/.gem/jruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:inconst_missing_with_dependencies’
SEVERE: from :59:in service' SEVERE: from :1 SEVERE: service exception /home/ffrancy/.gem/jruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:inload_missing_constant’: uninitialized constant
ActionController::AbstractRequest (NameError)
const_missing_with_dependencies' from <script>:59:inservice’
from :1
…internal jruby stack elided…
from Grizzlet.service(:1)
from (unknown).(unknown)(:1)

How can I handle them?
I really don’t now how to solve this SEVERE!

Thank you very much!!!

On Jun 11, 8:54 am, Francesca T. [email protected]

Something ( i don’t know what) is trying to refer to
ActionController::AbstractRequest which doesn’t exists in 2.3.2. At a
guess, something you’ve got isn’t ready for rails 2.3.2