Volkan Civelek wrote:
> for the demo purpose, i made it dirt simple...
>
> $ cat app.so 
> p 'v'
> $ cat foo.rb 
> require 'app.so'
> p 'c'
> $ ruby foo.rb 
> foo.rb:1:in `require': No such file to load -- app.so (LoadError)
>         from foo.rb:1
>
> if you rename app.so to app.rb and change the require line accordingly, it works fine.
>   
yes, btw why did you name it "app.so" when you knew it's a ruby script ?
> -v
> Nobuyoshi Nakada <nobu / ruby-lang.org> wrote: Hi,
>
> At Fri, 20 Apr 2007 15:13:12 +0900,
> Volkan Civelek wrote in [ruby-talk:248525]:
>   
>> ruby bar.rb gives  "No such file to load" error....
>>     
>
> What's the exact message?
>
>   
>> if you rename foo.so with foo.rb and modify bar.rb like require 'foo' or require 'foo.rb'
>> it all just fine...
>>     
>
> What's that foo.so, an extension library or a ruby script?
>
>   


-- 
Arie Kusuma Atmaja A.K.A Arie A.K.A ariekeren / YM! = riyari3
http://ariekusumaatmaja.wordpress.com http://groups.yahoo.com/groups/id-ruby
Let's build Ruby + Rails Indonesia stronger
http://linkedin.com/in/ariekeren