简体   繁体   English

如何在具有RVM和Passenger for Apache2的Ubuntu 14.04 LTS上安装Ruby on Rails

[英]How do I install Ruby on Rails on Ubuntu 14.04 LTS With RVM and With Passenger for Apache2

I am having trouble installing Ruby on Rails via RVM with Passenger for Apache2. 我无法通过带有用于Apache2的Passenger的RVM安装Ruby on Rails。 I do not know weather I need to install some more dependency's for Rails or what. 我不知道天气我需要为Rails或其他安装更多的依赖项。 I have tried for the last month now and can still not figure it out. 我已经尝试了上个月,但仍然无法弄清楚。

I would be very grateful if someone could put down in the suggestions a list of commands I would need to install all of this correctly. 如果有人可以在建议中列出我需要正确安装所有这些命令的命令列表,我将不胜感激。

Thanks in advance. 提前致谢。

For rails, try: 对于导轨,请尝试:

sudo apt-get update
sudo apt-get -y upgrade

## Git y Curl
sudo apt-get install -y git curl
sudo apt-get install -y libcurl4-openssl-dev

## Javascript Runtime (nodejs)      
sudo apt-get install -y nodejs

## FreeTDS
sudo apt-get install -y freetds-dev

curl -L https://get.rvm.io | bash -s stable --rails

I hope it helps you. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM