386665-411894

386480-389874 subjects 386884-387168

Installing ruby-serial port
386665 [quati10@gm i] Ive been trying to install the gem, ruby-serialport but having troubles

Re: java-inline 0.0.3, with Duby support
386667 [rogerpack200] Ok if anyone ever has interest in something like this let me know, I'll

404 not found only for Google&youtube
386672 [zeevho@gm il] Lately, when I try to go to the URLs:  www.google.com or to
386683 [b.candler@po] And what this has to do with ruby is...?

[ANN] alf 0.10.0 Released
386680 [blambeau@gm ] new

Ternary statement needing parenthesis..(?)
386686 [michelle@mi ] the below ternary statement? (A.) works fine but (B.) bombs out with a
+ 386687 [josh.cheek@g] It doesn't know that the colon is delimiting the ternary, it thinks it's
+ 386688 [cwprogram@li] puts thinks you're trying to start referencing symbol (ala :symbol) as =
  386707 [michelle@mi ] Great, thanks Josh. I get it now. And thanks Chris for the suggestion of

Ruby inheriting from a class in another file.
386689 [mcmillhj@gm ] I am writing a Ruby script which was supposed to be a small thing but
386719 [jeremy@bo p.] The problem is not the require statement.  If that had failed, you would

Converting .tiff -to-> .png?
386693 [michelle@mi ] file. I've thought of several options to doing this but as a newbie I'd
+ 386694 [cmdjackryan@] Actually, there's RMagick (and RMagick 2 for Ruby 1.9.x), which are
| 386698 [matma.rex@gm] For Windows, instaling ImageMagick + RMagick is fairly simple. Just
| 386704 [michelle@mi ] Thank-you Phillip and Bartosz.
| 386708 [matma.rex@gm] My link is to a precompiled binary version of the gem, built for 1.8.6
+ 386716 [jon.forums@g] Do the following blog contributions from our
+ 386968 [michelle@mi ] Thanks Jon, I followed the instructions on phosphor-escence.
| 386971 [pinter.kateg] unsubscribe
+ 411894 [lists@ru y- ] I have never tried to convert .tiff to .png before. I was using this

[ANN] hoe 2.12.0 Released
386699 [ryand-ruby@z] hoe version 2.12.0 has been released!

[ANN] ruby_parser 2.1.0 Released
386701 [ryand-ruby@z] ruby_parser version 2.1.0 has been released!

Bundler w/ "Enterprise" Linux
386702 [frank.camero] Problem
386748 [wayneeseguin] This made me smile :) That's a nifty way to 'fix' a bug :)

Run RubyFit 1.2 creating new class(file) Get error
386703 [hiepnguyen36] I am newcomer  and I am very impress with the way the Fitness functions,

Execute command in windows command prompt from ruby code
386705 [michelle@mi ] prompt. I would like to now call these two commands from my local ruby
386706 [sutniuq@gm .] * system("yourcommand")

How to refresh combobox when select a new file
386709 [dickyhide@gm] I want to refresh the combobox when I choose a new files.
386714 [jakekaiden@y] i would post this in the 'Gnome 2' section of the forum - that's the
386767 [dickyhide@gm] Thanks.

How to create binary data from Ruby
386710 [ibc@al ax ne] - field 1:  1 bit
386711 [shortcutter@] 1. Use Array#pack with 'B' or 'b'.
386712 [ibc@al ax ne] Thanks, using Array#pack is the way I've remembered (After reading your mail) :)

Error while installing the Cucumber
386717 [tandon.adity] Could you please help with this can anybody tell me why it is happening
386746 [luislavena@g] For the record, this has been answered and solved through RubyInstaller

Code refactoring: making my method prettier
386718 [michelle@mi ] am sure there must be a better way to achieve the same functionality.
386736 [shortcutter@] There is a whole lot of stuff missing (class Card for example) which

SQL statement w/ Ruby variables
386721 [jesmith2095@] I am trying to attach a small ruby program (see below) to an MS-Access
386722 [bbxx789_05ss] \223 ocatal = 147 decimal = 'o' with circumflex in extended ASCII
+ 386723 [jesmith2095@] Thanks for the quick response.
+ 386724 [matma.rex@gm] You started the string with a quote and ended it with an apostrophe.
  386728 [jesmith2095@] You are absolutely correct, I completely missed that.
  386731 [matma.rex@gm] "Connection" is uppercase and I think it shouldn't.
  + 386732 [jesmith2095@] How do I pass the value of the variable?
  + 386733 [echristopher] Also, the INSERT statement tries to insert five values, while "INTO

