search for: ruby1.8

Displaying 20 results from an estimated 181 matches for "ruby1.8".

2008 Oct 10
2
magical disappearing background processes!
Hi all, I''ve been having trouble for a long time with backgroundrb processes that suddenly vanish without a trace. What happens is that at some point I discover that all the backgroundrb processes are suddenly gone. Nothing special is seen in any of the log files. This has happened intermittently for a long time, and I was hoping that upgrading to 1.0.4 would somehow help me out, but
2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake tasks: $ rails destroy scaffold genotypes /usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from /usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2006 Apr 28
4
mongrel error on debian sarge
Hi, I cannot get mongrel working on i686 debian sarge, whereas it works quite well on another ppc box under debian unstable. Instead I can use scgi_rails or webbrick without any problem. Here is the error: # mongrel_rails start /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28: uninitialized constant Mongrel::HttpHandler (NameError) from
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby, Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 + Passenger + Rails to work for Redmine. (No answer at Redmine list and I don''t think its their problem anyway). Also couldn''t get Apache2.2 and just Rails to work, though some people said it would. Webrick works. Goal: run Redmine on a server that also runs PHP
2011 Jul 04
2
ruby and rails wont work even they're already installed
mongskie@mongskie-os:~$ gem /usr/bin/gem:4: undefined method `manage_gems'' for Gem:Module (NoMethodError) mongskie@mongskie-os:~$ rails /usr/lib/ruby/1.8/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'' from
2006 May 13
8
Which Linux flavor for a Rails server?
Hi folks, I''m a linux noob, and I''m trying to pick a distro for my rails server. I don''t want to start a flame-war about linux distros! I''m interested in the best distribution for these criteria: 1 - Simplicity of getting ruby and rails set-up (gem updates) 2 - Stability (it is a server, after all) 3 - Support resources (community, and as a fall-back, paid
2005 Nov 07
9
Using Gettext To Translate Your Rails Application
Hi, Has anyone has any success using the gettext translation methods mentioned in this wiki page? http://manuals.rubyonrails.com/read/chapter/105 I got up to running the localize script at which point it protests about not being able to find ''gettext/rgettext'' from the require line at the top of the script: script/localize:8:in `require'': no such file to load --
2012 Sep 07
5
puppet hangs
Hi I am a newbie to puppet and I am going through the documents at " http://docs.puppetlabs.com/learning/manifests.html" the exercise were working normally then suddenly puppet hangs when I tried to apply a manifest root@nscbose:/home/bala/puppet# puppet -V 2.7.11 root@nscbose:/home/bala/puppet# cat /etc/debian_version wheezy/sid root@nscbose:/home/bala/puppet# ps aux | grep -i puppet
2010 Oct 13
4
Puppet and Augeas
Hi. Is there any way to make puppet run a particular module first before another module is run. For example, I''m using the augeas resource type in one of the modules. But libaugeas-ruby1.8 is not installed in the client machine. So when the catalog is run, I get the following error: Could not find a default provider for augeas. So I built another module that will install the
2006 Oct 30
1
Testing
With the 0.2.0 code, unit testing of workers isn''t working out of the box. I created a bare rails project (dubbed "ninja") and generated one worker "FirstWorker" and did rake test rake test (in /home/joshua/tmp/20061030-bdbtest/ninja) /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2006 Jan 24
5
A little problem
Hi everyone, I''m Matteo, I''m Italian, so sorry for my bad English. I''ve just downloaded the "depot" examples, but I''ve an error: # script/server bash: script/server: /Users/dave/ruby1.8/bin/ruby: bad interpreter: No such file or directory matteod@bones:~/work/rails-code/depot8$ What''s wrong? Would you mind suggesting me how to fix this
2006 Aug 03
4
Mongrel processes
Whilst monitoring my host I noticed that there were three mongrel_rails processes running for a single (non mongrel_clustered) application. Is this normal? Do the processes share the memory top indicates they''re each using? Cheers, -- Dave Murphy (Schwuk) http://schwuk.com
2009 Jan 16
10
Puppet playing badly with Debian etch rubygems
To install the ruby-augeas gem, I installed rubygems on Debian etch, which lead to: Setting up libgems-ruby1.8 (0.9.0-5) ... Setting up ruby1.8-dev (1.8.5-4etch4) ... Setting up rubygems (0.9.0-5) ... Before this (I mean *immediately* before this) puppet worked fine exceept for not being able to find a provider for Augeas. After this, though: ec2-www1:/usr/src# puppetd -t Failed to load
2007 Oct 02
23
Mongrel using way more memory on production than staging. Any ideas why?
I''ve been trying to track down the culprit of erratic behaviour and crashes on my production server (which is split into a number of Xen instances), so set up a staging server so that I could really try to get to the bottom of it. The staging server (also split with Xen) is set up pretty much identically as far as the mongrel_cluster server is concerned (the production box has two
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
Hi all, please help me: First time I totally had to delete all ruby and Rails because of this problem. How to solve it well? The message is: *Could not find gem ''sqlite3-ruby (>= 0, runtime)'' in any of the gem sources.* *Try running `bundle install`* I have *Ubuntu* Linux. ruby -v = *1.9.2p0* gem -v = *1.3.7* rails -v = error message again, 2 hours ago it was "rails
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test... /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb" "test/unit/localization_test.rb" "test/unit/user_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader Started ........F....E Finished in 0.108794 seconds. 1)
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem install rails I got a successful installed notification. But when I tried to use rails command, it gave me command not found. After I installed gems. I had to create a symbolic link otherwise gem command wouldn''t work. Anyone know how to get rails to work? Thanks!!
2006 Jul 10
6
ubuntu & mongrel
I''m getting the following error. Which apt-get install <some missing package> do I need to run? looks like some build tools. Building native extensions. This could take a while... extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError) from extconf.rb:1 ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension.