精华内容
下载资源
问答
  • rvm

    2015-05-27 11:20:02
    #!/usr/bin/env bash # modify the ruby string below ruby_string="ruby-1.8.7-p374@daemon" ...true ${rvm_path:="/usr/local/rvm"} if [[ -s "$rvm_path/scripts/rvm" ]] ; then  source "$rvm_pa
    #!/usr/bin/env bash


    # modify the ruby string below
    ruby_string="ruby-1.8.7-p374@daemon"


    true ${rvm_path:="/usr/local/rvm"}


    if [[ -s "$rvm_path/scripts/rvm" ]] ; then
      source "$rvm_path/scripts/rvm"
    else
      printf "ERROR: An RVM installation was not found.\n"
      exit 1
    fi


    rvm "$ruby_string" && exec "$@"
    展开全文
  • RVM

    2011-05-16 00:51:16
    首先安裝一些lib,讓rvm的ruby安裝順利 複製內容到剪貼板 代碼: sudo apt-get install curl build-essential zlib1g-dev libssl-dev libreadline5-dev sudo apt-get install libxslt-dev libxml2-dev ...
    首先安裝一些lib,讓rvm的ruby安裝順利
    複製內容到剪貼板
    代碼:
    sudo apt-get install curl build-essential zlib1g-dev libssl-dev libreadline5-dev


    sudo apt-get install libxslt-dev libxml2-dev

    rvm install 1.9.2 --with-openssl

    sudo apt-get install libsqlite3-dev build-essential
    sudo gem install sqlite3-ruby

    checking for pg_config... no
    sudo apt-get install libpq-dev

    rvm @global gem install ruby-debug19 -- --with-ruby-include=$rvm_path/src/$(rvm tools strings)
    展开全文
  • rvm

    2011-12-31 10:12:05
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. 重启Terminal,RVM就安装好了. RVM的使用过程中不需要使用sudo,gem也不需要. 然后就可以安装ruby了,例如:...
    1 安装: bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )



    然后修改用户配置文件/Users/username/.profile,你也可以写到别的全局配置里.

    添加一行代码:

    [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.


    重启Terminal,RVM就安装好了. RVM的使用过程中不需要使用sudo,gem也不需要.

    然后就可以安装ruby了,例如:

    rvm install ruby-1.8.7 --head --docs


    --docs是编译安装后自动生成文档,--head是最新的版本

    删除某个版本的ruby,并且把文档和gems都删除,则:

    rvm remove ruby-1.8.7 --docs --gems


    选择版本:

    rvm use ruby-1.8.7 --default


    查询当前版本:

    rvm info




    列出版本:

    rvm list
    展开全文
  • RVM Update Broke RVM

    2021-01-11 13:44:44
    m not sure what version of rvm I was on, but I updated with rvm update and got the following error (I then updated with rvm update --head and got the same errors): <p>My ruby installs are gone: $ rvm...
  • <p>Of course, <code>rvm use rvm</code> does neither make sense nor work. Well, at least until there is a ruby called "rvm", which will break a lot things anyway :smile: <p>What are we doing ...
  • RVM installing

    2021-01-11 13:41:56
    <div><p>I have a problem with installing RVM on Snow Leopard: after bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) <p>I get: <p>ERROR: Cloning from ...
  • rvm errors

    2021-01-11 13:49:23
    <div><p>how will I reset my process, to start from " source ~/.rvm/scripts/rvm" cause I think I have errors here.</p><p>该提问来源于开源项目:rvm/rvm</p></div>
  • m opening a ticket for discussion about how rvm prepare and mount work. <p>Right now, taking ruby 1.9.3-p545 as example: 1. I run <code>rvm install ruby-1.9.3-p545 && rvm prepare ruby-1.9.3-p...
  • RVM验证方法学

    2014-05-27 09:07:24
    RVM
  • RVM Compatibility

    2020-12-09 15:41:35
    <div><p>When using RVM installed in single user mode there appears to be problems with PATH not being set. From what I tried to gather it appears that sudo -u -i doesn't execute ~/.profile , ~/....
  • Issues with chef-rvm and rvm

    2021-01-11 13:41:53
    <div><p>I am others have noticed that there is an issue with chef-rvm and rvm. https://github.com/fnichol/chef-rvm/issues/193</p> <p>When rvm is installs it is no longer writing out the file /etc/...
  • error when upgrading rvm

    2021-01-11 13:37:06
    <div><p>I encountered an error when running <code>rvm get stable</code>. The ruby environment still works, but I'd like to know what happened. <p>It seems to be related to json-1.8.1, that I had ...
  • RVM issue

    2020-12-26 08:21:41
    Using /Users/jeffmillar/.rvm/gems/ruby-2.0.0-p247 with gemset learn-rails jeffmillar$ gem install rails ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions ...
  • 什么是RVM RVM是Ruby enVironment Manager的首字母缩写。 它管理Ruby应用程序环境并实现它们之间的切换。 主页和更多信息,为 目录 安装RVM 的Ubuntu RVM具有专用的Ubuntu软件包,因此请遵循此处发布的说明: : ...
  • rvm-capistrano, rvm/Capistrano 集成 gem 描述rvm/Capistrano 集成 gem兼容性带Autolibs的rvm-capistrano 1.3.0 至少需要 RVM 1.19.0 。如果你使用 capistrano 3.0.0,则无法使用这里选项,请将它的扩展到
  • Verifying /home/travis/.rvm/archives/rvm-installer.asc gpg: Signature made Tue 23 Apr 2019 04:50:26 PM UTC using RSA key ID 39499BDB gpg: Good signature from "Piotr Kuczynski " [unknown] gpg: ...
  • <div><h2>Description <p>Currently, the RVM ...3 PRs (rvm, rvm-test, bump import in rvm) to 2 different repos instead of just one PR to one repo. <p>cc </p><p>该提问来源于开源项目:rvm/rvm</p></div>
  • 适用于Ubuntu的RVM软件包 是一种命令行工具,可让您轻松安装,管理和使用从解释程序到宝石组的多个Ruby环境。 该软件包安装rvm并带有一些默认值: 使用稳定的rvmrvm使用mixed-mode安装进行安装:可由系统上的...
  • <div><p>I am running a simple <code>cap production rvm:check</code>. <p>Locally, everything looks good until it hits here: <pre><code> [a0763390] Running /usr/local/rvm/bin/rvm ruby-2.0.0-p353@...
  • RVM 主厨rvm 警告-请阅读! 当前,此食谱正在进行重大重写,以简化与Chef的RVM界面。 期望master分支非常残破,直到发布1.0版本为止。 所有先前的拉取请求将需要重新定位到较新的主服务器,以贡献给新重构的资源...
  • Jruby 1.7.5 + RVM Install

    2021-01-09 06:11:36
    <div><p>I used RVM to install 1.7.5 on Mac OS X 10.8.5. Here is my info: <pre><code> jruby-1.7.5: system: uname: "Darwin yeahyeah.local 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29 16:33:49 ...
  • 试试rvm

    2019-10-06 01:32:46
    试试rvm 试试rvmitang 古拉山的日记itang 古拉山的主页广播相册喜欢二手活动发豆邮试试rvm2011-01-12 21:15:25rvm Ruby Version Manager (RVM) http://rvm.beginrescue...

    试试rvm

    试试rvm

    2011-01-12 21:15:25
    rvm
        Ruby Version Manager (RVM)
        http://rvm.beginrescueend.com
        
    安装rvm
        >下载并安装
        $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
        
        >配置shell
        $ emacs ~/.bashrc
            
            #注释掉
            #[ -z "$PS1" ] && return
            if [ -n "$PS1" ] ; then
              #在此放置原有内容
            fi 
            
            #最尾部添加以下行
            [ -s "$HOME/.rvm/scripts/rvm" ] && source "$HOME/.rvm/scripts/rvm"
            
        >验证安装是否成功
            $rvm -v
            rvm 1.2.1 by Wayne E. Seguin ......
            
    试试rvm
        >安装jruby
        $ rvm install jruby-1.5.6
            jruby-1.5.6 - #fetching 
            jruby-1.5.6 - #downloading jruby-bin-1.5.6, this may take a while depending on 
            ...
            
            Successfully installed jruby-launcher-1.0.5-java
            1 gem installed
            Installing ri documentation for jruby-launcher-1.0.5-java...
            Installing RDoc documentation for jruby-launcher-1.0.5-java...
    
    
        >当前系统安装的ruby版本
        $ ruby -v
            ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]
    
        >当前shell切换到jruby
        $ rvm use jruby-1.5.6
            Using /home/itang/.rvm/gems/jruby-1.5.6
    
        $ ruby -v
            jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (Java HotSpot(TM) Client VM 1.6.0_22) [i386-java]
        $ which ruby
            /home/itang/.rvm/rubies/jruby-1.5.6/bin/ruby
            
        >换回系统的
        $ rvm system
        
        $ ruby -v
            ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]
        $ which ruby
            /usr/local/bin/ruby
    
        
        >将jruby 设为默认的ruby实现(每个shell都启用的)
        $ rvm --default use jruby-1.5.6
            Using /home/itang/.rvm/gems/jruby-1.5.6
        >新开启一个shell窗口
        $ which ruby
            /home/itang/.rvm/rubies/jruby-1.5.6/bin/ruby
            
        >jruby下安装rake
        $ which gem
            /home/itang/.rvm/rubies/jruby-1.5.6/bin/gem
        $ gem install rake
            Successfully installed rake-0.8.7
            1 gem installed
            Installing ri documentation for rake-0.8.7...
            Installing RDoc documentation for rake-0.8.7...
        $ gem list
    
            *** LOCAL GEMS ***
    
            bouncy-castle-java (1.5.0145.2)
            jruby-launcher (1.0.5)
            jruby-openssl (0.7.2)
            rake (0.8.7)
           
        >将默认ruby实现重置, 即切回系统的
        $ rvm reset
        $ which ruby
            /usr/local/bin/ruby
    
    rvm升级
       方式一:   Upgrading to the latest gem
         $ rvm update
         $ rvm reload
       方式二: Upgrading to the latest repository source
         $ rvm get head
         $ rvm reload
    posted on 2012-02-20 23:28 lexus 阅读(...) 评论(...) 编辑 收藏

    转载于:https://www.cnblogs.com/lexus/archive/2012/02/20/2360691.html

    展开全文
  • <div><p>Create a method in rvm to fun preflight checks for things RVM relies on to run properly. Things like the existance of git and gcc. The preflight method should be run before installing RVM.</p>...
  • Mac安装RVM

    2021-01-09 09:25:49
    一:什么是RVMRVM全称是ruby version manager,它是一个命令行工具,允许您轻松地安装管理和使用多个ruby环境。 虽然macOS自带了一个ruby环境,但是那是系统自己使用的,所以权限很小,只有system。而/Library...
  • rvm pain in linux mint

    2021-01-11 14:05:16
    [1.] commented (with <code>#) rvm settings in <code>.bashrc</code> and/or <code>.bash_profile</code> remain commented when rvm is installed so the only way to use rvm is having to do <code>source /...
  • why chef-rvm and not rvm?

    2020-12-27 06:53:22
    <div><p>I am curious why this repo is called chef-rvm but the cookbook is named rvm. This would appear to require the name of the repo name be changed in order for the cookbook to work. Or am I ...
  • m using ruby 2.0.0 and rvm head. I jsut tried installing 1.9.3 but got an error <pre><code> $ rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for:...
  • RVM Explained

    2015-04-26 08:33:14
    一份详细伦敦大学学院老师详细讲解RVM(相关向量机)的文档。比较浅显易懂。
  • Rvm Translator 5.1

    2018-08-17 10:04:31
    pdms rvm文件转换器5.1版,可将rvm文件转换成stl step gs等通用3d文件

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 15,245
精华内容 6,098
关键字:

rvm