Joey Geiger
2006-Dec-28 23:06 UTC
[Mongrel] Mongrel fails in Win32, mongrel_service missing, with possible fix
I just ran into an issue with a new mongrel install on Win32. When trying to run mongrel from RadRails 0.7.2 on win32, I got an error while loading that it couldn''t locate mongrel_service. C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.3.1/lib/mongrel_service/init.rb (LoadError) My install command/output is below. D:\download>gem install mongrel_service --source=http://mongrel.rubyforge.org/releases Select which gem to install for your platform (i386-mswin32) 1. mongrel_service 0.3.1 (mswin32) 2. Cancel installation> 1Successfully installed mongrel_service-0.3.1-mswin32 Installing ri documentation for mongrel_service-0.3.1-mswin32... Installing RDoc documentation for mongrel_service-0.3.1-mswin32... If I go into the gems directory and rename mongrel_service-0.3.1-mswin32 to mongrel_service-0.3.1 mongrel will properly load. Just FYI.
Zed A. Shaw
2006-Dec-28 23:22 UTC
[Mongrel] Mongrel fails in Win32, mongrel_service missing, with possible fix
On Thu, 28 Dec 2006 17:06:25 -0600 "Joey Geiger" <jgeiger at gmail.com> wrote:><snip> > If I go into the gems directory and rename > mongrel_service-0.3.1-mswin32 to mongrel_service-0.3.1 mongrel will > properly load.Your version of gem_plugin must not have been updated. You need 0.2.2 to make it all work with the weird rubygems naming convention. Try installing gem_plugin from release and see if that fixes it. I see what I''ve gotta do is set the version requirement higher for gem_plugin on the official release. Thanks. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
Luis Lavena
2006-Dec-28 23:24 UTC
[Mongrel] Mongrel fails in Win32, mongrel_service missing, with possible fix
On 12/28/06, Joey Geiger <jgeiger at gmail.com> wrote:> I just ran into an issue with a new mongrel install on Win32. When > trying to run mongrel from RadRails 0.7.2 on win32, I got an error > while loading that it couldn''t locate mongrel_service. > > C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'': no such file to load -- > C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.3.1/lib/mongrel_service/init.rb > (LoadError) > > [snip] > > If I go into the gems directory and rename > mongrel_service-0.3.1-mswin32 to mongrel_service-0.3.1 mongrel will > properly load. >You forgot to update gem_plugin. stable 0.2.1 version will fail to load ANY gem that is platform specific (like the mongrel_service gem). The version in releases is 0.2.2 and solve that issue. gem update --source=http://mongrel.rubyforge.org/releases Will update it, or could manually do with: gem install gem_plugin --source=http://mongrel.rubyforge.org/releases> Just FYI.Zed mention that in his ANN, you must remove all the previous versions of any gem used by mongrel to avoid these issues. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
Joey Geiger
2006-Dec-29 01:43 UTC
[Mongrel] Mongrel fails in Win32, mongrel_service missing, with possible fix
thanks for the quick responses... I guess I was just going off the original post made by Zed upon the 1.0RC announcement, but reading it closer, it does mention 0.2.2, but I there wasn''t a line to *install* it, just remove it. As this was a completely new ruby install, I wasn''t removing an old mongrel installation. Zed''s solution of changing the gem version requirement should solve the problem for people installing from scratch. Thanks again. ---SNIP original announcement post --- WIN32 Install with: $ gem uninstall mongrel $ gem uninstall gem_plugin $ gem uninstall fastthread $ gem install fastthread --source=http://mongrel.rubyforge.org/releases $ gem install mongrel --source=http://mongrel.rubyforge.org/releases $ gem install mongrel_service --source=http://mongrel.rubyforge.org/releases If you have problems with fastthread then skip it, it''s optional on Win32. The win32 process is more involved because there hasn''t been a stable release of it for a while now. That''s why you have to remove everything you can and then re-install. *** Make sure that gem_plugin is version 0.2.2 or the whole thing dies. *** ---SNIP original announcement post ---
Reasonably Related Threads
- Win32 gems for mongrel (0.3.18) and mongrel_service (0.3.1)
- mongrel on linux error - custom_require.rb:27:in `gem_original_require'': no such file to load -- (LoadErro
- Problems getting mongrel service working
- offline/local install of mongrel_service
- Mongrel Service won''t start on windows