Re: How to send utf8 data to remote computer in ruby 1.9.2
386725 [bhavesh1_sha] Thanks for your inputs.
+ 386726 [axyd80@gm il] For me the situation with encoding in ruby 1.9 looks like a hairy bug
| 386745 [ibc@al ax ne] Ruby 1.9 encoding?
| 386747 [axyd80@gm il] encoding?
| + 386749 [matma.rex@gm] I think the reason why Ruby has all these encodings, instead of simply
| | 386751 [axyd80@gm il] I believe that's not the right way to solve problems of 1% by
| | 386752 [phrogz@me co] ...
| | 386753 [matma.rex@gm] I did some googling and turns out I was right. Here's an article I
| | 386789 [b.candler@po] Except that even ruby 1.9 cannot handle SHIFT-JIS (it's a stateful encoding)
| + 386754 [brabuhr@gm i] "Ruby multilingualization (M17N) of Ruby 1.9 uses the code set
|   386761 [axyd80@gm il] population, but likely a huge portion of Ruby users.
|   386766 [shevegen@li ] I did not make the original comment, however the Encoding situation in 1.9 is still the reason why I have not moved to 1.9.
|   386777 [matma.rex@gm] Sorry, Marc, but to me it sounds like you just assumed it won't work
+ 386729 [matma.rex@gm] Just for future reference: "ASCII-8BIT" encoding is the same as

SOAP result with an element named id
386727 [nico.claes@a] I got this from another message on this forum, but there was no reply to
386730 [matma.rex@gm] Wild guess: soapobject['id']? Or maybe soapobject[:id]?

ActiveRecord
386734 [marc.chanlia] I'm learning to use activerecord (not rails).
386735 [hassan.schro] I'd guess that your MySQL gem did *not* install successfully.

[ANN] hoe-seattlerb 1.2.6 Released
386737 [ryand-ruby@z] hoe-seattlerb version 1.2.6 has been released!

[ANN] Rails 2.3.14
386738 [aaron@te de ] Rails 2.3.14 has been released.  This release contains critical security fi=

[ANN] Rails 3.0.10
386739 [aaron@te de ] Rails 3.0.10 has been released.  This release contains critical security fi=

[ANN] Rails 3.1.0.rc6
386740 [aaron@te de ] Rails 3.1.0.rc6 has been released.  This release contains critical security=

Introducing Blirb--a tongue-in-cheek interactive quiz/game/tutorial
386741 [ian.asaff@gm] I've put together a simple little gem that functions as an interactive
+ 386742 [richard.conr] just tried it, and I like it. Works really well for very simple stuff.
| 386743 [neotamizhan@] I liked it a lot. This could be a great tool for newcomers.
+ 386744 [josh.cheek@g] ahead and fixed it and submitted a pull request.
+ 386866 [eregontp@gm ] Nice work!

[ANN] teleport 1.0.1
386750 [amd@gu ge co] I just released the Teleport gem - easy Ubuntu server setup via

Strangely slow float to int and int to float conversion
386755 [pejuko@gm il] I had feeling that ruby arrays are very slow after I'd run some simple
386756 [ryand-ruby@z] small ints are stored _in_ the VALUE pointer so there is no extra =
386758 [pejuko@gm il] True! When I disabled GC 30_000_000 cycles are on 8s instead of 400s.
386759 [matma.rex@gm] Hey, just so you know, with -O3 the entire multiplying part was
386760 [pejuko@gm il] actualy in c it process array with random numbers it include memory

[ANN] Papyrus 0.0.1 released
386757 [sutniuq@gm .] I'm pleased to announce the very first release of Papyrus, a RDoc plugin
386762 [josh.cheek@g] "sh: pdflatex: command not found
+ 386772 [flo@an er gr] plugin
| + 386778 [sutniuq@gm .] As I already stated, I can't be of much help on OS X, but for the record
| | 386781 [flo@an er gr] record
| + 386791 [josh.cheek@g] Thanks. I installed this, now it's failing with status of 1
|   386792 [sutniuq@gm .] Pass the --debug option to RDoc and post the output (but please not
|   386793 [josh.cheek@g] Which seems to be a font called Latin Modern. IDK how the LaTeX community
|   386794 [brabuhr@gm i] TeX Live and MacTeX
|   386831 [flo@an er gr] pages).
+ 386774 [sutniuq@gm .] I can't help with OS X-specific issues as I don't have one--I'm using

Flexible Ruby Gig
386763 [eitan@nu ul ] Want to write sinatra apps w/datamapper, rspec and haml?

Problem in reading txt file, by using CSV
386769 [gagannagpur@] I have switched my apps to Rails-3.0.2 & Ruby-1.9.2. I am reading .txt
+ 386770 [bbxx789_05ss] require 'csv'
+ 386771 [bbxx789_05ss] According to the CSV spec, double quotes are allowed around fields, so I
+ 386775 [matma.rex@gm] You're not setting the :col_sep option, so CSV assumes the separator

change into symlink directory - how?
386776 [aschaal@le r] how to I change into a symlink directory?
386809 [ryand-ruby@z] that's just a feature of bash (which I always turn off with `set -P`). =
386918 [aschaal@le r] Thanks for the answer.
+ 386919 [johnjohn.ted] #> mkdir foo
| 388040 [aschaal@le r] Thanks for the explanation, I understand the problem now.
| 388073 [shortcutter@] I am not sure: why do you ask then? :-)
+ 388074 [botpena@gm i] care to post your ruby script, pls.

