J
jzakiya
I'm using Ruby 1.8.4.
This is no problem.
$ ruby ~/'Ruby Stuff'/fibtimes.rb
<correct output>
When I do this, there is a problem.
irb(main):001:0> require "~/'Ruby Stuff'/fibitmes.rb"
LoadError: no such file to load -- ~/'Ruby Stuff'/fibtimes.rb
from (irb):1:in `require'
from (irb):1
I get this even when I use the expanded home path instead of ~.
I also get this error using 'load' instead of 'require'.
I this a bug in the irb parser?
This is no problem.
$ ruby ~/'Ruby Stuff'/fibtimes.rb
<correct output>
When I do this, there is a problem.
irb(main):001:0> require "~/'Ruby Stuff'/fibitmes.rb"
LoadError: no such file to load -- ~/'Ruby Stuff'/fibtimes.rb
from (irb):1:in `require'
from (irb):1
I get this even when I use the expanded home path instead of ~.
I also get this error using 'load' instead of 'require'.
I this a bug in the irb parser?