码迷,mamicode.com
首页 > 其他好文 > 详细

ruby on rails environment setup

时间:2018-06-18 20:21:51      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:serve   new   env   site   set   nod   important   ati   configure   

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

标签:serve   new   env   site   set   nod   important   ati   configure   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!