Ruby on Rails without Virtualmin Pro?

11 posts / 0 new
Last post
#1 Sat, 07/30/2011 - 16:32
arosborough

Ruby on Rails without Virtualmin Pro?

I don't have the pro version of Virtualmin. I noticed there is no install script for Ruby on Rails. Can I still use ruby on rails with virtualmin? What process would be required to get this going?

Sat, 07/30/2011 - 16:38
andreychek

Howdy,

Sure, it's no problem to use Ruby on Rails... it just means you'll need to manually install it.

There's information on installing Rails on the Rails website here:

http://rubyonrails.org/download

Sat, 07/30/2011 - 18:54 (Reply to #2)
arosborough

Do I have to do anything in virtualmin to forward or proxy to the rails webserver?

Sat, 07/30/2011 - 19:01
andreychek

Well, Rails isn't really my area of expertise, perhaps a Ruby person can comment on that a bit more... but my understanding is that most Rails apps would be running under something like Mongrel or Passenger, which may involve setting up some proxying.

However, if you're looking to use a particular Rails app, they may explain in detail how best to setup Rails and the related dependencies.

-Eric

Tue, 02/28/2012 - 18:22
helpmin

You can still do it by following the RoR instructions on the web, but Virtualmin GPL wouldn't be much of a help here, because all the "proxy balancer" time saving features etc are in Virtualmin pro. So if you want to save many, many hours of work get the Pro version. But not if you are Centos [5], because the scripts won't work on Centos (as of today).

Tue, 02/28/2012 - 15:26
i3inary

I have a server with centos, virtualmin gpl, and need to run some ruby on rails apps (redmine is one of them) does anyone know if there is a guide for this kind of configuration?

Does the virtualmin pro script work for this yet?

I would be happy to purchase the install script for this or pay someone for the time to create it...but paying $299 a year for a couple RoR dev installs is a little out of my budget especially when heroku allow give away hosting for dev apps.

Can anyone help me figure this out?

Thank you, Damian

Tue, 02/28/2012 - 16:27
andreychek

Howdy,

Which version of CentOS are you using?

-Eric

Tue, 02/28/2012 - 16:37
i3inary

I am running 6.2.

Thanks.

Tue, 02/28/2012 - 17:08
andreychek

Redmine has always been tricky, as it's such a moving target. So even when the Install Script works now, it sometimes won't later once it's dependencies require packages not available in that distribution.

CentOS 6 is fairly new, it would probably work for now... but I can't speak to whether it would continue to work in, say, a year :-)

My recommendation for installing Redmine on CentOS 6 would be to use their installation guide here on the Redmine site:

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

Tue, 02/28/2012 - 17:44
i3inary

Thank you andrey,

I will give it a shot on my dev environment when I get time. I think in the meantime I am going to just use a turnkey appliance on an aws ec2 instance to get up and running asap to get this project moving.

  • Damian
Sat, 08/08/2015 - 01:13
iateadonut

Now in 2015, 3 years later, this is pretty easy if you have any server experience.

as root:

for ruby

yum install ruby ruby-devel gcc make mysql-devel sqlite sqlite-devel rubygem-bundler gcc-c++ libcurl-devel httpd-devel apr-devel apr-util-devel

gem install passenger passenger-install-apache2-module (passenger-install will ask you to change your apache config)

you may need a JS runtime environment

yum install epel-release yum install nodejs

under your virtual server: Server Configuration->Website Options->Website documents sub-directory: location of your application

Topic locked