开发者

Require path errors thrown

开发者 https://www.devze.com 2023-01-18 12:35 出处:网络
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 say

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

0

精彩评论

暂无评论...
验证码 换一张
取 消