首页 > 其他 > 详细

ruby on rails environment setup

时间:2018-06-18 20:17:16      阅读:268      评论:0      收藏:0      [点我收藏+]

firstly ,we can install the latest version of ruby through ruby`s official site,  $./configure  $make   $sudo make install ,this is three cmd to install the ruby source code,as well as other c source code.

 

secondly, we can install rails through cmd $ sudo gem install rails. we can check it by cmd $ ruby -v  $rails -v   

 

thirdly, bundler, by $sudo gem install bundler

 

lastly, the most important that offcial site did not mentioned , install a javascript runtime ,such as $sudo apt install nodejs

 

until now ,we can use rails $rails new blog  $bundle install  $rails server   to check our installation.

 

ruby on rails environment setup

原文:https://www.cnblogs.com/jdcai/p/9195960.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!