FontAwesome 的 图标不好看
假定网络结构式这样:
Local
|
Network A
|
Production Network
我们以前也遇到过,Local 不能直接到 Production Network,于是有多种办法,Capistrano 是支持 Gateway 的,搜索 Capistrano Gateway
意思是用 Network A 作为跳板来发布到 Production Network
还有一种办法是把发布脚本放在 Network A 的机器上,每次发布到先 SSH 到 Network A 的机器上面执行 cap deploy
ruby-2.4.0-preview1 - #removing src/ruby-2.4.0-preview1 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.4.0-preview1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/jason/.rvm/rubies/ruby-2.4.0-preview1, this may take a while depending on your cpu(s)...
ruby-2.4.0-preview1 - #downloading ruby-2.4.0-preview1, this may take a while depending on your connection...
ruby-2.4.0-preview1 - #extracting ruby-2.4.0-preview1 to /Users/jason/.rvm/src/ruby-2.4.0-preview1 - please wait
ruby-2.4.0-preview1 - #configuring - please wait
ruby-2.4.0-preview1 - #post-configuration - please wait
ruby-2.4.0-preview1 - #compiling - please wait
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/jason/.rvm/log/1466474295_ruby-2.4.0-preview1/make.log
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling thread.c
thread.c:1088:27: error: implicit conversion loses integer precision: 'long' to '__darwin_suseconds_t' (aka 'int') [-Werror,-Wshorten-64-to-32]
tp->tv_usec = ts.tv_nsec / 1000;
~ ~~~~~~~~~~~^~~~~~
1 error generated.
make: *** [thread.o] Error 1
+__rvm_make:0> return 2
There has been an error wh
额,macOS 10.12 Beta 下面编译不过
就是看起来不是太完善
实际上,后端开发的经验更重要,写 Ruby,Rails 需要掌握很多 Linux,数据库方面的基础
了解了解还是可以的
Bootstrap 哪里重?
然后发现上面的提示是 Turbolinks 2.5.3 的 于是不得不升级 5.0.0.beta2 了
#1 楼 @rusiruheru 不要重复顶帖!
Mac 不用老关机啊
bcrypt
《王尼玛真容首曝光,一言不合怒摘头套 49【暴走大事件第四季】》 http://baozoumanhua.com/videos/36520656
我之前说过这个的,原因是为了实时,/api 的请求是直接到官方的,所以是慢在哪里。
但相比同步的延迟,慢这点是值得的。
.gem 文件(大的部分)是在国内 CDN 上面的,这个速度是飞快的。
喜欢 王尼玛 的《暴走大事件》,每集都看!
更高级的是,这个表情,还可以直接复制成系统 Emoji 符号的哦!
这套 Emoji 更清新
Redis 版本不够高
bundle config build.libv8 --with-system-v8
我觉得你应该发给客户端一个 URL,然后让它自行下载,没必要非得 send_file
rails app:update
命令
Update configs and some other initially generated files (or use just update:configs or update:bin)