Error with gem giraffesoft-resource_controller-0.6.5

16 views
Skip to first unread message

Jerome Lefeuvre

unread,
Jul 16, 2009, 9:21:23 AM7/16/09
to resource_controller
Hi James,

I'm having trouble when using your gem lib of resource_controller. But
when i use resource_controller as plugin, it works perfect.

I have this error when starting server:
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3001
/Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:443:in `load_missing_constant':
uninitialized constant Urligence (NameError)
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:80:in `const_missing'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:92:in `const_missing'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/giraffesoft-
resource_controller-0.6.5/lib/resource_controller.rb:26
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'

If you have answer, I take

Thanks

James Golick

unread,
Jul 16, 2009, 9:41:22 AM7/16/09
to resource_...@googlegroups.com
Are you referring to the urligence constant somewhere in your app?

Jerome Lefeuvre

unread,
Jul 16, 2009, 10:03:27 AM7/16/09
to resource_controller
no never

On Jul 16, 3:41 pm, James Golick <jamesgol...@gmail.com> wrote:
> Are you referring to the urligence constant somewhere in your app?
>
> On Thu, Jul 16, 2009 at 9:21 AM, Jerome Lefeuvre
> <jerome.lefeu...@gmail.com>wrote:
>
>
>
> > Hi James,
>
> > I'm having trouble when using your gem lib of resource_controller. But
> > when i use resource_controller as plugin, it works perfect.
>
> > I have this error when starting server:
> > => Booting Mongrel
> > => Rails 2.3.2 application starting onhttp://0.0.0.0:3001

James Golick

unread,
Jul 16, 2009, 10:04:33 AM7/16/09
to resource_...@googlegroups.com
Is there more to that backtrace?

Jerome Lefeuvre

unread,
Jul 16, 2009, 10:19:16 AM7/16/09
to resource_controller
ok, I found why it's not working.

I'm using engines (http://github.com/lazyatom/engines/tree/master)
plugin and seems Engines doesn't like your lib as gem.

full trace i can have:

=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3001
/Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:443:in `load_missing_constant':
uninitialized constant Urligence (NameError)
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:80:in `const_missing'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:92:in `const_missing'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/giraffesoft-
resource_controller-0.6.5/lib/resource_controller.rb:26
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:156:in `require'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:521:in `new_constants_in'
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:156:in `require'
... 13 levels...
from /Users/jeromelefeuvre/.gem/ruby/1.8/gems/rails-2.3.2/lib/
commands/server.rb:84
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from ./script/server:3

Idea how I can resolve this ?

Thanks

On Jul 16, 4:04 pm, James Golick <jamesgol...@gmail.com> wrote:
> Is there more to that backtrace?
>
> On Thu, Jul 16, 2009 at 10:03 AM, Jerome Lefeuvre <jerome.lefeu...@gmail.com
Reply all
Reply to author
Forward
0 new messages