title: Spring doesn't work. [ uninitialized constant Spring::SID::DL ]
body: <p>I Can't run Spring. Here is the error log.</p>
  
  <pre><code>myid-no-MacBook-Pro:myid$ spring
  /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/sid.rb:17:in `fiddle_func': uninitialized constant Spring::SID::DL (NameError)
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/sid.rb:30:in `sid'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/sid.rb:39:in `pgid'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/server.rb:76:in `set_pgid'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/server.rb:33:in `boot'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/server.rb:19:in `boot'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:33:in `block in boot_server'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:31:in `fork'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:31:in `boot_server'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:16:in `call'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/command.rb:7:in `call'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client.rb:23:in `run'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/bin/spring:6:in `&lt;top (required)&gt;'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/spring:19:in `load'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/spring:19:in `&lt;main&gt;'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/ruby_executable_hooks:15:in `&lt;main&gt;'
  ^C/Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:35:in `sleep': Interrupt
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:35:in `boot_server'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/run.rb:16:in `call'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client/command.rb:7:in `call'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/lib/spring/client.rb:23:in `run'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/spring-0.0.10/bin/spring:6:in `&lt;top (required)&gt;'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/spring:19:in `load'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/spring:19:in `&lt;main&gt;'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/ruby_executable_hooks:15:in `&lt;main&gt;'
  </code></pre>
  
  <p>I use: </p>
  
  <ul>
  <li>Ruby 1.9.3-p484</li>
  <li>Rails3.2.17</li>
  <li>Spring 0.0.10</li>
  <li>OSX 10.9</li>
  <li>rbenv</li>
  </ul>
  
  <hr>
  
  <p>I tried some other tests. I think this problem is 1.9.3 specific. </p>
  
  <pre><code>myid-no-MacBook-Pro:~ myid$ ruby -v
  ruby 1.9.2p326 (2013-12-23 revision 44353) [x86_64-darwin13.1.0]
  myid-no-MacBook-Pro:~ myid$ irb
  irb(main):001:0&gt; require 'fiddle'
  =&gt; true
  irb(main):002:0&gt; DL
  =&gt; DL
  irb(main):003:0&gt; require 'dl'
  =&gt; false
  irb(main):004:0&gt; DL
  =&gt; DL
  irb(main):005:0&gt; DL.fiddle?
  =&gt; true
  irb(main):006:0&gt; exit
  
  
  
  
  myid-no-MacBook-Pro:~ myid$ rbenv global 1.9.3-p484
  myid-no-MacBook-Pro:~ myid$ irb
  irb(main):001:0&gt; require 'fiddle'
  LoadError: cannot load such file -- dl
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/fiddle.rb:4:in `&lt;top (required)&gt;'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from (irb):1
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/irb:12:in `&lt;main&gt;'
  irb(main):002:0&gt; DL
  NameError: uninitialized constant DL
    from (irb):2
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/irb:12:in `&lt;main&gt;'
  irb(main):003:0&gt; require 'dl'
  LoadError: cannot load such file -- dl
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /Users/myid/.rbenv/versions/1.9.3-p484/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from (irb):3
    from /Users/myid/.rbenv/versions/1.9.3-p484/bin/irb:12:in `&lt;main&gt;'
  irb(main):004:0&gt; exit
  
  
  
  
  myid-no-MacBook-Pro:~ myid$ rbenv global 2.1.0
  myid-no-MacBook-Pro:~ myid$ irb
  irb(main):001:0&gt; require 'fiddle'
  =&gt; true
  irb(main):002:0&gt; DL
  NameError: uninitialized constant DL
    from (irb):2
    from /Users/myid/.rbenv/versions/2.1.0/bin/irb:11:in `&lt;main&gt;'
  irb(main):003:0&gt; require 'dl'
  DL is deprecated, please use Fiddle
  =&gt; true
  irb(main):004:0&gt; DL
  =&gt; DL
  irb(main):005:0&gt; DL.fiddle?
  =&gt; true
  irb(main):006:0&gt; 
  </code></pre>