Displaying 20 results from an estimated 2000 matches similar to: "Rspec include paths"
2012 Mar 08
2
'virsh list' issue
Dear all:
Afer run the command 'qemu-kvm -hda /root/free.img -m 512 -usbdevice
tablet -vga qxl -spice port=5930,disable-ticketing' , and the VM starts
natrually. Then I run the command 'virsh list' , it shows as follows:
[root at localhost ~]# virsh list
Id Name State
----------------------------------
[root at localhost ~]#
there is no VM
2019 Apr 20
3
stats-writer error is back
Afer a reboot (and installation of postfix-3.4.5) I am getting the stat-writer permission denied error again.
from doveconf -n
service stats {
unix_listener stats-reader {
user = dovecot
}
unix_listener stats-writer {
user = dovecot
}
}
# ls -ls /var/run/dovecot/stats-writer
0 srw-rw---- 1 dovecot dovecot 0 Apr 20 04:34 /var/run/dovecot/stats-writer
Apr 20 04:45:00 mail
2012 Jun 07
3
Couldn't reload a module when it's changed. Tried :require_dependency, :watchable_dirs, :unloadable
I''m completely messed with module reloading in development mode. I have
to restart app server each time I edit lib/z/nginx.rb which is included
in app/models/user_case.rb
app/models/user_case.rb
require_dependency ''z/nginx''
class UserCase < ActiveRecord::Base
include Z::Nginx
unloadable
I added to environment.rb
2008 Nov 20
4
Guild Wars on Acer Aspire One
Hi, i have an acer aspire one that have linpus (an lite version of fedora), so i want to play Guild Wars on that. Afer working, with wine-door, playonlinux i can install the game and i can run it, but after download the upgrade the game and before starting the log-in the game stops to work and it retur to the desktop with an other resolution of the screen... I can't understood why i can't
2015 Oct 19
1
snmpd exec issue
Hello guys , I was trying to get a command output from my Centos 6
server using the snmpd "exec" section.
The line added to snmpd.conf id:
exec get_whitelist /bin/cat /home/snmp_user/whitelist.txt
Afer trying to get the resut performing the snmpwalk client form another
server I always got "permission denied"
After reading some forums I founded that disabling selinux It
2009 Mar 28
1
Common "sasl master" [Was: sendmail with dovecot sasl]
Hi,
so sendmail can use only cyrus-sasl ?
ok, thank you
>Mario Pavlov wrote:
>> I was wondering if I can make sendmail use dovecot's SASL
>> implementation...maybe I should somehow compile it against dovecot's
>> SASL ? My idea is to make sendmail and dovecot authenticate against
>> one central user/password repository. Is this possible ?
>>
2011 Feb 04
6
A plugin inside an engine
In Rails 3, is it possible to have a plugin inside an engine?
Adding the lib dir of the plugin to autoload_paths doesn''t seem to
work.
I can manage to load it by adding that path to $: and requiring the
init.rb file, but I''m not sure that''s the correct approach.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Dec 14
2
Console latency
Another bizarry: If I run the Echo application from the console, I can hear
a very long delay (upward to 1,000 ms). I can run the same application from
a GrandStream phone (on the same LAN) and hear little delay. What could
possibly be wrong? If it were interrupt overload, I'd hear lots of cracks
in my echo, right? I'm not hearing that. Besides, a telephony card is not
involved.
2013 Feb 22
5
Bug#701213: Hvm domU doesn't boot after dom0 reboot under Debian Wheezy
Package: xen-hypervisor-4.1-amd64
Version: 4.1.4-2
Hi,
Hvm domU does not starts up afer dom0 reboot.
Bridge br0 is set up manually.
Dom0: Debian Wheezy 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
DomU: Debian Squeeze 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC
2012 x86_64 GNU/Linux
config:
===<========
kernel = '/usr/lib/xen-4.1/boot/hvmloader'
builder = 'hvm'
2010 Feb 04
5
WoW WOTLK => Patch 3.3.2 kills my fps....
After upgrading to a Club 3D Radeon 5770 overclocked edition i was finally able to get some good fps out of wow... 90 => 110 FPS in Stanglethorn Vale with all the graphics option to their lowest setting possible.
However last night the game installed patch 3.3.0 => 3.3.2....
Afer doing that upgrade the game actually runs at about 60 FPS now if i am lucky....
Mostly when i walk around the
2003 Dec 31
2
after hours - is this logic ok ?
Ok, first off, Asterisk is the coolest piece of software I have EVER had
the pleasure of using in my 8 years of running linux !! and I know I
haven't even scratched the surface feature wise.
Before I get too excited, I wanted to get all you experts to look at the
how I implemented my after hours test. The goal is to prevent the phone
from ringing afer certain hours, just go to VM.
2006 Aug 10
6
Migrations suddenly broken: undefined method autoload_paths
I really need some help here because I am at a loss. I have been using
migrations just fine now for a while and I suddenly started getting a
very bizarre error when migrations are run:
undefined method `autoload_paths='' for Dependencies:Module
I have tried rolling back my application code, and rolling back the
rails edge revision I am running but neither seem to help.
I have
2012 Jul 12
1
engines: accessing classes from the hosting-apps lib
I have an engine and can access model-classes of the hosting app without
any troubles.
But when I try to access classes that are defined in the lib-directory of
the hosting app, they are not found and I get a
uninitialized constant Redmine
where Redmine is a module defined in the lib-directory of the hosting app.
The lib-directory has added this dir to the autoload_paths, but the engine
2011 May 14
1
RSpec stub question
Hi
I am using Mongoid. In Mongoid while saving a record we typically give
like in the controller
@post.safely.save
For a model class Post
I am writing rspecs for my controller and want to mock the model. So
what I am doing is
let(:post) { mock_model(Post).as_null_object }
before(:each) do
Post.stub(:new).and_return(post)
end
it "creates new post"
2010 Jul 27
4
Ruby on Rails 3 RC and files in "lib" directory
In Rails 3b4 my ruby files in the lib directory of my application were
automaticaly loaded/required.
In Rails 3rc1, there are not anymore. Is this normal?
Where is the commit that changed this?
What is the best prefered way to load the files in "lib"?
Thanks for your answers.
Nicolas.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed
2007 May 31
1
plotting variable sections of hourly time series data using plot.zoo
Dear list,
I have to look examine hourly time - series and would like to plot variable
section of them using plot.zoo.
Hourly time series data which looks like this:
YYYY MM DD HH P-uk P-kor P-SME EPOT EREA RO R1
R2 RGES S-SNO SI SSM SUZ SLZ
2003 1 1 1 0.385 0.456 0.021 0.000 0.000 0.000 0.013
0.223 0.235 0.01 0.38
2006 Jan 30
1
Varying results of sammon(), for the same data set
Hello,
I have a data set on which I run the sammon algorithm as follows:
library(MASS)
data = read.table('problemforr.dat')
y = cmdscale(data, add=TRUE)
s = sammon(data, y$points)
(In case it should be relevant, I make the data available at
http://idi.ntnu.no/~edsberg/problemforr.dat)
With R 2.2.1 on Debian Sid I always get one of two solutions (stress
1.74288 after 10 iterations or
2015 Aug 04
2
Samba share server loses groups information every week, it is authenticated to a Samba4 AD DC
Hi allVersion 3.5.6
I have a samba file share server , running on ubuntu 10. Samba version is
3.5.6.
Originally this server was using a PDC server based on samba 3, and all was
ok. now the PDC server has been upgraded via samba-tool to version 4.2.2 .
The system itself works generally fine (afer a good amount of tuning and
configuration), however I am now incurring in a peculiar issue:
every
2012 Apr 07
3
Is require_dependency supposed to be a public API?
If so, shouldn''t it be documented in the Rails API?
Or is there a better way to allow class reloading of my files under lib.
I mean, I know about config.autoload_paths, but I want to be explicit
about my requires. I just want to be able to reload then on each request
when I''m working on them.
require_dependency seems to do just that but I''m worried since it is not
2018 Mar 22
8
[PATCH 00/23] drm: Eliminate plane->fb/crtc usage for atomic drivers
From: Ville Syrj?l? <ville.syrjala at linux.intel.com>
I really just wanted to fix i915 to re-enable its planes afer load
detection (a two line patch). This is what I actually ended up with
after I ran into a framebuffer refcount leak with said two line patch.
I've tested this on a few i915 boxes and so far it's looking
good. Everything else is just compile tested.
Entire series