浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

rvm notes

 

If you wish to use RVM in an interactive fashion in other shells
    then place the following line at the end of your shell's loading files
    (.bashrc or .bash_profile for bash and .zshenv for zsh),
    after all PATH/variable settings:

    [[ -s "/home/mlzboy/.rvm/scripts/rvm" ]] && source "/home/mlzboy/.rvm/scripts/rvm"  # This loads RVM into a shell session.

放到~/.bashrc最下面

source ~/.profile

source ~/.bashrc

rvm requirements

sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

rvm install 1.9.2

rvm use 1.9.2 --default

gem install ruby-debug-base19x
   rvm pkg install openssl
  # rvm remove 1.9.2
   rvm install 1.9.2 --with-openssl-dir=$HOME/.rvm/usr



http://stackoverflow.com/questions/7228312/require-command-not-working-within-bash-irb-on-snow-leopard 
 
posted on 2012-01-24 13:54  lexus  阅读(218)  评论(0编辑  收藏  举报