I
Ill Everbe
#i have a file 'user.rb' in the current directory. if i ...
require "user"
#i get this messege (1.9.2 in xp and in windows 7)
##<internal:lib/rubygems/custom_require>:29:in `require': no such file
to
##load -- user_input (LoadError)
## from <internal:lib/rubygems/custom_require>:29:in `require'
##this worked fine in 1.9.1 in xp. and when i
puts $:
#in 1.9.1 the last load path is '.', but '.' is not in load path for
#1.9.2
#works fine if i
require_relative 'user'
#or if i
load 'user.rb'
#a bug or a reason for this behavior? i used the installer. on xp and
on #windows 7
require "user"
#i get this messege (1.9.2 in xp and in windows 7)
##<internal:lib/rubygems/custom_require>:29:in `require': no such file
to
##load -- user_input (LoadError)
## from <internal:lib/rubygems/custom_require>:29:in `require'
##this worked fine in 1.9.1 in xp. and when i
puts $:
#in 1.9.1 the last load path is '.', but '.' is not in load path for
#1.9.2
#works fine if i
require_relative 'user'
#or if i
load 'user.rb'
#a bug or a reason for this behavior? i used the installer. on xp and
on #windows 7