问题描述
- 急..win8系统部署rails--mongrel+apache2
- 搭建个redmine,想弄个Mongrel+Apache部署。
gem install mongrel
gem install mongrel_server
安装好了以后想创建一个服务,代码如下,报错了。请大神们指点。
D:Sitesredmine-3.0.1>mongrel_rails service::install -N Web1 -c d:Sitesredmin
e-3.0.1 -p 3001 -e production
C:/RailsInstaller/Ruby2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_re
quire.rb:54:inrequire': cannot load such file -- 2.1/http11 (LoadError)
require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_
ext/kernel_require.rb:54:in
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/mongrel-1.2.0.
pre2-x86-mingw32/lib/mongrel.rb:17:inrescue in <top (required)>'
'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/mongrel-1.2.0.
pre2-x86-mingw32/lib/mongrel.rb:13:in
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_
ext/kernel_require.rb:54:inrequire'
require'
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_
ext/kernel_require.rb:54:in
from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/mongrel-1.2.0.
pre2-x86-mingw32/bin/mongrel_rails:13:in<top (required)>'
load'
from C:/RailsInstaller/Ruby2.1.0/bin/mongrel_rails:23:in
from C:/RailsInstaller/Ruby2.1.0/bin/mongrel_rails:23:in `'
解决方案
同求!同求同求!同求同求!同求同求!同求
解决方案二:
gem install mongrel -v -1.2.0.pre2
时间: 2025-01-18 21:01:04