Spring error with `uninitialized constant Spring::SID::DL (NameError)`
When you have ruby installed with rbenv and have following error while starting spring rails c
lib/spring/sid.rb:17:in `fiddle_func': uninitialized constant Spring::SID::DL (NameError)
All you need is reinstall ruby with this patch:
ruby-install -p https://gist.githubusercontent.com/caius/10452604/raw/acd421a8461f4d776a8f752663db19e321f850e0/ext_dl_extconf_rb.patch ruby *your version here*
Or rbenv version of this:
rbenv install --patch 1.9.3-p551 < <(curl -sSL https://gist.githubusercontent.com/caius/10452604/raw/acd421a8461f4d776a8f752663db19e321f850e0/ext_dl_extconf_rb.patch)
Written by Kirill Shaplyko
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#