ruby on rails environment setup

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.

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

时间: 2024-11-09 05:07:15

ruby on rails environment setup的相关文章

nginx+passenger+mina+ruby on rails 实战部署

一.利用passenger-install-nginx-module 安装: 先安装passenger: gem install passenger,如果没有权限就在前面加上sudo. 由于nginx不支持动态的模块载入,所以要使用passenger来进行编译安装由passenger修改过的nginx 用passenger安装nginx: passenger-install-nginx-module 按照提示,一步步安装. 在nginx的配置文件(默认在/opt/nginx/conf/目录下)里

10 steps to get Ruby on Rails running on Windows with IIS FastCGI

Since the original tech preview release of FastCGI last year, we've been seeing a lot of requests for getting Ruby on Rails running with our FastCGI.  Theoretically, since the FastCGI component uses a standard protocol to support FastCGI-enabled appl

用 Ubuntu 12.04 搭建一个 Ruby on Rails 本地开发环境

转载,原文链接 http://linux.cn/portal.php?mod=view&aid=170 用 Ubuntu 搭建一个 Ruby on Rails 本地开发环境 想要开发 Ruby on Rails 应用吗?虽然已经有一些(初级的)Ruby on Rails 教程了,但是似乎在如何搭建一个简洁而更新的本地开发环境方面还有些不甚确定的地方. 这个教程将引导你通过几个步骤来搭建一个基于 Ubuntu 的 Ruby on Rails 本地开发环境.而这个教程的即将发布的第二部分,将帮助你搭

Ruby On Rails环境搭建

注:现在http://rubyforge.org 网站已经停止运行,取而代之的是https://rubygems.org这个网站,下文中所需要的gem包都可以去这个网站搜索下载.其他完全按照下文说的去做即可 Ruby on Rails 体验之旅(一)--安装 最新心血来潮的想学一门新的东西,听说用ROR的开发效率会很高,所以就选择了ruby on rails,安装的时候真是不顺心,这里把自己的安装心得记下来: 1) 安装ruby 下载安装包:http://rubyforge.org/frs/?g

centos安装ruby on rails

最近研究svn使用http协议,但网上大多都是apache整合svn,我不想使用apache+svn,google翻了很多页终于让我找到了,但要求先安装ruby on rails,所以就有了下面的这篇文章. 系统:centos 5.5 需要的软件:ruby-1.9.3-rc1.tar.gz rubygems-1.8.23.tgz 1.安装ruby wget http://ruby.taobao.org/mirrors/ruby/1.9/ruby-1.9.3-rc1.tar.gz tar zxf

Ruby on Rails Session 1: How to Build a Ruby on Rails on the Ubuntu.

About Ruby on Rails Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications. Ruby on Rails does take a little while to install on a virtual server, but luckily there are a lot of

ruby on rails 安装(win8 64位)

最近工作需要学习一门新语言:ruby.久闻大名,知道她的存在是因为网上流传的一篇文章<怎样在两个月内教会妹妹与女友编程>,今日终于要用到了,有些小激动呢~~又学了门新语言来~~ 电脑系统是win8,在win8下的VMware里装了个Ubuntu 14.04 麒麟,昨天下午先搞明白了win安装. Win8 64位安装 安装ruby 在win下安装rubyinstaller会根据你的电脑系统下载的,比如说我是2014.11.25下载的,版本为 rubyinstaller-2.1.5-x64.exe

Ruby On Rails 4 hello world,Ruby On Rails上手

有机会再试一试Rails了,仅仅是原来接触的是2,如今已然变成了4,似乎如今的安装比原来会快些.. Rails 4 安装 针对于安装了RVM gem install rails 没有的话应该主 sudo gem install rails 安装RVM能够用 \curl -L https://get.rvm.io | bash -s stable 查看rails版本号 rails -v Rails 4.0.3 似乎这就是当前的最新版本号 Ruby版本号 We recommend Ruby 2.1.

Choosing web framework: ASP.NET MVC vs Django Python vs Ruby on Rails(转载)

来源:http://podlipensky.com/2012/06/choosing-web-framework-asp-net-mvc-vs-django-python-vs-ruby-on-rails/ How often do you emerge from you cubicle to look around, note new faces or new facial expression on old ones? How often do you emerge from you tec