Redmine installation : Error

前端 未结 3 749
失恋的感觉
失恋的感觉 2021-01-25 07:30

I finish all the installtion step for redmine and configure apache

sree@sree:/usr/share/redmine$ rails -v
Rails 3.2.13
sree@sree:/usr/share/redmine$ ruby -v
rub         


        
相关标签:
3条回答
  • 2021-01-25 07:42

    Try

    gem uninstall bundler
    

    and remove all bundler versions what you have.

    After this, install bundler again.

    gem install bundler -v 1.0.21
    

    I hope this works to you.

    0 讨论(0)
  • 2021-01-25 07:47

    Try to remove old version of bundler.

    0 讨论(0)
  • 2021-01-25 07:48

    Reference - http://www.modrails.com/documentation/Users%20guide%20Apache.html Following the steps

    1 Install apache with Phusion Passenger:

    user@user:~gem install passenger
    
    1. add the RubyGems bin directory to your $PATH

      a.

      /etc/bash.bashrc- write in end export PATH=$PATH:/home/user/.rvm/gems/ruby-1.9.3-p448/bin

      b. Run export PATH=$PATH:/home/user/.rvm/gems/ruby-1.9.3-p448/bin

    2. passenger-install-apache2-module

    a. Follow the instruction as output i. Create two files inside /etc/apache2/mods-available/ 1. passenger.load LoadModule passenger_module /home/user/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.14/buildout/apache2/mod_passenger.so

    passenger.conf

    PassengerDefaultRuby /home/user/.rvm/wrappers/ruby-1.9.3-p448/ruby PassengerRoot /home/user/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.14

    1. user@user:~passenger-memory-stats

    Apache configuration

    1. user@user:~ln –s /home/user/redmine-2.3/public /var/www/redmine

    2. user@user:~sudo gedit /etc/apache2/sites-available/default

      RailsEnv development RackBaseURI /redmine Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow, deny Allow from all SetEnv RAILS_RELATIVE_URL_ROOT “/redmine”

      `user@user:~sudo service apache2 restart

      user@user:~firefox http://localhost/redmine`
      
    0 讨论(0)
提交回复
热议问题