Displaying 20 results from an estimated 9000 matches similar to: "Can't stop webrick with ctrl-c or ctrl-d on linux host"
2006 Aug 14
6
Testing fails with fixtures not when invoked directly
I have three files organization.rb, company.rb, and department.rb. I want
to ensure the department always has a company
require File.dirname(__FILE__) + ''/../test_helper''
class OrganizationTest < Test::Unit::TestCase
fixtures :organizations
def setup
@smo = organizations(:smo)
end
def test_department_company_defaults_to_parent
org = Department.new(:name =>
2006 Jun 08
2
XML/SWF Charts howto
Hi all,
I have written-up a small blog entry on how to get the XML/SWF Chart
library to work with Ruby on Rails. Class and controller code is
provided. Perhaps somebody with a bit more time could create a plugin
out if it
Raf
2006 Jun 28
4
Problem with nvarchar in MS SQL Server 2000
Hello,
after putting ADO.rb into Directory
\ruby\lib\ruby\site_ruby\1.8\DBD\ADO\ I created a Rails-Application with
MS SQL Server 2000 as Database.
Everything works fine, but into the nvarchar-Field "notice" i can''t
store more than about 50 or 60 characters
MS SQL Server Query analyzer says, this field has a length of 510
characters.
What can i do to save up to the 510
2010 Oct 09
2
Rails 3 upgraded form validation issue
H All,
I have run into a very interesting issue. On one of my apps, after upgrading
from 2.3 to 3.0, the form validation started to escape html. Normally what
should happen when you submit a form and one of the fields fails validation
that field would get surrounded with a <div class="fieldWithErrors"> and so
on. That seems to be broken in my app and what I get is the correct html
2006 Aug 14
7
Ruby In Steel 0.75 now available
{{Version 0.75 of Ruby In Steel}} is now available for download. This
release includes significantly enhanced colour coding and collapsing for
both Ruby and Rails (RHTML) files and provides support for debugging
support for Ruby In Rails. Previous versions only provided debugging for
standard Ruby projects. The Ruby In Steel IDE is hosted within
Microsoft?s Visual Studio 2005 (Standard edition or
2006 Jun 24
32
Why is there no Smalltalk-like IDE for Ruby?
I posted this to comp.lang.ruby and comp.lang.smalltalk, and my blog.
I will likely get destroyed, but it will be worth it if at least one
nugget of information helps the Ruby IDE makers.
-----------------------------------------
Hi all --
I shout my question to the entire Ruby + Smalltalk community: Smalltalk
has had amazing IDEs for decades, why not Ruby? Smalltalkers, Ruby
needs your help!
2007 Mar 13
5
Question on application/database design for a application port to rails
Hi all
I am hoping that the experience and knowledge of this ''list'' will be
able to help me out with some design decisions I have to make while
porting a desktop app to rails.
Here is the scoop:
I am in the design process of porting a fairly large client/server app
to rails. Average data set is about 200 MB per database/server.
Altogether there are about 100 tables and about
2006 Apr 30
6
Help, Gruff is killing me
Hi all,
I hope somebody can help me out here, since the issue has been killing
me for the last three days. Here is the issue:
It seems that gruff kills rails/webrick whenever it''s used on win32. I
installed gruff per instructions and it seems to be working. The
sample controller generates a nice grpah with send_data and all. The
issue started once I try to use any other
2009 Dec 23
8
Where did this value in a form come from?
Newb here.
I have a form and a value that is being displayed ... and I have no idea
where the value came from.
I have done a
<%= debugger; '''' %>
in the form and, indeed, the debugger stops at the statement.
I have tried to trace through the code to see where the value came from
... and I gave up.
So ... what in Rails initializes the fields of a form?
--
Posted via
2010 Dec 07
10
Advice on data design idea
I''m about to embark on a project and am seeking advice on my approach.
I have an automotive site that needs to have shared categories. I''ve
checked out different nested set, ancestral, acts_as_tree, acyclic
plugins but feel they don''t exactly fit.
So I am about to roll my own simple solution. Any feedback as to
whether this looks good is appreciated.
Essentially I
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
2020 Jun 03
7
Help with ssh -A, screen, ssh -a, detach, logout
Hi,
I've noticed some ssh behaviour that I wish didn't
happen. I was wondering if someone can explain how I
can stop it from happening, or explain why it's
unavoidable.
If I ssh-with-agent-forwarding from one host to a
second host, and on the second host use something like
nohup/screen/tmux/daemon, and from within that new
process session, start a long-running command via
2020 Sep 30
4
How to use ssh -i with a key from ssh-agent rather than from a file?
On Wed, Sep 30, 2020 at 03:35:43PM +1000, Damien Miller <djm at mindrot.org> wrote:
> On Wed, 30 Sep 2020, raf wrote:
>
> > Hi,
> >
> > I have a VM with a git repository whose origin is on
> > github. I have several keys known to github, so I needed
> > to set git's core.sshcommand config parameter in the
> > repository to something like this:
2009 Aug 19
11
Rails demo not showing up.
Hi,
Can''t get the rails demo to run. I''ve started the webrick server. Here
is what the output looks like:
-----
[root@chat demo]# ruby script/server
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-18 21:29:41] INFO WEBrick 1.3.1
[2009-08-18 21:29:41] INFO ruby 1.8.5
2019 Oct 30
4
Seemingly impossible bug: -v not always listing every copied file
Thanks. I'll try that. But I agree that it'll be
something else. It's unlikely that whole trace files
are being overwritten, because there's locking in place
to prevent that sort of thing, but it's more likely
than anything else. I'll check that the locking is
working properly.
Although, when I last investigated it, it really did
look as though, in a single run of this
2020 Sep 30
4
How to use ssh -i with a key from ssh-agent rather than from a file?
Hi,
I have a VM with a git repository whose origin is on
github. I have several keys known to github, so I needed
to set git's core.sshcommand config parameter in the
repository to something like this:
ssh -i ~/.ssh/id_ed25519_github2
But it meant that I needed to copy that key to the VM.
The same key is available via my forwarded ssh-agent
connection. Is it possible to tell ssh to use
2011 Oct 31
2
Is it possible to install Gluster management console using manual install process?
Hi,
Is it possible to install Gluster management console using manual
install process?
I mean the management console when installing using the ISO image; by
doing the manual install from a base Centos server?
Thanks,
Xybrek
2019 Oct 30
4
Seemingly impossible bug: -v not always listing every copied file
Hi,
debian-9, rsync-3.1.2 (both ends)
I have a task that rsyncs files from a list of
candidate files (--files-from=). It's verbose (-v) and
its stdout is captured to a file which is then sent to
the receiving host. The captured verbose output is
examined on the receiving host to know which files were
actually copied so that notification emails can be sent
to various people.
The problem is
2020 Aug 03
2
Deprecation of scp protocol and improving sftp client
On Tue, 4 Aug 2020, raf wrote:
> In such cases, this vulnerability can be mitigated by
> the use of an ssh-specific command whitelisting control
> such as:
Probably just as easy: give the user a restricted shell
(/bin/rmksh) as shell and set their PATH etc. suitably,
to not include any other commands.
bye,
//mirabilos
PS: Full disclosure: I?m the mksh developer
--
?MyISAM tables
2013 May 16
3
vim-puppet syntax highlight
Hi
I am trying to install vim-puppet for syntax highlight of puppet manifest
file. I first installed vim-puppet and then vim. Then I ran
"vim-addon-manager -w install puppet" I am still unable to see the colours
on site.pp
bala@WheezyMaster:~$ vim-addon-manager
# Name User Status System Status
editexisting removed removed
justify