Ubuntu 7.10 with Edge Rails (as of Apr 15)

1 view
Skip to first unread message

Deepak Jois

unread,
Apr 15, 2008, 10:52:31 AM4/15/08
to Phusion Passenger Discussions
An empty Rails app gives me this error

"Anonymous modules have no name to be referenced by"

Stack trace reproduced here. - http://farm4.static.flickr.com/3091/2416529060_41095fdecf_b.jpg

This was after I tried my own Rails app which runs on edge. Figured it
must be a problem with passenger then.

Deepak

Hongli Lai

unread,
Apr 15, 2008, 3:40:40 PM4/15/08
to phusion-...@googlegroups.com

Hi.

I can't see the full stack trace. Could you copy & paste the entire
stack trace?

Regards,
Hongli Lai
--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Deepak Jois

unread,
Apr 15, 2008, 7:33:16 PM4/15/08
to Phusion Passenger Discussions


On Apr 16, 3:40 am, Hongli Lai <hon...@phusion.nl> wrote:
>
> I can't see the full stack trace. Could you copy & paste the entire
> stack trace?
>

Here you go. The rest of the stack trace.

http://farm3.static.flickr.com/2026/2416780517_14ea84a612_b.jpg

I cant seem to find this stack trace anywhere else from where I can
copy paste it :).

Deepak

Deepak Jois

unread,
Apr 15, 2008, 7:35:43 PM4/15/08
to Phusion Passenger Discussions


On Apr 16, 3:40 am, Hongli Lai <hon...@phusion.nl> wrote:
>
> I can't see the full stack trace. Could you copy & paste the entire
> stack trace?
>

Where do I find a proper stack trace, I can copy-paste :P.

Deepak

naffis

unread,
Apr 18, 2008, 8:05:14 PM4/18/08
to Phusion Passenger Discussions
I'm having the same problem. Ubuntu, edge rails.

The application's developer seems to have bundled a non-working
version of the Ruby on Rails framework. Please contact the
application's developer.

Framework that failed to load:
Vendor directory: /mnt/app/releases/20080418234204/vendor/rails
Error message:
Anonymous modules have no name to be referenced by
Exception class:
ArgumentError

trace:

0 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 402 in `to_constant_name'
1 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 214 in `qualified_name_for'
2 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 477 in `const_missing'
3 /mnt/app/releases/20080418234204/vendor/rails/railties/lib/
initializer.rb 31 in `root'
4 /mnt/app/releases/20080418234204/vendor/rails/railties/lib/
initializer.rb 43 in `public_path'
5 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_view/helpers/asset_tag_helper.rb 104
6 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`gem_original_require'
7 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`require'
8 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
9 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 342 in `new_constants_in'
10 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
11 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_view/base.rb 208 in `load_helpers'
12 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_view/base.rb 206 in `each'
13 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_view/base.rb 206 in `load_helpers'
14 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_view.rb 42
15 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`gem_original_require'
16 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`require'
17 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
18 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 342 in `new_constants_in'
19 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
20 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_controller/base.rb 8
21 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`gem_original_require'
22 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`require'
23 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
24 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 342 in `new_constants_in'
25 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
26 /mnt/app/releases/20080418234204/vendor/rails/actionpack/lib/
action_controller.rb 39
27 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`gem_original_require'
28 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 27 in
`require'
29 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
30 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 342 in `new_constants_in'
31 /mnt/app/releases/20080418234204/vendor/rails/activesupport/lib/
active_support/dependencies.rb 495 in `require'
32 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
framework_spawner.rb 257 in `preload_rails'
33 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
framework_spawner.rb 222 in `initialize_server'
34 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 145 in `start_synchronously'
35 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 114 in `start'
36 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 108 in `fork'
37 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 108 in `start'
38 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
framework_spawner.rb 104 in `start'
39 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
spawn_manager.rb 106 in `spawn_application'
40 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
spawn_manager.rb 102 in `synchronize'
41 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
spawn_manager.rb 102 in `spawn_application'
42 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
spawn_manager.rb 178 in `handle_spawn_application'
43 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 291 in `__send__'
44 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 291 in `main_loop'
45 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/lib/passenger/
abstract_server.rb 147 in `start_synchronously'
46 /usr/lib/ruby/gems/1.8/gems/passenger-1.0.1/bin/passenger-spawn-
server 32

Hongli Lai

unread,
Apr 19, 2008, 9:10:51 AM4/19/08
to phusion-...@googlegroups.com
naffis wrote:
> I'm having the same problem. Ubuntu, edge rails.
>
> The application's developer seems to have bundled a non-working
> version of the Ruby on Rails framework. Please contact the
> application's developer.
>
> Framework that failed to load:
> Vendor directory: /mnt/app/releases/20080418234204/vendor/rails
> Error message:
> Anonymous modules have no name to be referenced by
> Exception class:
> ArgumentError
>
> trace:
> [snip]

Thanks. I've filed a bug report at
http://code.google.com/p/phusion-passenger/issues/detail?id=29

k...@metaskills.net

unread,
Apr 21, 2008, 10:56:52 PM4/21/08
to Phusion Passenger Discussions
This is a bug when running rails edge. I added comments to the ticket
and a patch "concept" to my Github. It fixed the issue for running
rails edge (frozen using git submodules) for me.

http://code.google.com/p/phusion-passenger/issues/detail?id=29
http://github.com/metaskills/passenger/commit/69afcd75425a89c9d17d1fc40c0a7571d6bd547c


On Apr 19, 9:10 am, Hongli Lai <hon...@phusion.nl> wrote:
> naffis wrote:
> > I'm having the same problem. Ubuntu,edgerails.
>
> > The application's developer seems to have bundled a non-working
> > version of the Ruby on Rails framework. Please contact the
> > application's developer.
>
> > Framework that failed to load:
> >     Vendor directory: /mnt/app/releases/20080418234204/vendor/rails
> > Error message:
> >     Anonymous modules have no name to be referenced by
> > Exception class:
> >     ArgumentError
>
> > trace:
> > [snip]
>
> Thanks. I've filed a bug report athttp://code.google.com/p/phusion-passenger/issues/detail?id=29
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl
Reply all
Reply to author
Forward
0 new messages