This project is archived and is in readonly mode.
active_support can not be found
Reported by Joshua Partogi | October 17th, 2009 @ 02:20 AM
In the latest Rails 3 build currently this error will be
thrown:
/vendor/rails/railties/lib/rails/application.rb:81:in rescue
in block in <class:Application>': no such file to load --
activesupport (RuntimeError)
This is where the error comes from:
initializer :require_frameworks do
begin
require 'active_support'
require 'active_support/core_ext/kernel/reporting'
require 'active_support/core_ext/logger'
# TODO: This is here to make Sam Ruby's tests pass. Needs discussion.
require 'active_support/core_ext/numeric/bytes'
config.frameworks.each { |framework| require(framework.to_s) }
rescue LoadError => e
# Re-raise as RuntimeError because Mongrel would swallow LoadError.
**raise e.to_s**
end
end</code>
Comments and changes to this ticket
-
ender672 October 17th, 2009 @ 11:02 PM
The following patch to the arel gem fixes this for me:
@@@diff From c79d58becb0e8ff039566c58d3b10625e1e028b4 Mon Sep 17 00:00:00 2001
From: ender672 tle@holymonkey.com
Date: Sat, 17 Oct 2009 14:57:35 -0700
Subject: [PATCH] Fix rename of active_support.
lib/arel.rb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/arel.rb b/lib/arel.rb
index fcca607..97a5a61 100644
--- a/lib/arel.rb +++ b/lib/arel.rb @@ -1,7 +1,11 @@ $LOAD_PATH.unshift(File.dirname(FILE))require 'rubygems' -require 'activesupport' +begin + require 'activesupport' +rescue LoadError + require 'active_support' +end require 'activerecord' require 'active_record/connection_adapters/abstract/quoting'
-- 1.6.3.3
-
ender672 October 17th, 2009 @ 11:04 PM
Lighthouse markdown didn't like my code block. Attaching file instead.
-
Carl Lerche October 18th, 2009 @ 10:43 PM
- State changed from new to invalid
You are on an old gem of arel. Currently, arel has to be installed from source. An up to date gem should be released shortly.
-
Joshua Partogi October 18th, 2009 @ 11:54 PM
Is this the arel you're talking about?
http://github.com/nkallen/arel/
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>