ghostlord's blog.

记录心得


  • 首页

  • 归档

cocoapods(1.3.1)全新安装(20180606更新)

发表于 2016-08-05 |

⚠️ 20180606日更新:
这篇安装教程已经失效,原因是因为RVM安装失败
请使用gem管理ruby环境,其他步骤不变


cocoapods使用以前方法安装时会出错,现更新下安装方法
1、 安装nodejs 、Xcode和Command line tools 会避免很多麻烦。
1.1 、安装nodejs,官网下载,安装(https://nodejs.org/en/)
1.2 、首先安装好Xcode,并且打开一次Xcode,主要是为了授权
1.3 、安装command line tools (一般安装过Xcode的就不用再安装了),不安装时使用rvm更新ruby环境会报错 ,注意cocommand line tools一定要对应的Xcode版本(比如我的Xcode版本是7.3.1,我下载的就是如下图的cocommand line tools)
Paste_Image.png
1.4、如果不能在网页上下载command line tool,也可以从终端中安装:
在终端中输入:

1
xcode-select --install

回车后会弹出一个弹框,选择安装,然后等待显示安装完成即可

2、使用rvm更新ruby环境

阅读全文 »

svn learn

发表于 2016-06-30 |

SVN常用命令


服务器端配置

  • 参考博客:[http://www.cnblogs.com/jisheng/archive/2012/09/13/2683060.html] [Hecker385]
    [http://blog.csdn.net/q199109106q/article/details/8655204] [M了个J]

创建

  • 1.创建一个仓库:路径为:/Users/apple/svn,仓库名为:mycode
    svnadmin create /Users/apple/svn/mycode
    // 成功会在mycode路径下会有以下目录结构
    // README.txt conf db format hooks locks
阅读全文 »

Welcome to my blog!

发表于 2016-06-13 |
欢迎来到我的博客,此博客是以hexo+github结合搭建而成。创建时间是2016年06月13日下午5点半。。。
欢迎大家来交流,这是我的github地址:https://ghostlordstar.github.io/

以下是hexo的常用命令

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

12

ghostlord

这个博客建立了好几次,可是都没稳定下来,希望这次能一直写下去。

13 日志
39 标签
GitHub E-Mail
© 2018 ghostlord
由 Hexo 强力驱动
|
主题 — NexT.Pisces v6.0.4