Don't know where to start with Ruby on Rails? We've got you covered!
_NOTE: you will need SSH access to use Ruby on Rails, which is not
enabled by default. If you have trouble logging in simply file a
support ticket
[http://www.asmallorange.com/esupport...
CONVERT AN EXISTING FASTCGI APP TO PASSENGER
If you have an existing Ruby on Rails app at A Small Orange that was
deployed with FastCGI, here are the steps to convert it to Passenger:
_NOTE: 'myapp' is used below to represent your Rails Application
dir...
To set up a new Rails app on a shared ASO account:
*
Create a new Rails app via SSH
_NOTE: if you don't have SSH access you need to fill out a support
ticket with us to gain access._
*
Move into your home directory (if you just logged in, you ar...
So, you've developed an application and are ready to deploy it for the
world to see? Standard deployment is relatively simple on A Small
Orange's shared plans. You may also want to consider Capistrano
[https://capistranorb.com/].
_NOTE: we use Ruby with...
We use Ruby with Passenger while cPanel uses Ruby with Mongrel, so the
cPanel Ruby app is not available. Below are the steps you need to take
to get Ruby On Rails up and running.
_NOTE: you will need SSH access, which is by default enabled on your
accou...
SET UP YOUR CGI-BIN FOLDER
You need to add an 'eruby' script to your '~/public_html/cgi-bin'
folder. Here's what it should look like:
#!/bin/bash
echo "Content-type: text/html"
echo
echo ""
erubis -E Stdout <$DOCUMENT_ROOT$REQUEST_URI
...
When you get an error stating 'Rails application failed to start
properly' it means there was a CRITICAL FAILURE SOMEWHERE IN YOUR
RAILS APPLICATION. Information about this error can be found in one of
two places:
*
Error Log section of your control ...
Deploying a new version of a Ruby on Rails application is as simple as
re-uploading the application files, and restarting the application.
You can restart the application by creating or modifying the file
TMP/RESTART.TXT in the Rails APPLICATION’S ROOT ...
Should you run into the following error when installing the
sqlite3-ruby gem, you'll want to install sqlite-devel.x86_64 to
resolve the issue.:
root@shannon [~]# gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Erro...