Displaying 20 results from an estimated 2000 matches similar to: "PLZ HELP - ROR on Redhat Linux :: Problem with backgroundrb"
2006 Oct 31
9
Dare Picker
Is there a good date picker that can be used with prototype &
scriptaculous library. I am looking for something outside ruby on
rails.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2008 Jul 05
2
Question on number of processes engendered by BDRb
I have two workers (ie two files in my RAILS_ROOT/lib/workers directory) on
my Rails app. When I run a top on my box, I see *three* processes called
packer_worker_r. Shouldn''t I just be having two? What is the third process
for?
Here is an extract of the output from my top command. The PIDs are 7084,
7085 and 7083.
============================================
PID USER PR NI VIRT
2008 Jan 29
1
Workers without rails environment
Hemant,
Thank you for your work on backgrounrb.
In the old version there was the option of creating workers that do
not load the rails framework. Since I was starting these processes as
needed I decided to make use of this so they would use less memory. Is
there a way to do this in the new version? This is not important to me
but just wanted to make sure I was not missing something.
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
I am getting a message when I update my system from rails 1.1.6 to
1.2.3 running rake.
[]# rake test --trace
(in /var/www/matrix.1.7.15)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Expected /var/www/matrix.1.7.15/config/../vendor/plugins/
2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model
test.
The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb
The error is :-
c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/
matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails
(NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-
rails-1.3.0/lib/spec/ra
2010 Aug 02
7
Persistent SSH sessions
Hi all
I have an ADSL modem which reboots when there is a power cut and the
inverter (UPS) kicks in. Internet access is down for a duration of 1
to 2 minutes while the modem boots.
I have many SSH tunnels and shells active. Due to the default
"TCPKeepAlive On" setting, these sessions are terminated almost
immediately.
I tried the following configuration:
sshd_config on server:
2009 Sep 29
10
rails 2.3.3 upgrade shows error
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
any ideas ?
Application works fine with rails 2.1.0
Sandip
--
Ruby on Rails Developer
http://funonrails.wordpress.com
www.joshsoftware.com
http://brandpotion.com (Latest project released)
--~--~---------~--~----~------------~-------~--~----~
2005 Jul 20
1
problem compiling with linux
Dear Jean-Marc Valin,
I tried what you said, to complile just libspeex, as there was
no "configure" file inside the folder "libspeex" I copied it from
parent directory (I guess I am not wrong doing that), ya it configures
well with the command
# ./configure --enable-blackfin-asm --enable-fixed-point --host=bfin-uclinux
but for the <make> command it is
2009 Jun 02
3
valdate_presnce_of email, :if => :validate_id + Factory girl
Hi
In the model I have User
attr_accessor :validate_email_id
validates_presence_of :email ,:if => :validate_email_id
Could anybody please tell me how can I define a Factory for the above?
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
2008 Jul 04
3
Linkt_to problems
I can''t explain where those differences come from.
In one Project I can use the link_to without any problems.
Like this:
<%= link_to "LINKNAME", :action => "destroy", :id => ID %>
But in another project... That happens
<%= link_to "delete", :action => "destroy", :id => ticket.id %>
<%= link_to "edit", :action
2005 Jul 19
2
problem compiling with linux
In place of rpm I used pre compiled binary for installing
the Cross Compiler and now I am not getting this error. But I am
gettimg error after <make> command. The error is:
speexenc.c:49:21: ogg/ogg.h: No such file or directory
speexenc.c:68: error: parse error before '*' token
speexenc.c: In function `oe_write_page':
speexenc.c:71: error: `page' undeclared (first use in
2015 Apr 02
1
Opus multi-stream/surround: Audio corruption on decoded content
Hello Everyone,
I am using the opus 1.1 multistream APIs to encode a 5.1 surround stream on the server, stream it to client, decode it and capture the pcm data. I noticed that there was severe corruption/attenuation on one of the channels(specifically Back/Rear Right). This would appear to be the last channel in the stream. I am attaching an image of the PCM dumps from the original and the one
2009 May 28
7
shorten a link
Suppose a user submits a url: http://www.nyt.com/education/2345545. How
can this be shortened to a cleaner url, like nyt.com?
--
Posted via http://www.ruby-forum.com/.
2009 Aug 08
4
how to get id of other table
Hi All,
I have a doubt regarding join tables
I''m having 2 models
1)Fac
2)Cont
and both models have " has and belong to many" relationships
so there are 3 tables
1)facs
2)conts
3)conts_facs
then i''m fetching the data in controller as
@conts=Cont.find(:all])
@cfacs=Fac.all(:joins=>:conts, :select=>"facs.name")
but i dont know how to get the
2008 Sep 09
6
Prioritizing Mailer Queue / Action Mailer
Hi,
I have different kinds of mails going out. For eg:
1. signup
2. notification mails
etc
I am using mailer queue to avoid mongrels waiting on email to be sent.
However, it makes sense to have signup mails go instantaneously whereas
other mails can go to mailer queue.
Has anyone done such thing? Any suggestions please?
Regards,
SG
--
Posted via http://www.ruby-forum.com/.
2003 Sep 04
3
IVR only system with scalibility with asterisk???
Hello all:
Thank you for taking the time to read this post.
Background:
I am a new user to IVR systems and asterisk. I have been tasked with helping to set up a system that will only handle IVR (eg no PBX functions) incomming calls for 45 or so people that will call in 3 or 4 time each day during (approx) normal business hours. We have started to look at the Ivrs perl module from
2006 Aug 17
1
Worker pool worker for page scanners: lost connection to mysql
Hello,
I want to scan many URLs simultaneously with a new scanner worker for
each URL, but I keep getting Mysql::Error: Lost connection to MySQL.
Yes, allow_concurrency=false.
Each scanner thread needs access to my ActiveRecord models to store
discovered feeds and whatnot. There is a DB table called page_scans
that acts as a big queue holding URLs waiting to be scanned.
It would be
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails.
Whenever I try to install the mysql gem, i get an error:
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I cd''d into my usr/local/bin directory and saw i have several
2007 Dec 28
1
validation of acts_as_list in the model of the base class?
Lets say I have 3 models, user, user_group and user_group_nodes. A
normal user has one user_group_id as a foreign key and a special user
has multiple user_groups which are defined in the user_group_nodes.
The user_group_nodes is a "acts_as_list" for user and contains a list
of group_ids.
When I build a form to get user input and I want to save it, is there
a way to validate the