I am using Ruby 2.1.0 and Rails 4.1.2 now, and 'dl' no longer works?

Liz

On Monday, July 14, 2014 11:32:51 AM UTC-4, Liz Huang wrote:
>
>
> In Ruby 1.8.7 and Rails 2.3.18, I used Dl.dlopen to load intel fortran dll 
> like the following
>
> require 'dl'
> ...
>
>       sspath = Pathname.new( ".../lib/libsamplesize.dylib" )
>       ss = DL.dlopen( sspath )
>       samplesize = ss[ "samplesize_", "iiddS" ]
>       session[:n], args = samplesize[ session[:nmax], session[:delta],
>                           session[:conf], session[:errmsg] ] 
>
> but I got error message at line
>
> require 'dl' 
>
> This error occurred while loading the following files:
>    dl
>
> Thanks!
> Liz
>
>
>
>
>

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/201a7fd2-9b92-44b0-acbb-f7d01d87c255%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to