安装curl

sudo yum install curl

 

导入rvm密匙及安装

curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.bashrc
source ~/.bash_profile
echo "ruby_url=https://cache.ruby-china.com/pub/ruby" > ~/.rvm/user/db
rvm install 2.6.3
rvm use 2.6.3 --default

需要设置命令行客户端已login方式运行shell

安装sqlite3,橙色部分根据最新的下载链接更新
wget http://www.sqlite.org/sqlite-autoconf-3070500.tar.gz
tar xvzf sqlite-autoconf-3070500.tar.gz
cd sqlite-autoconf-3070500
./configure
make
sudo make install
 
配置gem
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
bundle config mirror.https://rubygems.org https://gems.ruby-china.com

gem install sqlite3
gem install rails



安装node
官网下载linux包
解压,
移动到usr/local中,配置 /etc/profile文件 path,把node中的bin设置到path中
安装yarn
配置yarn源

posted on 2019-11-15 18:12  黄sirofphoebe  阅读(411)  评论(0编辑  收藏  举报