Project

General

Profile

mongrel_rails install service failed with error "gem_plugin.rb:109:in `load': uninitialized constant Gem::SourceIndex"

Added by Gavin Lin over 8 years ago

I followed the guide from http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache and want to "Setup windows services" in a win7 x64 server. while running command
mongrel_rails service::install -N mongrel_redmine_3001 -D "Mongrel serving Redmine on 3001" -p 3001 -e production -c C:\tools\redmine
it failed with below error :

c:\tools\redmine>mongrel_rails service::install -N mongrel_redmine_3001 -D "Mongrel serving Redmine on 3001" -p 3001 -e production -c C:\tools\redmine
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/gem_plugin-0.2.3/lib/gem_plugin.rb:109:in `load': uninitialized constant Gem::SourceIndex (NameError)
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mongrel-1.2.0.pre2/bin/mongrel_rails:280:in `<top (required)>'
from C:/Ruby21-x64/bin/mongrel_rails:23:in `load'
from C:/Ruby21-x64/bin/mongrel_rails:23:in `<main>'

Here is my evn info :
c:\tools\redmine>ruby -v
ruby 2.1.7p400 (2015-08-18 revision 51632) [x64-mingw32]
c:\tools\redmine>rails -v
Rails 4.2.5
c:\tools\redmine>bundle -v
Bundler version 1.11.2

Very appreciated if someone can help to solve this issue , thanks very much.

gemList.txt (1.37 KB) gemList.txt gem list in my server