Never mind... I was going down the wrong path. The requires failed
because those files were already included by Rails. Duh.
I reinstalled 1.8.4 and my apps all work as expected. *whew*
--
Ryan
On 3/22/06, Ryan Nielsen <rpnielsen@gmail.com>
wrote:> I upgraded from Ruby 1.8.2 to 1.8.4 and now require statements fail
> under Rails'' environment:
>
> [flashbang:...WebContent/rails/development/requests] ryan% ./script/console
> Loading development environment.
> >> require ''time''
> => false
> >> require ''net/https''
> => false
> >> quit
>
>
> Things work under irb, though:
>
> [flashbang:...WebContent/rails/development/requests] ryan% irb
> irb(main):001:0> require ''time''
> => true
> irb(main):002:0> require ''net/https''
> => true
>
> What have I screwed up? As far as I can tell, the /usr/lib/ruby
> structure is all correct. This reproduces with existing and new rails
> projects and breaks a couple of my existing projects quite badly...
>
> --
>
> Ryan
>