Skip to content

Commit

Permalink
on #307, brach curl, target pi2 - copy the damn libcurl
Browse files Browse the repository at this point in the history
* still fails to load typhoeus during ruby init. Very confusing.
  because x86_64_linux and xwin7 work.
  • Loading branch information
Cecil committed Aug 25, 2017
1 parent 268dfd9 commit 1ac4027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoes/image.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# august 2017 - using typhoeus gem instead of open_uri
#require 'shoes/open-uri-patch'
require 'shoes/HttpResponse'
#require 'openssl'
Expand All @@ -20,7 +21,6 @@ def self.image_cache_path hash, ext
# assumes HttpResponse from download.rb has been require'd
# and with magic of duck typing, it looks like cResponse.
#
# 2017-08-17 now using typhoenus instead of open_uri
def self.image_download_sync url, opts
#$stderr.puts "image_download_sync called #{url}"
tmpf = File.open(opts[:save],'wb')
Expand Down
1 change: 1 addition & 0 deletions make/linux/pi2/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@
SOLOCS['sqlite'] = "#{ularch}/libsqlite3.so.0.8.6"
SOLOCS['ffi'] = "#{ularch}/libffi.so"
SOLOCS['rsvg2'] = "#{ularch}/librsvg-2.so"
SOLOCS['curl'] = "/usr/local/lib/libcurl.so"

0 comments on commit 1ac4027

Please sign in to comment.