ubuntu ror安装
来源:互联网 发布:android 监听网络状态 编辑:程序博客网 时间:2024/06/06 17:19
安装 RVM 和 Ruby
更新 apt,并安装 curl:
$ sudo apt-get update$ sudo apt-get install curl
然后安装 RVM:
$ \curl -sSL https://get.rvm.io | bash
步骤1 - 安装 RVM
RVM 是干什么的这里就不解释了,后面你将会慢慢搞明白。
$ curl -L https://get.rvm.io | bash -s stable
期间可能会问你sudo管理员密码,以及自动通过homebrew
安装依赖包,等待一段时间后就可以成功安装好 RVM。
然后,载入 RVM 环境(新开 Termal 就不用这么做了,会自动重新载入的)
$ source ~/.rvm/scripts/rvm
检查一下是否安装正确
$ rvm -vrvm 1.22.17 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
步骤2 - 用 RVM 安装 Ruby 环境
$ rvm install 2.0.0
同样继续等待漫长的下载,编译过程,完成以后,Ruby, Ruby Gems 就安装好了。
步骤3 - 设置 Ruby 版本
RVM 装好以后,需要执行下面的命令将指定版本的 Ruby 设置为系统默认版本
$ rvm 2.0.0 --default
同样,也可以用其他版本号,前提是你有用 rvm install 安装过那个版本
这个时候你可以测试是否正确
$ ruby -vruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]$ gem -v2.1.6$ gem source -r https://rubygems.org/$ gem source -a https://ruby.taobao.org
步骤4 - 安装 Rails 环境
上面 3 个步骤过后,Ruby 环境就安装好了,接下来安装 Rails
$ gem install rails
然后测试安装是否正确
$ rails -vRails 3.2.13
然后开始你的 Ruby,Rails 之旅吧。
欢迎来到 Ruby 的世界!
actually after installation of rvm , you have to run the script. i was stuck in the same level as you are, than in terminal i read this line:
" To start using RVM you need to run source /usr/local/rvm/scripts/rvm
"
so place this command (source /usr/local/rvm/scripts/rvm
) in terminal and enter
and after that :
type rvm | head -1rvm is a function (this you will see hopefully)
actually after installation of rvm , you have to run the script. i was stuck in the same level as you are, than in terminal i read this line:
" To start using RVM you need to run source /usr/local/rvm/scripts/rvm
"
so place this command (source /usr/local/rvm/scripts/rvm
) in terminal and enter
and after that :
type rvm | head -1rvm is a function (this you will see hopefully)
http://blog.csdn.net/cschengvdn/article/details/42461877
type rvm | head -1rvm is a function (this you will see hopefully)
rvm 2.0.0 --default
http://www.tuicool.com/articles/IjA32u
- ubuntu ror安装
- Ubuntu借助淘宝源安装RoR环境
- ROR 安装
- ROR安装
- windows下安装ubuntu双系统然后安装Ror
- ubuntu下ROR安装选择单用户或多用户
- Ubuntu 8.04 装 ROR
- ubuntu build ror
- 再说ror安装
- 再说ror安装
- RoR 安装环境的搭建
- 在RHEL上安装ROR
- 边学边做ROR(安装ruby-debug)
- Win7上安装ROR环境
- [ROR] windows 上安装 rails
- ROR
- ROR
- ROR
- decltype() demo
- Caused by: The Result type [json] which is defined in the Result annotation on the class
- 最长公共子序列迭代算法原理
- 三步配置jdk环境变量
- Android Studio 开发百度地图SDK应用
- ubuntu ror安装
- 学习计划
- ping不是内部或外部命令
- java中输入
- Python3.4借助PyMySQL与MySQL数据库的基本交互
- 深入理解Lua的闭包一:概念、应用和实现原理
- 进一步对泛型集合的思考
- UVA - 10405 - Longest Common Subsequence (DP - 最长公共子串)
- 1.计算1-1/2+1/3-1/4+1/5 …… + 1/99 - 1/100的值