Hi, I am setting my blog using Mephisto 0.8.1, jruby 1.1.6 and
glassfish
version 3. Whenever I go to the admin section of the blog and then go
to
the settings page I get the error below. The weird thing is that when I
run
it using ./script/server this page works great. But, when I package it
into
a war and deploy it on glassfish it breaks. What should I do to fix
this?
Thanks,
Josh
ActionView::TemplateError (uninitialized constant
TZInfo::Timezone::TimezoneProxy) on line #32 of
app/views/admin/settings/index.rhtml:
29:
30:
31:
32:
TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %>
33:
34: Site language
35: Used to specify language in your site
feeds
gems/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in
`const_missing’
gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb:121:in
`get_proxy’
gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb:505:in
`get_proxies’
gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb:505:in
`collect’
gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb:505:in
`get_proxies’
gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb:139:in
all' app/views/admin/settings/index.rhtml:32 gems/gems/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb:313:in
fields_for’
gems/gems/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb:253:in
form_for' app/views/admin/settings/index.rhtml:18 gems/gems/actionpack-2.2.2/lib/action_view/renderable.rb:39:in
render’
gems/gems/actionpack-2.2.2/lib/action_view/template.rb:73:in
render_template' gems/gems/actionpack-2.2.2/lib/action_view/base.rb:256:in
render’
gems/gems/actionpack-2.2.2/lib/action_view/base.rb:367:in
_render_with_layout' gems/gems/actionpack-2.2.2/lib/action_view/base.rb:254:in
render’
gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:1174:in
render_for_file' gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:896:in
render’
gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’
gems/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in
realtime' gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark’
vendor/gems/emk-safe_erb-0.1.2/lib/safe_erb/common.rb:25:in
render_with_taint_logic' gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:868:in
render’
gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:51:in
`render_with_benchmark’
gems/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in
realtime' gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:51:in
render_with_benchmark’
vendor/gems/emk-safe_erb-0.1.2/lib/safe_erb/common.rb:25:in
render_with_taint_logic' gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:1248:in
default_render’
gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:1259:in
perform_action' gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in
call_filters’
gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:638:in
run_before_filters' app/controllers/application.rb:108:in
get_requests_are_readonly’
config/initializers/readonly_records.rb:18:in
with_readonly_records' app/controllers/application.rb:107:in
get_requests_are_readonly’
gems/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in
evaluate_method' gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:186:in
call’
gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:635:in
run_before_filters' gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:615:in
call_filters’
gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:610:in
perform_action_with_filters' gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in
perform_action_with_benchmark’
/root/glassfishv3-prelude/glassfish/domains/domain1/generated/jsp/mephisto/loader/benchmark.rb:293:in
measure' gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in
perform_action_with_benchmark’
gems/gems/actionpack-2.2.2/lib/action_controller/rescue.rb:136:in
`perform_action_with_rescue’
gems/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:13:in
`perform_action_with_caching’
gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache' gems/gems/activerecord-2.2.2/lib/active_record/query_cache.rb:8:in
cache’
gems/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:12:in
perform_action_with_caching' gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in
process’
gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb:606:in
`process_with_filters’
gems/gems/actionpack-2.2.2/lib/action_controller/session_management.rb:134:in
process_with_session_management_support' gems/gems/actionpack-2.2.2/lib/action_controller/base.rb:392:in
process’
gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:183:in
handle_request' gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in
dispatch_unlocked’
gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in
dispatch' gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in
dispatch’
gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in
dispatch_cgi' gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in
dispatch’