17号特工怎么攻略鲁比

Python012

17号特工怎么攻略鲁比,第1张

拿起纸,弹吉他用的,手机反着拿来弹获得绳子查看屋内所有的算式,记录并推理出来。

解开柜子密码SQUL获得钩子组合绳子获得刀,用刀得到保险箱密码纸获得u盘。然后再看到柜子,这次是另外的密码了REAL解开,通关。

先安装rubyinstaller,下载并解压DevKit,注意,这两个版本要对应,网页上有说明(http://rubyinstaller.org/downloads/),解压DevKit后,打开目录,运行devkitvars.bat(是不是必须的不确定)。

打开cmd,进入DevKit的解压目录

ruby dk.rb

---

Configures an MSYS/MinGW based Development Kit (DevKit) for

each of the Ruby installations on your Windows system. The

DevKit enables you to build many of the available native

RubyGems that don't yet have a binary gem.

Usage: ruby dk.rb COMMAND [options]

where COMMAND is one of:

init prepare DevKit for installation

review review DevKit install plan

install install required DevKit executables

and 'install' [options] are:

-f, --force overwrite existing helper scripts

-------------

ruby dk.rb init

---

Initialization complete! Please review and modify the auto-generated

'config.yml' file to ensure it contains the root directories to all

of the installed Rubies you want enhanced by the DevKit.

--------------------------------

ruby dk.rb install

---

Invalid configuration or no Rubies listed. Please fix 'config.yml'

and rerun 'ruby dk.rb install'

如果出现的是这个,则需要修改config.yml

加入

- C:\Ruby200-x64

---

[INFO] Updating convenience notice gem override for 'C:/Ruby200-x64'

[INFO] Installing 'C:/Ruby200-x64/lib/ruby/site_ruby/devkit.rb'

这是对的

---------------------

gem install ruby-debug-ide

---

Temporarily enhancing PATH to include DevKit...

Building native extensions. This could take a while...

Successfully installed ruby-debug-ide-0.4.17

Parsing documentation for ruby-debug-ide-0.4.17

Installing ri documentation for ruby-debug-ide-0.4.17

1 gem installed

对于新入门的开发者,如何安装

Ruby和Ruby

Gems

的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装

Ruby

开发环境。

此安装方法同样适用于产品环境!

系统需求

首先确定操作系统环境,不建议在

Windows

上面搞,所以你需要用:

Mac

OS

X

任意

Linux

发行版本(Ubuntu,CentOS,

Redhat,

ArchLinux

...)

强烈新手使用

Ubuntu

省掉不必要的麻烦!

以下代码区域,带有

$

打头的表示需要在控制台(终端)下面执行(不包括

$

符号)

步骤0

安装系统需要的包

#

For

Mac

#

先安装

[Xcode]开发工具,它将帮你安装好

Unix

环境需要的开发包

步骤1

安装

RVM

RVM

是干什么的这里就不解释了,后面你将会慢慢搞明白。

$

curl

-L

期间可能会问你sudo管理员密码,以及自动通过homebrew安装依赖包,等待一段时间后就可以成功安装好

RVM。

然后,载入

RVM

环境(新开

Termal

就不用这么做了,会自动重新载入的)

$

source

~/.rvm/scripts/rvm

检查一下是否安装正确

$

rvm

-v

rvm

1.22.17

(stable)

by

Wayne

E.

Seguin

[email protected]>,

Michal

Papis

[email protected]>

步骤2

RVM

安装

Ruby

环境

$

rvm

install

2.0.0

同样继续等待漫长的下载,编译过程,完成以后,Ruby,

Ruby

Gems

就安装好了。

步骤3

设置

Ruby

版本

RVM

装好以后,需要执行下面的命令将指定版本的

Ruby

设置为系统默认版本

$

rvm

2.0.0

--default

同样,也可以用其他版本号,前提是你有用

rvm

install

安装过那个版本

这个时候你可以测试是否正确

$

ruby

-v

ruby

2.0.0p247

(2013-06-27

revision

41674)

[x86_64-darwin13.0.0]

$

gem

-v

2.1.6

这有可能是因为Ruby的默认源使用的是cocoapods.org,国内访问这个网址有时候会有问题,网上的一种解决方案是将远替换成淘宝的,替换方式如下:

$gem

source

-

要想验证是否替换成功了,可以执行:

$

gem

sources

-l

正常的输出结果:

CURRENT

SOURCES

到这里就已经把Ruby环境成功的安装到了Mac

OS

X上,接下来就可以进行相应的开发使用了。