Displaying 20 results from an estimated 2000 matches similar to: "[Rails 2.3.10] uninitialized constant ActionController::AbstractResponse"
2012 Feb 09
1
Autorun Picks Up Options
Hi,
I was trying to use the autorun feature of rspec but noticed that when I
run the command to kick off the ruby scripts it picks up the options that I
give to the command.
''myRubyBin -j optionValue''
This then fails with this error,
/usr/lib/ruby/1.8/optparse.rb:1448:in `complete''
:
invalid option: -j
(
OptionParser::InvalidOption
)
from
2007 Nov 19
1
Capistrano in InstaRails bombs?
Following the book, I try:
cap --apply-to C:\CapPlanner\trunk\Source capplanner
And get in reply:
C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1443:in `complete'':
invalid option: --apply-to (OptionParser::InvalidOption)
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`catch''
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`complete''
2007 Mar 01
4
RC1, Rails, and problems with multiple options in spec.opts
I am having inconsistent output with multiple options in the
spec.opts file. I can, for instance, pass --color or --colour, or,
separately, use --drb. But when combining them I get:
/opt/local/lib/ruby/1.8/optparse.rb:1381:in `complete'': invalid
option: --options --color --drb (OptionParser::InvalidOption)
from /opt/local/lib/ruby/1.8/optparse.rb:1379:in `catch''
2008 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed?
I wanted to run the tests on the gem and tried:
$ jruby -S gem list RedCloth
*** LOCAL GEMS ***
RedCloth (4.1.1)
$ jruby --version
jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java]
[jruby.git (master)]$ jruby -S gem check -test RedCloth
ERROR: While executing gem ... (OptionParser::InvalidOption)
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
On Thu, 6 Jun 2024 10:49:23 +0300
Omnis ludis - games via samba <samba at lists.samba.org> wrote:
> I added a private directory, but this did not fix the problem, and
> for some reason the other path still appears
> testparm -v | grep private
> Load smb config files from /opt/samba/etc/smb.conf
> Loaded services file OK.
> Weak crypto is allowed by GnuTLS (e.g. NTLM as a
2006 Mar 20
1
I need some help with OptionsParser
Hey all,
I must be doing something wrong here. Im calling the following file this way:
ruby script.rb -s 1234
or
ruby script.rb -s1111
#Code snip
require ''optparse''
opts = OptionParser.new
opts.on("-s", "--size VAL", Integer) do |val|
puts "-s #{val}"
puts val
end
But..no matter what I do, I don''t get any values out. I must be doing
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
here's the nuance, I just had to put this script in the samba folder,
because after assembly I do not find it in the samba folders, although this
script is in the source code, maybe I forgot to specify some keys before
assembly, but I would like to understand how in this in the script, just
hardcode the paths to the directories
my path
2007 Sep 16
4
"Not Implemented" doesn''t show
I''m going through Peepcode''s Rspec Basics for an overview.
He''s just doing a simple spec:
class PeepCode
end
describe PeepCode do
it "should be awsome" do
end
end
So running spec spec/simple_spec.rb should produce according to his screen
cast:
1 example, 0 failures, 1 not implemented
but I only recieve:
1 example, 0 failures
Also spec
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
I added a private directory, but this did not fix the problem, and for some
reason the other path still appears
testparm -v | grep private
Load smb config files from /opt/samba/etc/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_ACTIVE_DIRECTORY_DC
Press enter to see a dump of your service definitions
private
2024 Jun 06
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
Thanks for the help, it turned out to fix the script for changing the
password a little and the password was successfully changed, I recreated
the keytab and the error went away, it's very fine thanks again to everyone
for the help
??, 6 ???. 2024??. ? 11:29, Omnis ludis - games <sergey.gortinsc17 at gmail.com
>:
>
> here's the nuance, I just had to put this script in the
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
This sets up ovirt-agent to start as a daemon along with dbomatic,
taskomatic etc. While this is not ready for prime time I think it
should be ok as you still require a valid, authenticated, connection
to qpidd to access it.
Signed-off-by: Ian Main <imain at redhat.com>
---
installer/modules/ovirt/manifests/ovirt.pp | 6 +++
ovirt-server.spec.in | 5 ++
2006 Mar 08
0
script/console custom prompt
Hi,
I''m not able to use a custom prompt with script/console. I can''t seem to
change the prompt once I''m inside irb. I can only change by passing in
the --prompt arg to irb. However, it seems script/console has the simple
prompt hardcoded in the script. I hacked the script a little and it
seems to work, but I''m sure there is a more elegant way to do it.
2006 Jan 24
18
Can''t install rails, instructions in the book are wrong....
I can''t even get Rails installed in Windows XP.
I follow the directions in "Agile Web Development With Rails", I
download Ruby, then RubyGems, and I install those, and I then type the
command that came right out of the book.
C:\ruby>gem install rails --include-dependencies
and it doesn''t even work:
C:\ruby>"C:\ruby\bin\ruby.exe"
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
I want to work with both Rails 2 and Rails 3 projects.
I have RVM installed.
When I upgraded to Rails 3, Installed RVM via terminal:
bash < <( curl http://rvm.beginrescueend.com/releases/ … ll-latest)
version=$(curl http://rvm.beginrescueend.com/releases/ … sion.txt);
mkdir -p ~/.rvm/src/ && cd ~/.rvm/src/ && curl -O
http://rvm.beginrescueend.com/releases/ … on}.tar.gz |
2011 May 13
4
unexpected results when extending methods to class Class and class Object
Hey all,
There''s a core Class class and core Object class in Ruby library:
http://www.ruby-doc.org/core/classes/Object.html
http://www.ruby-doc.org/core/classes/Class.html
First, let''s resolve the simple distinction between an Object and Class
as envisioned by Smalltalk but within the Ruby context:
#A class is a template used to define methods and properties
class Hello
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
This patch adds simple python to display vhost satistics of vhost, the codes
were based on kvm_stat script from qemu. As work function has been recored,
filters could be used to distinguish which kinds of work are being executed or
queued:
vhost statistics
vhost_virtio_update_used_idx 1215215 0
vhost_virtio_get_vq_desc 1215215 0
2009 Sep 14
2
[PATCH node-image] add livecd-iso-to-iscsi script to support iscsi root booting setup
This enables the ability to take the ovirt-node-image iso and deploy it to an iscsi disk. It also provides a sample pxe configuration for booting based on the iscsi root device. Includes support for user/password as well as reverse chap user/password.
---
Makefile.am | 1 +
livecd-iso-to-iscsi | 201 ++++++++++++++++++++++++++++++++++++++++++++++
ovirt-node-image.spec.in |
2020 Feb 19
0
Re: Poor write performance with golang binding
On Wed, Feb 19, 2020 at 03:00:11PM +0100, Csaba Henk wrote:
> Hi,
>
> I scribbled a simple guestfs based program called guestfs-xfer with
> following synopsis:
>
> Usage: guest-xfer [options] [op] [diskimage]
>
> op = [ls|cat|write]
>
> options:
> -d, --guestdevice DEV guest device
> --blocksize BS blocksize [default:
2020 Feb 19
2
Poor write performance with golang binding
Hi,
I scribbled a simple guestfs based program called guestfs-xfer with
following synopsis:
Usage: guest-xfer [options] [op] [diskimage]
op = [ls|cat|write]
options:
-d, --guestdevice DEV guest device
--blocksize BS blocksize [default: 1048576]
-o, --offset OFF offset [default: 0]
So eg. `cat /dev/urandom | guest-xfer -d /dev/sda
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got
revision 2997, but the blasted thing just won''t run.
It is checked out to my /Users/zdennis/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle
When it runs I get the below error...
"textmate" is not a valid class name