search for: ruby18

Displaying 20 results from an estimated 71 matches for "ruby18".

Did you mean: ruby1.8
2007 May 04
5
Problems with mongrel_cluster 1.0.1.1 on FreeBSD
I''m running FreeBSD 6.1 and installed the 1.0.1.1 mongrel_cluster prerelease. I had a problem with the mongrels not stopping, and it turns out it''s because ps is reporting my processes as just [ruby18] instead of someting more like "mongrel_rails start -d ......." Not sure why it''s doing that, but it is. Any ideas? For the time being I just changed line 165 of init.rb to read pid = ps_output =~ /mongrel_rails|ruby18/ ? pid : nil and that''s working fine. Pat
2008 Jul 26
4
Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)
Hi, I can''t install Mongrel on Ruby 1.8.6 (patchlevel 279), using Windows XP. My environment: C:\ruby18>gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32] - INSTALLATION DIRECTORY: c:/ruby18/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe - EXECUTABLE DIRECTORY: c:/ruby18/bin - RUBYGEMS PLATFORMS:...
2005 Dec 17
0
[rails|fcgi bug] Rails app not responding
Hello, I really can't say if it's rails or fastcgi related, but sometimes rails is not responding. See some output from ./script/process/reaper: ./script/process/reaper Restarting [22804] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22806] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22807] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22808] /usr/local/bin/ruby18 /usr/home/www/public/dispatch.fcgi Restarting [22809] /usr/local/bin/ru...
2007 Mar 04
6
Backgroundrb spiking CPU after first run on Mongrel cluster
...uses Ruby 1.8.5 and dev uses 1.8.4. Both are running Slave 1.2.0, Daemons 1.0.5, and Backroundrb 0.2.1. The behavior I''m seeing is this. When I first start Backgroundrb, this is what the process list looks like: cwarner 80608 0.0 1.6 57852 50480 ?? S 10:28PM 0:03.36/usr/local/bin/ruby18 /usr/local/bin/mon cwarner 80611 0.0 1.6 58768 51356 ?? S 10:28PM 0:03.59/usr/local/bin/ruby18 /usr/local/bin/mon cwarner 80614 0.0 1.6 57944 50628 ?? S 10:28PM 0:03.48/usr/local/bin/ruby18 /usr/local/bin/mon cwarner 80618 0.0 1.6 57384 50060 ?? S 10:28PM 0:03.26/usr/local/b...
2006 Mar 20
7
FreeBSD Performance Tip
...about 800 req/sec, and FreeBSD was maybe pushing 23 req/sec. Pathetic. I managed to tweak the thread model in Mongrel and get FreeBSD up to about 210 req/sec but still that wasn''t nearly good enough. Then I found the secret. FreeBSD has two versions of Ruby in the ports directory: lang/ruby18 and lang/ruby18-nopthreads. Using the nopthreads version of Ruby immediately gave me 740 req/sec without any changes to Mongrel. I have no idea what Ruby is doing in the pthreads version (or why in the hell a thread library based on select *also* uses pthreads), but this simple change completely...
2009 Feb 18
1
Linux ps reports mongrel as [ruby18]
...oduction one for staging. When executing ''ps'' from a linux shell, the production mongrels report as expected, however the staging processes are listed as [ruby 18]. The result seems to be that mongrel_rails cannot stop the staging processes because it doesn''t recognize [ruby18] as a mongrel process. I''ve read that this was a problem in older versions of mongrel and fixable by editing the init.rb file. The same posts seem to indicate that it is a problem with the kernel on my linux box. I can''t change the kernel on this box, so how can I get mongrel_r...
2007 Jan 09
1
ruby18.core purpose?
Hi all, Been using Rails for 5 months or so, one thing that is bugging me is why some of my applications end up having pretty large ruby18.core files (30+ megs) in the root of the rails directory? I''ve spent a good while looking for a reason but haven''t had any luck - could anyone enlighten me? I pre-apologise if I''m missing something really simple here but this has me stumped.. Running FreeBSD 6.1 with R...
2007 Dec 07
2
Server is not a class with mongrel
...I am trying to switch to mongrel from webrick to get rid of the . puppetmaster is FreeBSD 6.2 with ruby, puppet, and mongrel all from ports (latest as of this morning). I get "Server is not a class". --verbose, --debug do not spit out any useful info. puppet-0.22.4 ruby-1.8.6.111_1,1 ruby18-bdb46-0.6.2 ruby18-gems-0.9.4 rubygem-daemons-1.0.8 rubygem-fastthread-1.0 rubygem-gem_plugin-0.2.2 rubygem-mongrel-1.0.1_4 rubygem-rake-0.7.3 thanks -- Christopher McCrory "The guy that keeps the servers running" To the optimist, the glass is half full. To the pessimist, the glass...
2008 Mar 28
5
Upgrading from older version - how?
Hi there, We''ve been using previous version of bdrb (drb based one) for a while and it was running relatively OK. We recently attempted to upgrade to the new version to keep up / use supported version but we ended up reverting to the older version. Here are the things that moved us to revert : 1) With the workers we never manage to pass this error: '''' You have a nil
2006 Apr 14
1
rake test errors
.../usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/vendor/ tmail/facade.rb:486: warning: method redefined; discarding old create_reply /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/ action_web_service/protocol/xmlrpc_protocol.rb:6: warning: discarding old message /usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/ rake/rake_test_loader.rb" /usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/ rake/rake_test_loader.rb" /usr/bin/ruby18 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/ rake/rake_test_load...
2008 Mar 19
0
Process environment requires procfs(5)
...,command ... but I''ve been able to narrow it even further to just the "e" flag. When I run a `ps e` I get the error as well. Now, this is possibly a server setup issue. I believe it''s related to the fact that my ps output for each mongrel instance only says "[ruby18]" and not the much longer but expected output of ... /usr/local/bin/ruby18 /usr/local/bin/mongrel_rails start -d -e production ... I''m fully ready to call my hosting provider to find out if they can help but I''m wondering if anyone on the list has thoughts about this. M...
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi, I''m using Mini Magick and that attachment_fu plugin to resize images that the user uploads. Everything looks okay in my code, but I get a core dump every time an image is uploaded. The file successfully posts to the application, I can see that the original file gets copied into the folder correctly. It appears that it dumps immediately after that. I''m using Mongrel behind
2009 Feb 22
16
Strange error when running rails 2.3 on ruby 1.9.1 on FreeBSD
...points does "load ''rails''", which fails in this line: Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => ''app'') I didn''t manage to track it down further. I would appreciate any help. A bit about my configuration. I have both, ruby18 and ruby19 installed on my system, but I installed rails from gem19 (I haven''t been using ruby18 and I don''t even have gem for ruby18 installed, it''s only here because portupgrade needs it). These gems were installed from root account: fastthread-1.0.1.1 (patched version...
2012 Oct 01
10
Puppet 3.0 fails install on Solaris 10 w/ ruby 1.8.7
...error: # gem update puppet > > Updating installed gems > > Updating puppet > > Building native extensions. This could take a while... > > ERROR: Error installing puppet: > > ERROR: Failed to build gem native extension. > > >> /opt/csw/bin/ruby18 extconf.rb > > extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) > > from extconf.rb:1 > > >> >> Gem files will remain installed in >> /opt/csw/lib/ruby/gems/1.8/gems/json-1.7.5 for inspection. > > Results logged to >...
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins Then I did >rake simple_captcha:setup Gave error: rake aborted! no such file to load -- RMagick2.so SO I thought Rmagick has to be installed. So downloaded 2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip Unzipped the file Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe It installed the program in
2006 Apr 26
0
DB2 under Windows XP - "Missing DB2 Libraries or headers"
...lly go it to show me the windows command it was trying to execute: cl -nologo -Feconftest -IC:/Ruby & Rails/ruby-db2-0.4.4/ext/db2 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 "-I"C:/Program Files/IBM/SQLLIB"/include" -I. -I./.. -I./../missing -MD -Zi -O2b2xg- -G6 conftest.c msvcrt-ruby18-static.lib db2cli.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -libpath:""C:/Program Files/IBM/SQLLIB"/lib" -libpath:"c:/ruby/lib" -stack:0x2000000 After much playing around, I finally got a version that works: cl -nologo -Feconftest -I"C:/Ruby...
2009 May 18
0
FxRuby failing on Ruby 1.9.1 windows
...; >gem -v > 1.3.3 > > >gem list > > *** LOCAL GEMS *** > > fxruby (1.6.19) > rubygems-update (1.3.3) > > --- > My problem is: require ''fox16'' fails with a OS error message > complaining > "Can not start application because msvcrt-ruby18.dll is not found". > After closing the error window the console reads: > > >ruby test.rb > test.rb:2:in `require'': 126: A megadott modul nem talalhato(which > means module not found). - d:/Ruby/Vm/1.9.1-p0/lib/ruby/gems/1.9.1/ > gems/fxruby-1.6 > .19-x86...
2008 Mar 06
1
Unitialized constant ActionView::Helpers::TagHelper::Set
...gs'' require ''action_view/helpers/tag_helper'' class MetaTagsTest < Test::Unit::TestCase include MetaTagHelper include ActionView::Helpers::TagHelper . . . end and when I run rake in the root plugin directory I get the following error /usr/bin/ruby18 -Ilib:lib "/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb" "test/meta_tags_test.rb" /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/tag_helper.rb:11: uninitialized constant ActionView::Helpers::TagHelper::Set (NameError) from /...
2006 Aug 02
2
Mongrel crashes whenever an exception is raised
Hi all, I have a rails app running on mongrel on freebsd using mongrel 0.3.13.3 with ruby 1.8.4. Mongrel dies every time the application generates an exception. I have the same setup running on a linux box without any problems. Mongrel crashes with the following error: Bus error (core dumped) And the following message in /var/log/message kernel: pid 57638 (ruby), uid 0: exited on signal 10
2006 Feb 01
1
Bus error when running Hieraki
I have been trying to set up Hieraki 2.0.1 and I cannot seem to get it running. I am running on FreeBSD 5.4, Ruby 1.8.4, Apache 2.0.55, Mysql 4.1.16, ruby-mysql 2.7, mod_scgi 1.9, scgi_rails 4.3 and Rails 1.0. I can start up the wiki, get it to display the home page, and when I click on the signup link the signup form displays. When I fill in the signup form and click the signup button, the