`
sillycat
  • 浏览: 2493039 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Ruby Update

阅读更多
Ruby Update

The first time I install ruby on my local system. I just use command
>sudo apt-get install ruby

so the version of ruby is 1.8.7. It is not the same as my development envirenment.
This command can check the version.
>ruby -v

So I try to install ruby 1.9.2 this time with command:
>sudo apt-get install ruby1.9.2

After that I go the directory and change the configuration.
>cd /usr/bin
>sudo rm ruby
>sudo ln -s ruby1.9.2 ruby

>ruby -v

The version is right now. Haha.
分享到:
评论

相关推荐

    rubygems-update-1.8.12.gem

    Ruby update的最新gem,版本为:1.8.12 使用 gem update --system 命令会自动下载,但是如果总是下载失败or网速不给力的话,可以先下载次gem文件,然后放入%Ruby_Home%\lib\ruby\gems\1.9.1\cache里边。。。这样可以...

    ruby and watir 安装指南

    C:\>gem envRubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] - INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/...

    minitroop-updater

    每天运行一次ruby update.rb 享受! 输出示例 $ ruby update.rb Working on rbot22 chk=MLCGZT Unlocking mission Mission 0 Mission 1 Mission 2 Fighting 0 Fighting 1 Fighting 2 Raid 0 Raid 1 Raid 2 Raid 3 ...

    update_name:用 Ruby 编写的 update_name

    更新名称 Ruby 的 update_name

    rubygems-update-1.3.1.gem

    ruby 升级gem rubygems-update-1.3.1.gem

    Programming Ruby 1.9 & 2.0 The Pragmatic Programmers’ Guide 4th Edition

    Ruby 2.0 is a minor update to Ruby 1.9, unlike the more major updates from Ruby 1.8 to Ruby 1.9. The major language changes in Ruby 2.0 are the addition of keyword arguments and the change to use UTF-...

    rubygems-update-1.3.4.gem

    升级gem,把gem包拷贝到ruby安装目录,在dos界面输入命令:gem install rubygems-update-1.3.4.gem(gem包名)

    ruby-build:编译并安装Ruby

    As a standalone program$ git clone https://github.com/rbenv/ruby-build.git$ PREFIX=/usr/local ./ruby-build/install.sh升级中# Via Homebrew$ brew update && brew upgrade ruby-build# As an rbenv plugin

    ruby+watir安装包,安装步骤

    1.默认路径安装ruby186-26.exe 2.本地安装watir-1.4.1.gem,执行gem install watir-1.4.1.gem -l 3.本地安装rubygems-update-1.3.4.gem,执行 gem install rubygems-update-1.3.4.gem 4.更新rubygems,执行update_...

    rubygems-update-3.1.3.gem

    A package (also known as a library) contains a set of functionality that can be invoked by a Ruby program, such as reading and parsing an XML file. We call these packages 'gems' and RubyGems is a tool...

    Ruby实现命令行中查看函数源码的方法

    博客 The Pragmatic Studio 介绍了一个更方便的技巧,在 Ruby 命令行中就能启动编辑器直接访问。 通过 Object#method 方法可以获得 update_attribute 方法的对象,而 Method#source_location 则返回这个方法定义的...

    Ubuntu系统安装Ruby语言的三种方法

    Ruby是一个开源的动态编程语言,它有...# sudo apt-get update # sudo apt-get install ruby 或者 代码如下: # sudo apt-get install ruby2.0 方法二:使用brightbox ppa仓库安装 代码如下: # sudo apt-get install

    wix-hive-ruby:Wix Hive API 的 Ruby 接口

    蜂巢-Ruby Wix Hive API 的 Ruby 接口。目录Hive 光标数据蜂巢错误响应错误其他错误通讯录API 并发控制client.new_contact 客户联系方式client.update_contact(待定) client.contacts_tags(待定) client....

    rubygems-update-1.3.7.gem

    rubygems-update-1.3.7.gem

    ruby2d:Ruby 2D宝石

    如果碰巧在没有--recursive标志的情况下克隆此存储库,仍然可以使用以下命令初始化和更新子模块: git submodule initgit submodule update --remote 可以随时使用git submodule update --remote或rake update任务...

    ruby ruote

    Ruote 是一个用Ruby语言开发的工作流引擎,用来处理长期运行的商业流程。每个流程具有 start、pause、cancel、update等状态。其前身是 OpenWFEru.

    all-ruby:运行各种版本的ruby命令

    % sudo dpkg --add-architecture i386% sudo apt update% sudo apt-get build-dep ruby2.5% sudo apt install rake gcc-multilib \ zlib1g:i386 libncurses5:i386 libgdbm6:i386 libssl1.1:i386 \ libreadline7:...

    ruby-linebot:

    $ git submodule update パッケージ管理 宝石 建造者 码头工人 $ docker build . -t ruby-bot $ docker run --name ruby-linebot -itd -p 8888:4567 --workdir /workspace -v $PWD /workspace:/workspace ruby-bot $...

    projecteuler

    布局标题永久链接页关于/关于/欧拉计划我个人对问题的尝试代管该项目的网站使用和托管更新中更新网站的步骤 git checkout gh-pages git merge master ruby updateSite.rb然后提交并推送更改要求Ruby-版本> = 2.0.0 ...

    ruby组件升级修复漏洞方案-20200602-y.doc

    本文通过在Dockerfile里面执行apt-get update 方式更新ruby组件版本,以修复CVE-2018-16396等漏洞

Global site tag (gtag.js) - Google Analytics