bash: gem: command not found
386779 [nkatsikanis@] I have installed ruby with cygwin
+ 386780 [luislavena@g] When you "rvm install", what was the output?
+ 386782 [nkatsikanis@] $ rvm install ruby-1.9.2
| 386783 [jeremy@bo p.] After installing a ruby using rvm, you need to tell rvm to use it.
+ 386785 [nkatsikanis@] opps thx thought i done that, ok it works :)shame i dont get emails from
+ 386786 [nkatsikanis@] $ gem install sproutcore
  386787 [jeremy@bo p.] That's a typical Cygwin fork problem and has nothing to do with ruby.

[ANN] Green Shoes v1.0 released
386784 [ashbbb@gm il] Green Shoes v1.0 has been released!
386788 [serialhex@gm] YAY!!!!  shoooes rocks!!
386810 [mikaa123@gm ] Amazing work!

ffi-efl 0.0.8 released enlightenment
386790 [jeremy@as nk] I'm pleased to announce the eighth release of ffi-efl

How check if an email exist without send in Ruby? Use of email_veracity_checker
386795 [panthe@li er] I'm trying to create a ruby script that checks the real existence of

Searching in a directory
386796 [htwoo@we .d ] I want to search for an string in all .txt - files of an directory.
+ 386800 [code@ap th o] Can you provide some context/details, and perhaps some sample code for
+ 386801 [josh.cheek@g] $ find . -name '*.txt' | xargs grep 'your string here'
| 386803 [bbxx789_05ss] dir_path = '/path/to/dir'
+ 386802 [htwoo@we .d ] First of all thank you very much for help. I want to search in all .txt
| 386804 [code@ap th o] =20
| 386806 [bbxx789_05ss] It's irrelevant.
+ 386805 [bbxx789_05ss] Too nebulous.
+ 386807 [bbxx789_05ss] ...and what would that be?
+ 386808 [htwoo@we .d ] I trying to call a process in function_1. And function_2 means to to
+ 386811 [axyd80@gm il] require 'vfs'
+ 386854 [htwoo@we .d ] I still have problems and need your help!
| + 386857 [cwprogram@li] I'm not sure what different action you plan to take if there is a double =
| + 386860 [esperantoca@] if line =~ /(#{str})(?:.*\1)?/
| + 386861 [bbxx789_05ss] There are string(s?) you are searching for, and their are lines you are
+ 386862 [htwoo@we .d ] This search-routine is part of a bigger script and I've problems with
| + 386863 [cwprogram@li] dir_path =3D './test_files'
| | 386864 [htwoo@we .d ] Sorry, but there's still a problem with the code.
| | 386865 [cwprogram@li] it
| + 386867 [bbxx789_05ss] Your requirements change with every post, and there are hidden
+ 386875 [htwoo@we .d ] now it works and the method stands in the else-branch. There was a

Unexpected tSYMBEG
386797 [jrderome@gm ] I am new to Ruby on Rails and following the tutorial by Michael Hartl.
386799 [matma.rex@gm] This code doesn't give me a syntax error. Can you post the entire

TDD when you have xml,csv or any file format to read
386798 [mayank.kohal] Guys,
386874 [shortcutter@] I have written tests which verify that a configuration reader parses

Re: Green Shoes v1.0 released
386812 [jakekaiden@y] amen, brother...

Sticky bit via pure ruby
386813 [shevegen@li ] chmod -v a+wt /tmp
+ 386815 [klauer@gm il] Just a wild shot in the dark, but according to this (
+ 386816 [normalperson] ~/ruby-1.9.3/bin/ruby -rfileutils -e "FileUtils.chmod('a+wt', '/tmp')"
| 386817 [normalperson] I meant "did not" meaning it didn't understand "a+wt", not that it
+ 386849 [shevegen@li ] Oh yes, makes a lot of sense.

[ANN] minitest 2.5.0 Released
386814 [ryand-ruby@z] minitest version 2.5.0 has been released!

switch string to object
386818 [zuerrong@gm ] How to switch a string to an object?
+ 386819 [rubfor@re it] Why don't you think it's an object already?
| 386822 [zuerrong@gm ] sorry, it's really an object already.
+ 386820 [josh.cheek@g] Objects are just things that can be assigned to variables -- you can also
  386823 [zuerrong@gm ] puts "hello".to_object_variable
  386824 [josh.cheek@g] *itself* to a variable. Only the object that `hello` is pointing to (the
  386825 [zuerrong@gm ] So, no way to translate a string to a variable name? Thanks.
  + 386826 [justincollin] Not really any _good_ ways, at least not for local variables. You could
  + 386828 [matma.rex@gm] You can just use eval().
  | 386829 [zuerrong@gm ] Thanks for all the helps.
  + 386830 [josh.cheek@g] If you need this feature, there is probably a better way to do whatever it

Sorting Ruby hash by value and stored the result in hash.
386821 [sateesh.mca0] I have problem in storing the sorted hash result in hash again.
386827 [matma.rex@gm] Hashes are not sorted. (In 1.9.1, there's just the side effect of the
386835 [ralf.mueller] just an idea: After the sort_by, you could just take the ordered keys foryou "sorted" hash access.

New to Ruby testing
386832 [zelloxy@gm i] I just recently started coding in Ruby and began creating simple tests

Open file .exe
386833 [cometa199@gm] How i can open a exe file with ruby
386838 [cmdjackryan@] File.open("myfile.exe", "b")
386848 [matma.rex@gm] Do you want to open the file (as in, read its contents) or run it (execute)?

Execute Inline Ruby for OSX (system wide)
386834 [niznik.pawel] Hey there,
386836 [josh.cheek@g] I'm on Lion, nothing happened. For example, Right now, in Gmail, in my
386837 [niznik.pawel] Hey,
386839 [josh.cheek@g] Apparently I installed it incorrectly -.^ that's curious, not sure what

difference of two dates in rails
386840 [kapil_kumar_] How to get  only days or months when two dates are differentiated?
386847 [matma.rex@gm] I don't think I understand you, but let's try...

Thin/Nginx serving RoR app as PDF
386841 [karl@go en a] We have our RoR web app being served up by thin servers for load

crear executable aplication
386843 [cometa199@gm] How can I to create a executable file of a ruby program to go with it to
+ 386844 [cmdjackryan@] Phillip Gawlowski
| 386845 [matma.rex@gm] Because Google search actually gives all the less than perfect
+ 386846 [jeremy@bo p.] Assuming your target platform is Windows, I hear that ocra
  386859 [klauer@gm il] Is Ocra the recommended tool?  Not too long ago I was following vertiginous'
  386888 [luislavena@g] Nick,

Socket not sending correctly?
386850 [spectralcani] I am implementing the WebSocket specification since it doesn't appears
386873 [shortcutter@] Try socket.sync = true or even better use #flush.

Accidentally killing coreutils - an idea to use ruby?
386852 [shevegen@li ] Lately I managed to kill all binaries that typically belong to
+ 386858 [cwprogram@li] can
+ 386871 [shevegen@li ] I am not sure it has to be recommended. :)
+ 386872 [shortcutter@] I don't think you can realistically.  You'd probably have to hack some
+ 386882 [axyd80@gm il] calls instead ...
+ 386883 [normalperson] ruby -run -e help

Help testing Gem em-udns under Mac OSX 32/64 bits
386853 [ibc@al ax ne] library under MacOSX 32 and 64 bits, but I need testing as I'm not a
386855 [cwprogram@li] Building native extensions.  This could take a while...
386856 [ibc@al ax ne] Great :)

[ANN] unicorn 4.1.0 - Rack HTTP server for fast clients and Unix
386868 [normalperson] Unicorn is an HTTP server for Rack applications designed to only serve

Documentation Translations
386869 [cwprogram@li] I had someone approach me earlier about helping out with Spanish =
+ 386891 [jgabrielygal] translations of the Ruby documentation. With that in mind I'd like to get a
| 386895 [juandian@ca ] I would like to help translate ruby documentation to spanish too.
+ 386892 [jakekaiden@y] i'd also be happy to help with translation into spanish.  let's see if

[ANN] Rainbows! 4.3.0 + Zbatery 4.1.0 - Rack servers for slow clients
386870 [normalperson] Rainbows! is an HTTP server for sleepy Rack applications and slow

getting the results of another person in the same controller
386876 [kapil_kumar_] please tell me how to get the previous information of one user by the
+ 386878 [peter.hicks@] Sure - put it in a database.
+ 386887 [bbxx789_05ss] Every time the user clicks a link or button on your webpage, your

Installing 1.9.3 using rvm
386879 [sentinel1879] I am looking at two articles on installing 1.9.3.
+ 386880 [serialhex@gm] the command 'rvm update' updates rvm.  the command 'rvm upgrade' will
+ 386881 [josh.cheek@g] This is how I've always done it.
  386889 [sentinel1879] Thanks all. I got 1.9.3 installed. However, in some cases "rvm get"
threads.html
top