Displaying 20 results from an estimated 60 matches similar to: "win32-security, 1.9.x, encoding issue?"
2009 Aug 07
7
Comments for Daniel Berger blog post
Hey Daniel,
I''m trying to leave you a comment on this article you wrote:
http://djberg96.livejournal.com/168403.html
But since you disabled OpenID and anonyous, I''m not fond to register
for another account just to reply your comments.
Quoting your post:
""
Unfortunately, I''ve slammed into the cold hard fact that FFI just
isn''t the grand solution
2009 Nov 12
1
[ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1
Bugs item #27425, was opened at 2009-11-11 21:15
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: win32-open3 doesn''t build with 1.9.1
Initial Comment:
Windows XP
VC++ 9
2008 Apr 18
1
win32-api segfault
It looks like win32-api, both 1.0.5 and the latest in CVS, are
segfaulting when I build with VC++ 8 or later. Both work fine with VC++
6, though.
Thinking it might be strncpy_s, I removed that, but it didn''t help. I
installed a fresh Ruby built with VC++ 8 as well, but that didn''t help
either.
Loaded suite C:/rubyvc8/lib/ruby/site_ruby/1.8/rake/rake_test_loader
Started
2010 Jan 23
10
Trouble creating mingw binary
Hi,
I''m trying to build a binary for win32-open with a mingw install but
I''m having trouble. I''ve installed MinGW 5.1.6 and I''ve got gcc, etc.
But, when I run "ruby extconf.rb; make" I get the following error:
C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb
checking for ruby/io.h... no
checking for rb_pid_t in
2008 May 11
4
Latest rb_win32_select patch
Hi Park,
I tried your latest patch and ran the sample code:
readPipe, writePipe = IO.pipe
t = Thread.new{
sleep 5
while true
sleep 0.1
puts "got #{readPipe.readline.length} bytes"
end
}
i = 1
while true
i += 1
sleep 1
puts "hello from main"
if i > 3
writePipe.puts "a"*2048
end
end
t.join
At the console I typed the
2007 May 04
1
Trying to get a good example for win32-mutex
Hi all,
I''ve been going through the various IPC modules for Win32Utils and
converting them to pure Ruby. I''m almost done with win32-mutex, but I
can''t get the example to work. I keep getting this error:
C:/Documents and
Settings/djberge/workspace/win32-mutex/examples/mutex_test.rb:41:
undefined method `+'' for nil:NilClass
(NoMethodError)
from
2008 Jan 18
5
Temporarily setting the output language for cmd.exe
Hi all,
One of the net-ping users reported that the Net::Ping::External library
was returning false positives on Vista. Basically, it does a ''ping -n1
host'' and checks for certain error strings.
The problem is that the error strings it checks for are in English. The
user in question is using a cmd.exe that''s entirely in Swedish (I think).
Is there any way I can
2007 Sep 28
3
[ win32utils-Bugs-14298 ] windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Bugs item #14298, was opened at 2007-09-28 10:23
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=14298&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Lars Olsson (lasso)
Assigned to: Nobody (None)
Summary: windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
Initial Comment:
2007 Nov 06
5
textarea fails on rows attribute
Hi,
Camping 1.5.180
Ruby 1.8.6
It looks like Camping is choking on the ''rows'' attribute for input tags:
input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3)
That will fail with:
Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all,
I created a "pure" branch on github that uses the code Heesob posted a while
back:
http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
However, I couldn''t make it work on my Vista laptop.
c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
start
VERSION: 0.8.0
2007 Sep 28
1
Help with win32/api, windows-api
Hi all,
I must have been testing windows-pr with an old version of windows-api,
because now when I run ''rake test'' for windows-pr I get this:
C:\Documents and Settings\djberge\workspace\windows-pr>rake test
C:0:Warning: require_gem is obsolete. Use gem instead.
(in C:/Documents and Settings/djberge/workspace/windows-pr)
C:/ruby/lib/ruby/site_ruby/1.8/windows/api.rb:288:
2010 Feb 18
4
Error installing some gems (Ruby 1.9.2)
Hi I am testing Ruby 1.9.2 and Rails 3.
Has anybody encountered this error:
web katz$ gem install rspec-rails
**************************************************
Thank you for installing rspec-rails-1.3.2
If you are upgrading, do this in each of your rails apps
that you want to upgrade:
$ ruby script/generate rspec
Please be sure to read History.rdoc and Upgrade.rdoc
for useful
2006 Feb 28
1
Can I let routes.rb take precedence over file names?
I''d like Rails to intercept the url''s of html pages in a certain
directory so I can embed them in my site. I put them in public/pages and
tried to catch them with a route like
map.connect ''pages/:pagename''
However this only works if the file does not exist; e.g.
"pages/test.html" will only be routed if that file doesn''t exist,
2010 May 28
4
unicorn failing to start
Hi,
i''m trying to start up unicorn_rails with a rails 3 beta3 project. All I
can get out of it is this:
I, [2010-05-28T08:54:45.770957 #17852] INFO -- : reaped
#<Process::Status: pid 17854 exit 1> worker=0
I, [2010-05-28T08:54:45.771200 #17852] INFO -- : worker=0 spawning...
I, [2010-05-28T08:54:45.774049 #17858] INFO -- : worker=0 spawned pid=17858
I,
2011 Jun 17
0
gem error?
ruby 1.9.2dev (2010-07-02 revision 28524) [x86_64-darwin10.5.0]
rails 3.0.1
No matter what gem command I give I am getting this response. What does this mean and how to fix?
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:86:in `<top (required)>'': undefined method `load_plugins'' for Gem:Module (NoMethodError)
from /usr/local/bin/gem:9:in `require''
2007 Sep 28
0
Wine release 0.9.46
This is release 0.9.46 of Wine, a free implementation of Windows on Unix.
What's new in this release:
- A variety of fixes to improve Photoshop CS2 support.
- More complete support for device installation in setupapi.
- New Bidi text implementation that doesn't depend on libicu.
- The usual assortment of Direct3D improvements.
- Beginning of I/O completion ports support.
-
2004 Jan 22
1
Latest win32-service error
I''m getting an error when I run the test2.rb script. I get this error:
C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb install
installed
C:\eclipse\workspace\win32-service-0.3.0\test>ruby test2.rb start
(Win32ServiceError)t'': Overlapped I/O operation is in progress.
from test2.rb:42
Any ideas?
Also, it looks like the output from ErrorDescription()
2009 Nov 03
12
Mysql::Error: query: not connected
Hi there!
I am PHP developer and trying to learn ROR. Currently I am building my
first Rails website (OS X Snow Leopard, TextMate) and decided to
switch from sqlite to mysql. After many-many hours of searching the
internet I managed to install mysql gem. Now I get this error when I
try to run rake migrations:
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
2008 May 20
10
Asynchronous Pipe::Server problems
Hi all,
I''ve been working on the win32-pipe library (again) and I''ve reworked
the interface. Instead of Pipe.new_server or Pipe.new_client, there''s
now a base Pipe class, with Pipe::Server and Pipe::Client subclasses.
You can find the latest code in the CVS repo.
Oh, and you''ll need to update your windows-pr library with the latest
from CVS if you want to
2008 Jul 08
12
Some more win32-security: SID.create
Hi all,
How does this look as a general approach to a SID.create method:
# Creates and initializes
def self.create(authority, *sub_authorities)
if sub_authorities.length > 8
raise ArgumentError, ''maximum of 8 subauthorities allowed''
end
authorities = Array.new(8, 0)
authorities.replace(sub_authorities)
count = authorities.select{ |e| e > 0 }.size