[Locomotive-users] Error with Rails 1.2
Ryan Raaum
ryan.raaum at gmail.com
Mon Jan 22 13:52:43 GMT 2007
On 1/19/07, Richard Sandilands <richard at infoarts.info> wrote:
>
> Hi there I've just upgraded to the new Standard Rails 1.2 Bundle and
> have changed environment.rb to RAILS_GEM_VERSION = '1.2.1' .
>
> But when I run script/console for my app, I get this error in the
> console:
>
> /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
> i386/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
> dependencies.rb:377:in `new_constants_in':NoMethodError: You have a
> nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.empty?
>
> So, this is referring to a line in the Rails code, not my app. I'm
> clueless as to how to proceed. Any clues would be appreciated.
Mostly guessing here... Rails 1.2.x changes some standard behavior that let
ruby standard library packages be used with being required. Is is possible
that you are using something from the standard library without requiring it?
-r
--
> Richard Sandilands
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
--
Ryan Raaum
http://raaum.org
http://rails.raaum.org -- Rails docs
http://locomotive.raaum.org -- Self contained Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070122/08375629/attachment.htm
More information about the Locomotive-users
mailing list