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
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.
Try to remove old version of bundler.
Reference - http://www.modrails.com/documentation/Users%20guide%20Apache.html Following the steps
1 Install apache with Phusion Passenger:
user@user:~gem install passenger
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
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
user@user:~passenger-memory-stats
Apache configuration
user@user:~ln –s /home/user/redmine-2.3/public /var/www/redmine
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`