I wrote a ruby class that I want to use in other applications that开发者_如何学运维 I have. I put it in the same directory c:\apps that I have my other applications in. When I require my class it says that:
`require': no such file to load --
Even though the file is in the same directory as the application I am running. I am simply doing a :
require 'fileformat'
ok, so I did /apps/fileformat and it worked
精彩评论