RAILS_DEFAULT_LOGGER on Mental

Hi-

I just updated my mental branch, when I tried to start the server I got:
=> Booting WEBrick…
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:264:in
load_missing_constant': uninitialized constant ActiveSupport::Deprecation::RAILS_DEFAULT_LOGGER (NameError) from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:453:inconst_missing’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/deprecation.rb:16
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/deprecation.rb:23:in
warn' from ./script/../config/../vendor/rails/activesupport/lib/active_support/reloadable.rb:43:inincluded’
from
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.6/lib/action_web_service/base.rb:36
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
require' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
new_constants_in' ... 12 levels... from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
from
./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:39
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require’
from script/server:3

This looks like a Rails issue and not Radiant but I was wondering if
anyone else dealt with this?

Thanks-
Michael

On 1/16/07, Michael J. [email protected] wrote:

Hi-

I just updated my mental branch, when I tried to start the server I got:

I guess is something related with Rails Edge and a broken revision?

http://groups.google.com/group/dallasrb/browse_thread/thread/93490a637d018833/9c5faa5d2bead4e6?lnk=st&q=Deprecation+NameError+RAILS_DEFAULT_LOGGER&rnum=2&hl=en#9c5faa5d2bead4e6

Try sticking to a safe known-as-good revision or RC2 TAG maybe?

$ rake rails:edge:freeze TAG=rel_1-2-0_RC2

=> Booting WEBrick…

Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Luis L.
Multimedia systems

Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

Another alternative is to use Mongrel as your development server. :wink:
It’s possible that someone broke WEBrick and didn’t know about it.

Sean

To be on the save side check out revision #227. Please let me know if
this does or doesn’t fix the error you got…

I ran: “rake rails:freeze:edge REVISION=227” sucessfully.

And now get:
ruby script/server
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
require__': no such file to load -- script/../config/../vendor/rails/railties/lib/initializer (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:inrequire’
from ./script/…/config/boot.rb:36
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require’
from script/server:2

Is this still at the rails/radiant level?

Thanks for the help-
Michael

To be on the save side check out revision #227. Please let me know if
this does or doesn’t fix the error you got…

On 1/15/07, Michael J. [email protected] wrote:

    from ./script/../config/../vendor/rails/activesupport/lib/active_support/deprecation.rb:23:in
     ... 12 levels...

Thanks-
Michael


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Alexander H.
http://www2.truman.edu/~ah428

You’re sticking to revision 227 of Rails, and Alexander say stick to
revision 227 of Radiant SVN repo!

Correct. This is just for precaution though. Please use the most
up-to-date version of mental if it turns out revision #227 doesn’t fix
the error. But please let me know either case so I can fix the fault.

On 1/15/07, Luis L. [email protected] wrote:

revision 227 of Radiant SVN repo!
Multimedia systems


Alexander H.
http://www2.truman.edu/~ah428

the error. But please let me know either case so I can fix the fault.

The fault was all mine I’m running #233 just fine.

On 1/16/07, Michael J. [email protected] wrote:

To be on the save side check out revision #227. Please let me know if
this does or doesn’t fix the error you got…

I ran: “rake rails:freeze:edge REVISION=227” sucessfully.

Oh no, you shouldn’t do that!

You’re sticking to revision 227 of Rails, and Alexander say stick to
revision 227 of Radiant SVN repo!

Use the command I post on previous email:

$ rake rails:edge:freeze TAG=rel_1-2-0_RC2

Inside your checkout Radiant Mental branch (or checkout Radiant
specific revision 227 as Alexander said).


Luis L.
Multimedia systems

Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

Thanks. Double checking is good though.

On 1/16/07, Michael J. [email protected] wrote:

the error. But please let me know either case so I can fix the fault.

The fault was all mine I’m running #233 just fine.


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Alexander H.
http://www2.truman.edu/~ah428