Skip to content

Instantly share code, notes, and snippets.

@mlamberti
Created February 14, 2017 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlamberti/90bd723ef41ac0a5862c80dd38b76db7 to your computer and use it in GitHub Desktop.
Save mlamberti/90bd723ef41ac0a5862c80dd38b76db7 to your computer and use it in GitHub Desktop.
Diaspora Gemfile patch for unf_ext gem, which's rubygems version does not compile on ARM
diff --git a/Gemfile b/Gemfile
index 785e8bfb7..0a0f85324 100644
--- a/Gemfile
+++ b/Gemfile
@@ -313,3 +313,6 @@ group :development, :test do
# silence assets
gem "quiet_assets", "1.1.0"
end
+
+
+gem "unf_ext", github: 'knu/ruby-unf_ext', branch: 'master'
diff --git a/Gemfile.lock b/Gemfile.lock
index af0893dd9..31648eccd 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,3 +1,10 @@
+GIT
+ remote: git://github.com/knu/ruby-unf_ext.git
+ revision: 8885473c13b0d8dea1465980bbf912e0ca12cd5d
+ branch: master
+ specs:
+ unf_ext (0.0.7.2)
+
GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
@@ -741,7 +748,6 @@ GEM
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
- unf_ext (0.0.7.2)
unicode-display_width (1.1.1)
unicorn (5.1.0)
kgio (~> 2.6)
@@ -917,6 +923,7 @@ DEPENDENCIES
twitter-text (= 1.14.0)
typhoeus (= 1.1.0)
uglifier (= 3.0.2)
+ unf_ext!
unicorn (= 5.1.0)
unicorn-worker-killer (= 0.4.4)
uuid (= 2.3.8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment