Knowledgebase

Knowledgebase : Ruby on Rails
This means there was a critical failure somewhere in your Rails application. Information about this error can be found in one of two places: * The Error Log section of your control panel RAILS_APP/log/ * The log directory for your rails application Most commonly, there is more useful information in the rails log directory. There are several files in there depending on the mode you are in. If you're using the FastCGI wrapper, you'll want the fastcgi.crash.log. If you're using the regular ...
Here's a simple tutorial on how to get RoR (Ruby on Rails) to work STEP 1: First get your cPanel login ready as this will be your SSH Login info STEP 2: Once you have that confirmed and enabled, SSH into your hosting server using your cPanel Login info STEP 3: Now run the below commands, just type one line, press enter, then the next and so on. (Replace USER with your cpanel username) rails /home/USER/testapp cd /home/USER/testapp/ ruby script/generate controller test cd /home/USER/public_h...
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: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb install sqlite3-ruby checking for fdatasync() in -lrt... yes checking for sqlite3.h... no make make: *** No rule to make target `ruby.h', need...

Powered by WHMCompleteSolution