jordansissel / fingerpoken

Use your browser as a remote and touchpad (iphone/ipad/laptop, etc)
Other
45 stars 7 forks source link

install issues #1

Closed moos3 closed 13 years ago

moos3 commented 13 years ago

jordan, I'm getting this after install of the all the gems

07:50:41 bang:[../git_projects/fingerpoken] git:master$ ruby fingerpoken.rb internal:lib/rubygems/custom_require:29:in require': no such file to load -- openssl (LoadError) from <internal:lib/rubygems/custom_require>:29:inrequire' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.2.7/lib/thin.rb:6:in <top (required)>' from <internal:lib/rubygems/custom_require>:33:inrequire' from internal:lib/rubygems/custom_require:33:in rescue in require' from <internal:lib/rubygems/custom_require>:29:inrequire' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/thin.rb:1:in <top (required)>' from fingerpoken.rb:90:inblock in

' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in call' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun_machine' from /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run' from fingerpoken.rb:42:in
'

jordansissel commented 13 years ago

Are you running ubuntu? You may need this package:

apt-get install libopenssl-ruby1.8

If not, what system are you using? What version ruby?

moos3 commented 13 years ago

jordan, I'm running crunchbang stalter which is debian squeeze and i built ruby 1.9.2 from source.

jordansissel commented 13 years ago

Did you compile ruby 1.9.2 with openssl support?

Looks like thin rquires rack, which requires openssl so it can compute SHA1 digests. I can try to monkeypatch it.

jordansissel commented 13 years ago

I've tried to hack around it, since I don't use openssl or the hash pieces of rack, anyway.

Can you try this branch? https://github.com/jordansissel/fingerpoken/tree/issue/1

moos3 commented 13 years ago

That worked, i also got the other one to work with adding libssl-dev to my system with a rebuild of ruby.

jordansissel commented 13 years ago

Excellent. Thanks for trying both!

Marking closed. If you have other bugs/feature requests, feel free to file more bugs :)