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’
=> falserequire ‘net/https’
=> falsequit
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