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/31e2a5d7-2e4a-4ecd-a26f-a5a7f6dfc103%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to