Module load error running against activesupport v3.0.0.rc
Reported by William Gray | August 13th, 2010 @ 12:15 PM
When you fire up jetty_rails and your rails version is 3.0.0.rc,
you'll find an error when jetty_rails tries to load active support
using the deprecated require 'activesupport'
:
$ jetty_rails --help
/Users/wgray/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': no such file to load -- activesupport (LoadError)
from /Users/wgray/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/wgray/.rvm/gems/jruby-1.5.1/gems/jetty-rails-0.8.1/lib/jetty_rails.rb:10
from /Users/wgray/.rvm/gems/jruby-1.5.1/gems/jetty-rails-0.8.1/lib/jetty_rails.rb:31:in `require'
from /Users/wgray/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/wgray/.rvm/gems/jruby-1.5.1/gems/jetty-rails-0.8.1/bin/jetty_rails:37
from /Users/wgray/.rvm/gems/jruby-1.5.1/gems/jetty-rails-0.8.1/bin/jetty_rails:19:in `load'
from /Users/wgray/.rvm/gems/jruby-1.5.1/bin/jetty_rails:19
Small adjustment to require fixes this (although you probably
want to detect try the old way, catch it on exception, and then try
the new way, to support various rails versions): require
'active_support'
.
Comments and changes to this ticket
-
ranjib November 30th, 2010 @ 04:59 PM
/lib/jetty_rails.rb should require "active_support" and "active_support/all"
-
milberalinas September 29th, 2020 @ 06:17 PM
I am glad to know that these errors are being addressed. They have made my experience with the server, less than desirable. I would like to thank you for your hard work and dedication in maintaining the server and keeping it running for all of us to enjoy and use. Is there any way that I can show my support? Do you have any merchandise I can buy or an account where I can make a donation? I have a gacha life on pc account where I can send my donations. Or if you have a kid I can help him practice among us para pc so that he can dominate his friends in the game.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Jetty Rails aims to run any Warbler based JRuby on Rails or JRuby Merb applications with Jetty Container, loading configuration from Warbler.
This project is useful for people developing JRuby on Rails (or Merb) applications that can not use mongrel for development. Rails and Merb applications integrated with servlet based applications in the same context would be a reasonable reason.