Here is the error:
<internal"lib/rubygems/custom_require>:29:in ‘require’: no such file to
load –
p030motorcycle (LoadError)
from internal:lib/rubygems/custom_require:29:in ‘require’
from p031motorcycletest.rb:2:in ‘’
Here is the error:
<internal"lib/rubygems/custom_require>:29:in ‘require’: no such file to
load –
p030motorcycle (LoadError)
from internal:lib/rubygems/custom_require:29:in ‘require’
from p031motorcycletest.rb:2:in ‘’
Anthony Ob wrote:
Here is the error:
<internal"lib/rubygems/custom_require>:29:in ‘require’: no such file to
load –
p030motorcycle (LoadError)
from internal:lib/rubygems/custom_require:29:in ‘require’
from p031motorcycletest.rb:2:in ‘’
This means: ruby could not find any file called p030motorcycletest.rb in
any of the directories listed in your $LOAD_PATH.
Try “puts $LOAD_PATH” to see the list of directories searched.
If you’re on ruby 1.9, then you no longer get the current directory in
the path. You could try require “./p030motorcycle”, or I think 1.9 has
relative_require.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs