有什么想法/建议吗?
****进一步更新:****2.3.1 agxxx-xxxight 2290-fix-claim-button%ruby -e'put Gem :: Platform.local'x86_64-darwin-13
我有2台机器,我试图获得lib v8 ....现在得到相同的错误(无论darwin v.)
1 mac桌面(x86_64-darwin-13,但另一个与darwin-16).最初,我认为问题与darwin-13有关,但现在无论如何都会遇到同样的问题).
我已经尝试了一些重新安装和升级OSX和xcode的解决方案.
Mac OX Sierra 10.12.3 xcode 8.2.1
我看到类似的堆栈溢出,但提到rubyracer并不确定这是否与此相关? 安装libv8时出错:错误:无法构建gem本机扩展
这是我的错误:
gem install libv8 -v'5.3.332.38.1'构建本机扩展.这可能需要一段时间...错误:安装libv8时出错:错误:无法构建gem本机扩展.
current directory: /Users/axxxsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/libv8-5.3.332.38.1/ext/libv8
/Users/axxxsmith/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20170209-5158-fzzx9o.rb extconf.rb
creating Makefile
Error: Command 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-clang-format -s v8/buildtools/mac/clang-format.sha1' returned non-zero exit status 1 in /Users/axxxsmith/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/libv8-5.3.332.38.1/vendor
Running: gclient root
Running: gclient config --spec 'solutions = [
{
"managed": False,
"name": "v8",
"url": "https://chromium.googlesource.com/v8/v8.git",
"custom_deps": {},
"deps_file": "DEPS",
"safesync_url": "",
},
]
' …Run Code Online (Sandbox Code Playgroud) 对于我的应用程序,我正在尝试设置Turbolinks Mobile包装器>.我遇到了一个无法登录App的问题(我认为问题在于我需要修改Devise才能让它切换到XHR以便为移动设备工作).我的sign_in表单使用Devise但我看不到代码.
Using:
ruby "2.4.0"
gem "rails", "5.0.2"
gem "turbolinks", "~> 5.0.0.beta"
gem "devise", ">= 4.2.0"
gem "devise-async", git: "https://github.com/mhfs/devise-async", branch: "devise-4.x" # for user authentication
我的问题是我在哪里查看或者我需要做些什么才能修改DEVISE以使其能够为turbolinks移动包装发送XHR?
现在,它不会登录,我知道(或者我在想)我需要让DEVISE切换到XHR,但我不知道如何.
关于如何做到这一点的建议?或参考资料的建议?