Fedena on shared hosting site5
To install new version of fedena project you will need to do the following:
1. Download and extract files of new version of fedena
2. Navigate to the rails application directory and go to
/config/environment.rb – open this up and look for a line like this:
RAILS_GEM_VERSION = ’2.3.5′ unless defined? RAILS_GEM_VERSION
and comment this line out or remove it. Instead of it you will need to add the following code to that file right before
"Rails::Initializer.run do |config|" line:
if Gem::VERSION >= '1.3.6'
r = super
(r == Gem::Requirement.default) ? nil : r
3. Add the following line on the top of config/boot.rb file :
4. Navigate to /public under the application root and create .htaccess file with the following content:
5. Setup your database details in the database.yml
Open the file database.yml in the config folder of the fedena source. Change the following details:
database: fedena – The name of the database you want to use for fedena
username: root – Mysql username for fedena
password: mypass – The password for the above mysql user
Note: Database and user should be already created by you in your control panel.
6. Set up Fedena databases
From the Fedena source directory in terminal run,
Now you should get working application in your web browser.
Some common errors you might get on shared hosting.
uninitialized constant ActiveSupport::Dependencies::Mutex
(See full trace by running task with --trace)
In Rakefile add
undefined local variable or method `version_requirements’ for #
(See full trace by running task with –trace)
Edit the “Gemfile” file and change the version of rails accordingly in line gem ‘rails’,’2.3.5′
find the rails version by issuing command.
Thanks to the Sergey Site5 support engineer for the instructions. Please contact us at +919818390836 or email at firstname.lastname@example.org if you need help with the Fedena. We highly recommend site5 for fedena hosting on their shared server. Try it for free! You can use coupon code FREETRIAL and select a one (1) month contract term when ordering!
To use Fedena in your institute and for free consultation on how AmpleTrails can help you in achieving your goals please contact us at email@example.com 9818390836, 9818390836, 9034757673-