similar to: rspec.opts

Displaying 20 results from an estimated 10000 matches similar to: "rspec.opts"

2007 Nov 25
15
Possible Problem with RSpec and
Sorry to be such a pest but I am trying to learn Ruby, Rails and RSpec all at one go and it is a bit overwhelming. I have previously completed the depot tutorial in the Agile Web Dev with rails book and now I am trying do do it again using RSpec. What I would like to know now is why I am getting a rake failure error at the end of every spec:models run. Is this the expected behaviour when a test
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5 Ruby 1.8.6 Rake 0.7.3 RSpec 1.0.8 PostgreSQL 8.2.5 I am experiencing a problem with the "rake spec spec" task on an initial trial of rspec. After creating the rails app I installed rspec and rspec_on_rails in the vendor\plugins subdirectory from svn. I then used ruby script\generate rspec_model product. I next manually created the database instances depot_development and
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some ruby code. Can someone tell me why the following works: <h1>Display Cart</h1> <p> Your cart currently holds <%= @items.size %> <%= @items.size == 1 ? "item" : "items" %>. </p> while this does not? <h1>Display Cart</h1> <p> Your cart currently
2006 Jan 27
4
testing for nil numeric value in find
In the agile/rails tutorial book the following construct is added to products.rb. def self.salable_items find( :all, :conditions => "date_available <= now()", :order => "date_available desc") end Now, I wish to extend :conditions => to exclude products that have a nil value for the price. I have tried different syntax
2010 Sep 13
7
Problem with SSHD update.
This morning I applied the 13 or so new updates to my servers. On one of them the ssh service and clients stopped working immediately after the update. I restarted the server in anticipation that there might be some instability introduced by updating on a system with active ssh connections. However, this has not cleared the problem. The packages in question are: openssh.i386
2005 Dec 01
5
Configuring X after instal on CentOS4
What is the name of the program that replaces Xconfigurator and XF86Setup for resetting video display values for X post-install? Regards, Jim -- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario
2013 Sep 16
3
easy BASH question
I am obviously missing something basic here but can someone explain to me what is wrong with the first statement, which returns nothing? $ history | grep ^su $ history | grep su 2997 su -l 3024 su -l 3050 su -l 3054 su -l Thanks, -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited
2007 Sep 07
7
rpm spec files for ruby
I am trying to package ruby-1.8.6 for CentOS-4.5 and I would like to take a look at the spec files used for ruby-1.8.1 that ships with CentOS. Is there any place that I can see these or could someone do me the kindness of sending them to me? I am also confused as to how one breaks out the component parts of a build into separate rpm packages. The source distribution from ruby-lang.org seemingly
2011 Dec 14
2
Shutdown KVM guest not working
I am in the middle of a rather confusing situation. At the moment I am unable to shutdown a KVM guest machine. Nor am I presently able to open a virt-manager session on the host. I am not exactly sure what has happened but the problem with the vm guest is that issuing a "virsh shutdown 1" from the root console has no effect. # virsh list Id Name State
2014 Dec 02
7
Help with at Bash script
I am attempting to get a script borrowed from DJB to work on my CentOS-6.6 box. Simplified it looks like this: tcpdump -l -n -e port 53 \ | awk '{if ($14 ~ /A.*?/) print $15}' \ | while read domain ; do echo $domain ; done ; The sticking point is the 'while read' construct. Run just as 'tcpdum | awk' I get this: english.stackexchange.com. www.urbandictionary.com.
2007 Dec 21
3
CentOS-5 Need Help With Serial Ports
I have been struggling with setting up two serial ports on an HP/Compaq D512S (Intel P4) under CentOS-5. I am not at all sure why these things were not auto-configured when I initially installed the CentOS system from CDs but they were not. I have found various resources on the web and from them uncovered the setserial utility. What I need from somebody is guidance on how to use this utility to
2020 Jul 08
2
How to delete an unwanted NS record
On Wed Jul 8 14:05:32 UTC 2020, L.P.H. van Belle wrote: > The original DNS, was that a Windows 2003 or lower server? > > Because this looks familiar. > (&(flatname=BROCKLEY)(objectclass=primaryDomain))' base: 'cn=Primary Domains': > No such object: dsdb_search... All the Samba service I am working with are test platforms and have never been part of or received data
2020 Jul 07
3
Can someone explain why host reports no SOA record for domain on DC?
[root at smb4-1 ~ (master)]# samba-tool dns query localhost brockley.harte-lyne.ca brockley.harte-lyne.ca ALL -U administrator Password for [BROCKLEY\administrator]: Name=, Records=4, Children=0 SOA: serial=3, refresh=900, retry=600, expire=86400, minttl=3600, ns=SMB4-1.brockley.harte-lyne.ca., email=hostmaster.brockley.harte-lyne.ca. (flags=600000f0, serial=110, ttl=3600) NS:
2012 Sep 04
6
Simple routing question
We use a dual homed CentOS-6.3 host for our Internet gateway router. Its internal nic (eth1) is configured such that the address 192.168.0.1 is one of its aliases. # cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none BROADCAST=192.168.255.255 DEVICE=eth1:192 IPADDR=192.168.0.1 IPV6INIT=no MTU="" NAME="LAN - Non-routable" NETMASK=255.255.0.0 NETWORK=192.168.0.0
2012 Aug 23
3
System will not boot - faulty fstab?
I believe that I made a boo boo recently when recovering some unused disk space. Without going into painfully embarrassing detail I need to delete an entry in fstab for a now non-existent logical volume. The system reports that the there is a bad superblock for said logical volume. Mainly I expect because there isn't one anymore. How do I edit fstab so as to remove the mount request? For
2015 Apr 02
2
SEmodule dependency hell.
On Wed, April 1, 2015 16:09, Andrew Holway wrote: > I used the command: semanage port -m -t http_port_t -p tcp 8000 > to relabel a port. perhaps you could try: > "semanage port -m -t unconfined_t -p tcp 8000" > Failing that; would it work to run your application in the httpd_t > domain? > I ended up having to create a custom policy to allow the other application to
2015 Mar 03
6
TLS, SRTP, Asterisk11 and Snom870s
CentOS-6.5 (FreePBX-2.6) Asterisk-11.14.2 (FreePBX) snom870-SIP 8.7.3.25.5 I am having a very difficult time attempting to get TLS and SRTP working with Asterisk and anything else. At the moment I am trying to get TLS functioning with our Snom870 desk-sets. And I am not having much luck. Since this is an extraordinarily (to me) Byzantine environemnt I am going to ask if any of you have gotten
2020 Jul 23
3
samba-tool domain backup offline stalls
On Thu, July 23, 2020 14:36, Jeremy Allison wrote: > The samba binary has an nbt server turned on > by default. It has a different functionality > set than nmbd. The jail is not running anything other than sshd and webmin, as the netstat results clearly show. The issue appears to me to be that samba-tool cannot bind to that port even though it is available. -- *** e-Mail is
2011 Mar 30
15
Should AR set default values obtained from the schema?
First, if my understanding of what is happening is in error then please forgive me. I am given to understand that when a new AR model object is initialized then AR obtains from the database, and I suppose caches for further use, those columns that have defaults assigned and the default value for each. Consequently, when the save method is called on said model instance then all of these columns
2014 Jul 21
4
[OT] Leveno HDD caddies
This is very off topic but, I have no idea where else to ask. We obtained some used Leveno CTO7483 desktop units for experimentation. I had intended to install CentOS-7 on one of them. As they arrived with a vendor upgraded Windows 7ProSP1 install without media I decided to pull the disk drive and install onto a spare drive that I installed. Those of you with any experience with this model