In Rails 3.0.3 application, I have developed login functionality using ‘Authlogic’ gem. Gem added in ‘Gemfile’ as,
gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3'
Application was working fine with Mongrel and WEBrick server, but it was throwing an error with Passenger,
git://github.com/odorcicd/authlogic.git (at rails3) is not checked out. Please run `bundle install` (Bundler::GitError)
When we do ‘bundle install’, bundler installs gem (from GIT source) to different path other than regular one. Passenger does not understand this path, and that’s why above error was coming. So I have fixed it in following way,
I have installed ‘authlogic’ as a Plugin from branch “rails3″ of given git path as,
cd vendor/plugins
git clone git://github.com/odorcicd/authlogic.git
cd authlogic
git checkout --track -b rails3 origin/rails3
After this, restarted application, and app works fine with Passenger, Mongrel, and WEBrick.
Hope this is helpful.