could redmine 2.0.3 be with mongrel
Added by Steven Wong over 12 years ago
Hi, everyone,
I've ever used redmine 1.4.4 with mongrel, but could redmine 2.0.3 support the mongrel? or anyother server? please.
Thanks so much.
Replies (6)
RE: could redmine 2.0.3 be with mongrel - Added by Ivan Cenov over 12 years ago
Hi,
thin server may substitute mongrel. I managed to run Redmine this way:
Apache <-> thin <-> Redmine
P.S. What is the OS? Windows? If Windows how did you manage to connect with MySQL?
RE: could redmine 2.0.3 be with mongrel - Added by Steven Wong over 12 years ago
thanks. I never used thin before. could you tell me how to get some resourcce to config thin? Thanks so much.
RE: could redmine 2.0.3 be with mongrel - Added by Ivan Cenov over 12 years ago
Here is what I did on Windows system
Installing thin on Windows system.¶
Download devkit from here and unpack it somewhere. Then open a console, go there and execute
devkitvars.batThen execute something like this in the same console:
D:\apps\devkit>gem install eventmachine --pre Fetching: eventmachine-1.0.0.rc.4-x86-mingw32.gem (100%) Successfully installed eventmachine-1.0.0.rc.4-x86-mingw32 1 gem installed Installing ri documentation for eventmachine-1.0.0.rc.4-x86-mingw32... Installing RDoc documentation for eventmachine-1.0.0.rc.4-x86-mingw32... D:\apps\devkit>gem install thin Fetching: thin-1.3.1.gem (100%) Building native extensions. This could take a while... Successfully installed thin-1.3.1 1 gem installed Installing ri documentation for thin-1.3.1... Installing RDoc documentation for thin-1.3.1... D:\apps\devkit>
Start thin/Redmine.¶
Then go to Redmine root directory and start it by
thin start -p 3001 -e productionYou should see Redmine at port 3001 (http://localhost:3001).
RE: could redmine 2.0.3 be with mongrel - Added by Steven Wong over 12 years ago
Hi, I've installed the thin and tried to use the command line to start the server
but failed with errors:
C:\Test_PRJ\redmine-2.0>thin start -p 3001 -e production >> Using rack adapter >> Thin web server (v1.4.1 codename Chromeo) >> Maximum connections set to 1024 >> Listening on 0.0.0.0:3001, CTRL+C to stop C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/backends/tcp_server.rb:16: in `connect': no such file to load -- thin/connection (LoadError) from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/backends/base .rb:55:in `start' from C:/Ruby187/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmac hine.rb:256:in `call' from C:/Ruby187/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmac hine.rb:256:in `run_machine' from C:/Ruby187/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmac hine.rb:256:in `run' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/backends/base .rb:63:in `start' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/server.rb:159 :in `start' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/controllers/c ontroller.rb:86:in `start' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/runner.rb:185 :in `send' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/runner.rb:185 :in `run_command' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/lib/thin/runner.rb:151 :in `run!' from C:/Ruby187/lib/ruby/gems/1.8/gems/thin-1.4.1/bin/thin:6 from C:/Ruby187/bin/thin:19:in `load' from C:/Ruby187/bin/thin:19
this is the gem list I've installed on my environment.
C:\Test_PRJ\redmine-2.0>gem list *** LOCAL GEMS *** actionmailer (3.2.6, 3.2.5, 3.2.3, 2.3.14) actionpack (3.2.6, 3.2.5, 3.2.3, 2.3.14) activemodel (3.2.6, 3.2.5, 3.2.3) activerecord (3.2.6, 3.2.5, 3.2.3, 2.3.14) activeresource (3.2.6, 3.2.5, 3.2.3, 2.3.14) activesupport (3.2.6, 3.2.5, 3.2.3, 2.3.14) arel (3.0.2) builder (3.0.0) bundler (1.1.3, 1.1.1) cgi_multipart_eof_fix (2.5.0) coderay (1.0.6, 1.0.5) daemons (1.1.8) erubis (2.7.0) eventmachine (0.12.10) fastercsv (1.5.4) gem_plugin (0.2.3) hike (1.2.1) i18n (0.6.0, 0.4.2) journey (1.0.4, 1.0.3) json (1.7.3, 1.6.5) mail (2.4.4) metaclass (0.0.1) mime-types (1.18) mocha (0.11.4) mongrel (1.1.5 x86-mingw32) multi_json (1.3.6, 1.3.5) mysql (2.8.1 x86-mingw32) net-ldap (0.3.1) pg (0.13.2 x86-mingw32, 0.9.0 x86-mingw32) polyglot (0.3.3) prototype-rails (3.2.1) rack (1.4.1, 1.1.3) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.1) rails (3.2.6, 3.2.5, 3.2.3, 2.3.14) railties (3.2.6, 3.2.5, 3.2.3) rake (0.9.2.2) rdoc (3.12) rmagick (2.13.1) ruby-ole (1.2.11.3) ruby-openid (2.1.8) shoulda (2.11.3) spreadsheet (0.6.8) sprockets (2.1.3) sqlite3 (1.3.6 x86-mingw32, 1.3.5 x86-mingw32) thin (1.4.1) thor (0.15.3, 0.15.2, 0.14.6) tilt (1.3.3) treetop (1.4.10) tzinfo (0.3.33) yard (0.8.1)
RE: could redmine 2.0.3 be with mongrel - Added by Ivan Cenov over 12 years ago
Sorry I can not help, this did not happened in my installation.
RE: could redmine 2.0.3 be with mongrel - Added by Steven Wong over 12 years ago
Oh, I tried it successfully as follows:
add code into Gemfile.local
gem "thin"
then start service in <redmine Root>
thin start -p 3000 -e production
Thanks, Ivan Khrustalev Cenov