Install Ruby on Rails on Debian 6 (Apache) -


i trying ruby on rails working on debian 6.0.5 (squeeze) apache (http://hosting.wedos.com/en/virtual/debian-isp.html). there no ruby now. running on vps have administrator rights. have found few tutorials seem provide different solutions , can not make mistakes, since many others websites running on server. have been working php until :/

does know working example/tutorial or suggest solution?

help appretiated! don't want buy separate vps trying ror. know can done localy on machine (which did , works fine) need see if can use live projects...

use rvm (https://rvm.io/) this. it's ruby version manager , it's managing different ruby versions , gems.

you can copy paste bash , install ruby , rails you:

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 \curl -ssl https://get.rvm.io | bash -s stable rvm install 2.2.1 gem install rails 

this should work long have curl , gpg environment setup on system.

// maybe should learn bit rails. comes own webserver don't need apache in first place. later can use server side proxy if want...

// install curl can use:

apt-get install curl 

then can retrun commands listed above


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -