Below you will find some of the most commonly asked Ruby On Rails questions pertaining to our configured hosting environments:
Q: How are Ruby on Rails applications managed?
A: For the most part all applications are managed via shell access (SSH) and require an above average understanding of shell commands and Ruby on Rails command line. Most administration is done using Rake on the command line. You setup an application using Cpanel.
Q: Is Rails installed in addition to Ruby?
A: Yes, the servers run a full implementation of Ruby on Rails.
Q: Can I Setup A Ruby Application or Do I Need to Contact Support?
A: Normally, as long as you have requested Ruby support to be enabled you will be able to use your Cpanel to Create a Ruby Application. Only custom configurations or if you need Ruby added to your account as a feature would you need to contact support.
Q: How Do I Setup an Application?
A: With the use of Cpanel, you have the tools necessary to create a Ruby virtual server on your domain. Simply Login to Cpanel and click on the Ruby on Rails icon. This will open the Ruby management screen. Enter your application name in the App Name field and choose whether you want to load your application when the server is booted. You would then specify your application path in the application path field. It is best to choose a folder other than public_html so that source code and configuration files cannot be viewed by anyone on the web. Next choose the type of Ruby on Rails environment from the drop down and click create.
Q: What do Ruby URLs look like?
A: Because Ruby runs as a virtual server instance instead of on the default web server port (80) it is necessary to access your Ruby server with a port number in the URL such as example.com:12001 You may, however, create a rewrite that will mask the port number and make it easier for coding and visitor access.
Q: Can I use Gems with my Ruby on Rails applications?
A: Yes you may use Ruby Gems with your RoR applications.
Q: Can I install my own Gems?
A: You cannot install your own custom gems. Gems must be published in the Gems repository. This is done due to safety and security considerations. You can submit gems to us for consideration should you find your self wanting, and we will recommend a course of action.
Q: Can I install pre-made Gems?
A: Yes, as long as the Gems are part of the Gem repository you can install them. This is done through the Cpanel. Here you can search the repository and directly install the Gems.
not just for your Grand Pappy.s train set anymore!
Were talking about a great tool for developing Web 2.0 applications and
interactive websites. Ruby on Rails, sometimes affectionately referred
to as RoR, is a relatively new Web development framework that has
become popular among programmers as it brings simplicity to
programming. This Framework is made available as an open source project
and can be used on any of CWIhosting.com's
Linux Build Your Own hosting packages. Ruby has been around since the early
90.s, and was invented in Japan. However, a young Copenhagen native,
David Hansson released the rails version in 2004 creating the buzz on
the web we see today.
One man.s quest to build a practical and
productive Web Development Framework is the perfect demonstration of
our company motto at CWI; Where small business grows up.(TM)
It shows how just one person can shake up an entire establishment, and
initiate progressive change. This is evident in the Software
and Dev world as The Burton Group, a research company, recommends that "corporate
customers consider Ruby on Rails for new web development projects..
Although Ruby on Rails is not as widespread in its use
as other Web tools like PHP, Java and many of Microsoft's tools, it has
made a real impact in less than 2 years. RoR has caught the
attention of the several trend setting and influential programmers
leading the movement towards RoR. In a manner similar to Java
a decade ago, Ruby on Rails is getting developers reenergized with the
prospects of vastly increasing their productivity. The vision of Ruby
on Rails according to its founder, is to combine the speed and
ease-of-use of the PHP scripting language with the "clean," structured
approach of Java. That combination makes code quick to write and easy
to maintain over time, Hansson has said.
According to many developers, the interest and growth of Ruby on Rails
is partly fueled by an aim to replace Java or Microsoft's C+ language
with these Scripting, or "dynamic," languages which tend to be simpler
to learn. We believe that RoR, using the AJAX set of development
techniques, brings a great toolset to web development. This allows
greater involvement with Web 2.0 application phenomena, thus offering
more applications online that are no longer tied to a specific
operating system and available to anyone with an internet connection.