Ruby on Rails


Daniel J. Pritchett's picture

Thanks for publishing such a great appliance!

 I had a bit of trouble getting the Turnkey Rails appliance (linked above) working on Windows so I wrote up a guide to doing just that: Get started building web apps with your own Ruby on Rails virtual development server 

The main things I was missing were:

  • Network configuration knowledge for a free virtualization product. I ended up using VirtualBox and the default NAT setup confused me for far too long. I now understand how to do it using NAT+port forwarding or using bridging.
  • sqlite3 is not included in Turnkey Rails but it's assumed in the Rails intros I have been reading. I added instructions on how to install it.
  • No familiar Windowsy WYSIWYG editor available in the console-only Turnkey Rails. I added diakonos to my guide.


David Franzkoch's picture

I would like to know how I ideally should install newer Ruby versions. Debian Jessie does not offer the bleeding edge version of Ruby and, depending on the workload that should run on the appliance, I need newer versions. I tried RVM which is a pain in the neck to get working in multiuser-environments, because it depends on $PATH being set correctly for each user.

Any suggestions on how to install newer Ruby versions AND make them available to the www-data user?

Jeremy Davis's picture

I'm not a Ruby user so I can't give you the great answer that you are probably hoping for sorry... Under the hood, TurnKey is Debian (v14.x = Debian Jessie) though so hopefully if you google you may be able to find an expert who uses Debian that can share a great recipe. Ubuntu is also based on Debian (although generally not binary compatible as TurnKey is). So instructions for a similar version of Ubuntu (Ubuntu 14.04 is very close to Debian Jessie) may also work, but YMMV.

Regardless, for future reference I suggest that you create a post in the forums itself. Comments on the documentation often get missed. I actually only accidentally came across this post...