使用clean RVM的链轮JavaScript依赖关系管理工具
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用clean RVM的链轮JavaScript依赖关系管理工具相关的知识,希望对你有一定的参考价值。
Use this snippet in Linux shell to install RVM and set it up for use with Sprockets.
# https://rvm.io hash curl 2>/dev/null || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; } # get ruby version manager curl -L https://get.rvm.io | bash -s stable --ruby # compile-in external libraries with ruby rvm pkg install openssl rvm pkg install zlib # RECOMPILE: if rvm installation already contains ruby versions # $ rvm reinstall $(rvm list strings | tr " " ',') # $ rvm all-gemsets do rvm gemset pristine # install required (baseline) ruby version and recent releases rvm install 1.8.7-latest rvm install 1.9.3-latest # create a gemset and set it as default rvm gemset create jsprocket rvm use 1.9.3-latest@jsprocket --default # Checks: #------- # ruby -v # rvm gemset list # rvm list
以上是关于使用clean RVM的链轮JavaScript依赖关系管理工具的主要内容,如果未能解决你的问题,请参考以下文章