Dear Matt:

I have tried fiddle, but couldn't make it to import functions in .dylib 
(Fortran dll generated by intel
fortran compiler) that I could use DL to import successfully before.  Any 
suggestions?

Thanks!
Liz

On Tuesday, July 15, 2014 3:55:54 PM UTC-4, Liz Huang wrote:
>
>
>
> Thanks! I will check fiddle out and post if I have any questions. It can 
> call .dylib?
>
> Liz
>
> On Tuesday, July 15, 2014 2:46:35 PM UTC-4, Matt Jones wrote:
>>
>>
>>
>> On Monday, 14 July 2014 15:49:51 UTC-4, Liz Huang wrote:
>>>
>>>
>>>
>>> I don't see anything else though, let me copy the whole page:
>>>
>>>  LoadError in SamplesizeController#compute cannot load such file -- dl 
>>>  Extracted source (around line *#14*): 
>>>   
>>> 121314151617
>>>           
>>>    def compute
>>>     require 'dl'
>>>     require 'pathname'
>>> #    if ( session[:sigma_sq] <= 0.0 )
>>>
>>>    Rails.root: /Library/WebServer/smart
>>>  Application Trace <http://localhost:3000/samplesize/compute#> | Framework 
>>> Trace <http://localhost:3000/samplesize/compute#> | Full Trace 
>>> <http://localhost:3000/samplesize/compute#> 
>>>
>>> app/controllers/samplesize_controller.rb:14:in `compute'
>>>
>>>  This error occurred while loading the following files:
>>>    dl
>>>
>>>
>>>>
>> DL was deprecated in Ruby 2.0 and removed in 2.1 in favor of Fiddle. 
>> Fiddle docs:
>>
>> http://ruby-doc.org/stdlib-2.0.0/libdoc/fiddle/rdoc/Fiddle.html
>>
>> --Matt Jones 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ab4e65ee-7b1c-421f-a978-4d7e4f3aa00f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to