Daqinv: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
** gem install passenger | ** gem install passenger | ||
** gem install rdoc | ** gem install rdoc | ||
* install passenger_mod (apache httpd module) | |||
** cd /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8 | |||
** ./bin/passenger-install-apache2-module | |||
** say "yes" to all prompts, at the end the script will print information similar to that below: | |||
<pre> | |||
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8/buildout/apache2/mod_passenger.so | |||
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8 | |||
PassengerDefaultRuby /usr/bin/ruby | |||
</pre> |
Revision as of 07:54, 11 July 2013
Links
Installation instructions
- start with base SL6
- install ruby gems packaging system: yum install rubygems ruby-devel
- install ruby on rails:
- gem install rails -v '2.3.5'
- gem install fastthread
- gem install mysql
- gem install passenger
- gem install rdoc
- install passenger_mod (apache httpd module)
- cd /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8
- ./bin/passenger-install-apache2-module
- say "yes" to all prompts, at the end the script will print information similar to that below:
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8/buildout/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-4.0.8 PassengerDefaultRuby /usr/bin/ruby