First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Sinatra + mumboe-soap4r + ruby1.9.1 problem
Hi 2 all, i have following problem - simple ruby application with soap and sinatra require 'rubygems' require 'sinatra' gem 'mumboe-soap4r' require 'soap/rpc/driver' get '/' do 'just text' end When i'm trying to reach this page via browser i see "Internal Server Error undefined method `split' for n... 16 Jul 2010 04:28
help please with REXML
hello, I am trying to make a simple ruby script that can look at a set of xml files, and make a set of folders based on the content of the XML files. As it stands I can import the data with REXML, but when I run the script I get a set of errors(I posted below the code) talking about TypeError. Take a look belo... 16 Jul 2010 10:59
farming automation
are you looking for something like capistrano, func, or maybe mcollective to trigger processes across many nodes? http://www.capify.org https://fedorahosted.org/func http://code.google.com/p/mcollective -- Posted via http://www.ruby-forum.com/. ... 15 Jul 2010 23:04
Segmentation fault in interpreter doing simple MySQL
I am a relative ruby-newbie (hey that rhymes!) but I am a python expert so this error REALLY threw me. I am doing a VERY VERY simply SQL program that executes two queries in a row: require 'mysql' db = Mysql.connect('localhost','myname','mypswd','information_schema') q1 = db.query ("select * from table_co... 16 Jul 2010 06:37
Encode string in Ruby decode it in Javascript?
As the title describe. I need to pass some data from the server side to the browser. But I cant figure out how to encode it on the server en decode using Javascript. Any ideas? -- Posted via http://www.ruby-forum.com/. ... 16 Jul 2010 06:37
Triggering the debugger II
I'm still having trouble with the debugger and debugging Here's part of my source ... - - - - 1) #!/usr/bin/env ruby 2) require 'rubygems' 3) require 'ruby-debug' 4) Debugger.start 5) 6) debugger - - - - Here's my session - - - - f:\UltraDedup>ruby -rdebug UltraDedup.rb Debug.rb Emacs support av... 17 Jul 2010 17:24
Setting configuration until end of parent bash session
Intransition wrote: Any advice on how a ruby script can set a config info that's per parent process. Using an environment variable? In other words I want to be able to do something like: ... But if I close my terminal and/or open a new terminal then it will have it's own setting. Have foo set ... 16 Jul 2010 00:09
Ruby networking: Errno::ECONNREFUSED: Connection refused -connect(2) on Ubuntu 9.1
Thank you sooooo much Jesús for the crystal clear explanation! You were so on the mark and it saved me! All the best, Richard Jesús Gabriel y Galán wrote: You can connect using the IP but not localhost (or 127.0.0.1). If you want your server to bind to all network interfaces, you can use 0.0.0.0:... 15 Jul 2010 18:43
String#to_ptr w/ Ruby 1.9's DL library is undefined
I'm working on porting up an extension from Ruby 1.8 to Ruby 1.9 and there is a method on String that gets added when using the DL library named to_ptr in 1.8. In 1.9, because the DL library has changed somewhat, that method is now undefined. So, I was wondering if there is an alternative method or way around th... 16 Jul 2010 10:59
Triggernig the debugger
In Rails I can use the debugger statement to trigger the debugger. How can I do that in rdebug? Is there a way other than setting breakpoints manually when the program starts? ... 15 Jul 2010 16:30
First  |  Prev |  Next  |  Last
Pages: 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50