Displaying 1 result from an estimated 1 matches for "init_rails".
Did you mean:
init_fail
2008 Jul 05
0
Undefined Method Angst After Rails / Ruby / Gem Updates
...m within an
application. I can access them from irb, but not from within the
app. In other words:
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''haml''
=> true
irb(main):003:0> Haml.respond_to?(''init_rails'')
=> true
irb(main):004:0>
But in the app, similar code gives an ''undefined method'' error.
begin
require File.join(File.dirname(__FILE__), ''lib'', ''haml'') # From
here
rescue LoadError
require ''...