Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running 'dashing start': 'failed to load command: thin' #36

Open
vmassol opened this issue Jun 16, 2017 · 1 comment
Open

Error running 'dashing start': 'failed to load command: thin' #36

vmassol opened this issue Jun 16, 2017 · 1 comment

Comments

@vmassol
Copy link

vmassol commented Jun 16, 2017

Hi,

Trying to use this nice-looking project but I'm failing to run dashing start:

vmassol ~/dev/github-dashing (master) $ dashing start
bundler: failed to load command: thin (/usr/local/bin/thin)
LoadError: Could not open library 'c': dlopen(c, 5): image not found.
Could not open library 'libc.dylib': dlopen(libc.dylib, 5): image not found
  /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:133:in `block in ffi_lib'
  /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:100:in `map'
  /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.10/lib/ffi/library.rb:100:in `ffi_lib'
  /Library/Ruby/Gems/2.0.0/gems/ethon-0.8.1/lib/ethon/libc.rb:8:in `<module:Libc>'
  /Library/Ruby/Gems/2.0.0/gems/ethon-0.8.1/lib/ethon/libc.rb:6:in `<module:Ethon>'
  /Library/Ruby/Gems/2.0.0/gems/ethon-0.8.1/lib/ethon/libc.rb:1:in `<top (required)>'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports'
  /Library/Ruby/Gems/2.0.0/gems/ethon-0.8.1/lib/ethon.rb:14:in `<top (required)>'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports'
  /Library/Ruby/Gems/2.0.0/gems/typhoeus-1.0.1/lib/typhoeus.rb:2:in `<top (required)>'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require'
  /Library/Ruby/Gems/2.0.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports'
  config.ru:11:in `block in <main>'
  /Library/Ruby/Gems/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
  /Library/Ruby/Gems/2.0.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `eval'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `load'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in `load_rackup_config'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in `start'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'
  /Library/Ruby/Gems/2.0.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'
  /usr/local/bin/thin:23:in `load'
  /usr/local/bin/thin:23:in `<top (required)>'
vmassol ~/dev/github-dashing (master) $ 

I've executed bundle installand I've even executed sudo gem install thin.

Any idea? (I'm on Mac and a newbie when it comes to ruby).

Thanks

@vmassol
Copy link
Author

vmassol commented Jun 16, 2017

Seems related to OSX El Capitan: ffi/ffi#461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant