359114-398748

358897-403816 subjects 359296-378362

ruby 1.9.1, rubygems, rvm. trouble getting sqlite3 to work.
359114 [scottnj@gm i] i am trying to setup a slicehost server for rails development. i chose
+ 359116 [sophrinix@gm] make sure you don't have both sqlite3 and sqlite3-ruby.
| + 359115 [sophrinix@gm] Gems not modules.
| + 359120 [scottnj@gm i] i think my problem was having both sqlite3 and sqlite3-ruby installed
+ 359117 [luislavena@g] You put ???, what is supposed that means?

rvm and passenger trouble
359126 [scottnj@gm i] I am trying to get Passenger working with RVM.

Recommended way to install Rubygems
359130 [leslieviljoe] I am trying to install Ruby1.9.1 under Ubuntu 9.10 - with gems. I can
+ 359132 [robb@ad ge o] If you do choose to install via apt, here's the Ubuntu documentation on
+ 359175 [drbrain@se m] usually
  + 359176 [lucas@lu as ] (Please Cc me when replying, I don't follow ruby-talk@ closely enough to
  | 359183 [nick@ni k- r] Might I suggest that the package called "ruby" install the standard
  | + 359184 [8si.greg@gm ] I agree, Lucas, thank for maintaining the package. I understand you're
  | | 359188 [lucas@lu as ] Isn't that available if you apt-get install ruby rubygems libpgsql-ruby
  | + 359187 [lucas@lu as ] Which parts of ruby which are currently split out would you like to see
  |   + 359189 [ryand-ruby@z] see
  |   | 359190 [lucas@lu as ] See why I don't want to discuss this? ;-)
  |   | + 359196 [botpena@gm i] i am w Lucas here.
  |   | + 359417 [robert.dober] Strange, don't you like being insulted? (1)
  |   + 359200 [nick@ni k- r] Well, I don't know about emacs... I don't recall ever needing to install
  |   | + 359204 [lucas@lu as ] In Debian, we do not ship software without appropriately describing what
  |   | | + 359206 [halostatue@g] Your first sentence is incorrect; OpenSSL is both better known and
  |   | | | 359213 [lucas@lu as ] Note that your lawyer might disagree with you, whether he is a GNU
  |   | | | 359229 [halostatue@g] ts
  |   | | | 359280 [b.candler@po] If Debian are worried about infringement, then who do they think is
  |   | | | + 359281 [lucas@lu as ] You shouldn't assume that because someone is very friendly now, it will
  |   | | | | 359284 [b.candler@po] Ah, that's pretty recent, thanks for pointing it out. I look forward to
  |   | | | | 359314 [lucas@lu as ] ...
  |   | | | + 359287 [halostatue@g] It's subtly more complex than that. While IANAL, I suspect that Debian
  |   | | + 359208 [b.candler@po] <wikipedia>Citation Needed</wikipedia>
  |   | | | 359212 [lucas@lu as ] (which is the version of the BSD license that OpenSSL uses. If it was
  |   | | + 359210 [rick.denatal] Really, sometimes the requirements of keeping the packages in a distro
  |   | | | 359215 [lucas@lu as ] Note there are not many development communities that are proud of the
  |   | | | + 359217 [james@gr ys ] You have lost the high ground in the civility argument.
  |   | | | | 359219 [lucas@lu as ] Why? What do you disagree with?
  |   | | | | + 359220 [james@gr ys ] the
  |   | | | | | + 359221 [lucas@lu as ] - changing APIs is not considered a big problem in the ruby community
  |   | | | | | | 359225 [james@gr ys ] We don't do this because we prefer it that way.  Our language is in =
  |   | | | | | + 359386 [badlands_200] ...
  |   | | | | + 359222 [rick.denatal] I find the massive and rapid open source contributions to the overall
  |   | | | |   359223 [lucas@lu as ] That's very true. Note that, on the Debian side, we totally acknowledge
  |   | | | + 359230 [aldric@tr vo] Because Ruby is growing and moving quite fast at the moment. When it
  |   | | |   359233 [lucas@lu as ] I think that rubygems and emerge and actually quite similar, which
  |   | | |   + 359237 [leslieviljoe] Can I ask: how do Perl and Python deal with this? CPAN is included in the
  |   | | |   | 359242 [lucas@lu as ] CPAN only installs its own stuff when the user requests it. However,
  |   | | |   | + 359245 [leslieviljoe] Ok, I have created a few gems and I wouldn't mind trying to make my gems
  |   | | |   | + 359251 [wishdev@gm i] Good Afternoon,
  |   | | |   |   + 359253 [rick.denatal] ll
  |   | | |   |   + 359256 [lucas@lu as ] It's just extra work. Also, if I remember correctly, the dates in the
  |   | | |   |     359288 [aldric@tr vo] Well.. Gentoo also builds from source, so it tends to have all the
  |   | | |   + 359238 [aldric@tr vo] Apt-get does not really handle slotting in the way portage does, and I
  |   | | |   | 359241 [lucas@lu as ] You could create an external repository with unofficial (as in: not in
  |   | | |   + 359248 [8si.greg@gm ] Perhaps talking to the gemcutter people (http://rubygems.org/) to
  |   | | |   | 359250 [lucas@lu as ] Yes. I will do that when we have a discussion about that on the Debian
  |   | | |   + 359252 [rick.denatal] I assume you mean that "the user doesn't care whether it's perl or ruby."
  |   | | |     359254 [lucas@lu as ] Yes. I clearly sent too many mails on this list today, but people keep
  |   | | + 359228 [nick@ni k- r] It may be a minor problem on the individual level, but a minor problem
  |   | + 359207 [james@gr ys ] And=20
  |   |   359214 [lucas@lu as ] Apparently, the ruby core team is OK with the current situation, since
  |   |   + 359216 [james@gr ys ] changed
  |   |   | 359218 [lucas@lu as ] "Such a minor issue" was the split of many software packages into
  |   |   + 359231 [halostatue@g] Yes, it is. Let me be very clear in saying that the situation in the
  |   |   | 359338 [usenet-nospa] The issue is, historically, that the FSF has claimed that a program
  |   |   + 359246 [drbrain@se m] decision,
  |   |   | 359249 [lucas@lu as ] It was pointed out that libedit doesn't support multibyte encodings yet,
  |   |   + 359268 [dido.sevilla] "On many systems including the major Linux and BSD distributions, yes
  |   |     359274 [lucas@lu as ] "On other systems, the situation is less clear. Some GPL software
  |   + 359203 [b.candler@po] For me, the biggest surprise was discovering net/https.rb was missing
  + 359185 [8si.greg@gm ] That is exactly what I ended up doing on all the Ubuntu-based machines

NoMethodError
359131 [bianca.steph] Have a page where I must write a name and choose a option on a select...

array.each
359133 [philfo@gm il] I want to take an array of strings and convert each member to an integer.
+ 359134 [gwtmp01@ma .] => a = %w{1 2 3 4}
| + 359136 [philfo@gm il] that looks just about right
| + 359154 [yanguango@gm] simply
|   359155 [gwtmp01@ma .] simply?
+ 359135 [sven@ka go a] This is a multi-part message in MIME format.
+ 359152 [alex.decaria] The issue is one of scope of local variables.  x is a block parameter,

gecode/r troubles with constraints definition in a CSP
359140 [save83bg@gm ] i'm trying the Gecoder-with-gecode library, to solve some CSP problems.

Need to step through text in Variable
359142 [johnsheahan@] My script starts out by connecting to another machine via SSH and
359144 [jeanjulien.f] z.split(/\n/).each do |line|
359145 [johnsheahan@] thanks alot Jean-Julien....that works perfectly!
+ 359146 [achoi@my ay ] ...
+ 359156 [shortcutter@] Somehow my response to the newsgroup is delayed.  You do not need
  359163 [johnsheahan@] Better still!

rubygem
359147 [j_wu_76@ya o] After I installed ruby 1.9.1, I run gem -v, it prints out gem 1.3.1 even
359148 [jonathan@jm ] Yes, ruby 1.9.1 comes pre-packaged with gem 1.3.1.
359149 [achoi@my ay ] ...
359150 [achoi@my ay ] ...

Hash
359157 [rubyforum@ch] I have a hash, that stores values like this
359158 [jgabrielygal] If I understand you correctly, you have a hash whose keys are 2
359159 [rubyforum@ch] Thanks Jesus
359160 [rubyforum@ch] Very elegant.

Uninstalling the rubygems application
359161 [ruby651@le e] I have installed the rubygem application (version 1.3.6) on a Debian
359174 [drbrain@se m] system by downloading the rubygems tar.gz archive and running the =

gems and custom_require problem for ruby(1.9.2dev)/rubygems(1.3.6)  installed in $HOME
359162 [nlugovoi@gm ] I installed ruby 1.9.2dev (2010-03-17 trunk 26961) [i686-linux] in my
359166 [nlugovoi@gm ] irb(main):001:0> Gem::ConfigMap
359170 [nlugovoi@gm ] rb_const_set(rb_cObject, rb_intern_const("TMP_RUBY_PREFIX"),

compile ruby 1.9.1 with openssl
359164 [j_wu_76@ya o] I want to istall ruby 1.9.1-p378 with openssl support. Here is the
+ 359167 [ammarabuali@] $ cd ext/openssl
| 359168 [j_wu_76@ya o] I got
| 359172 [dave.walton@] I believe you have to install openssl on your box first.
| 359173 [dave.walton@] ./config --prefix=/usr/local --openssldir=/usr/local/openssl shared
+ 398748 [lists@ru y- ] I came across this same issue. Just to add.  If you're running Ubuntu,

Geocoder
359169 [shandybleu@y] I am trying to write a script that uses the rails-geocoder gem to grab
359309 [tempest319@y] I think that geocoder is for full addresses. For just cities, you could
359321 [tempest319@y] My last post wasn't actually relevant to ruby so here's a little snippet
359328 [josh.cheek@g] is based on Peter Song's solution. It also populates most of the 50 cities

Replace Text at Specific Positions Across Files
359171 [slotriof@gu ] I'm new to Ruby and after trying to look through a ton of classes and
359192 [shortcutter@] So your file has fixed width records?  This is important to know,
359198 [slotriof@gu ] Yes, the records are all fixed width.  The width of the file is based on
359224 [shortcutter@] That's good!  I hope you continue to enjoy your journey.
359244 [josh.cheek@g] This got me excited, my file manipulation isn't very good, so thought I'd
+ 359293 [slotriof@gu ] Thank you very much for writing up a sample of how I could begin making
| 359299 [shortcutter@] See also http://groups.google.de/group/comp.lang.ruby/msg/c53f394410a6cff0
| + 359303 [james@gr ys ] thought
| + 359305 [josh.cheek@g] That is fine, I appreciate what you did take the time to go through :)
|   + 359306 [josh.cheek@g] I just realized this is false, because I was using readline. Initially I was
|   + 359349 [shortcutter@] A comment that describes what the class is about.
+ 359339 [shortcutter@] I don't have the time to go completely through your code.  Few remarks

[ANN] net-ldap 0.1.0
359178 [halostatue@g] I have two things to announce today. The first is that net-ldap version
359180 [botpena@gm i] thanks for this.
359181 [drbrain@se m] version
+ 359182 [botpena@gm i] argh, that was dummie of me.
+ 359202 [halostatue@g] pdated to work with RDoc > 2.4.

Re: Debian vs Rubygems (Was: Recommended way to install Rubygems)
359179 [drbrain@se m] Unfortunately I end up having to handle most of the issues that Debian =
359186 [lucas@lu as ] Are you aware of the tone you use in this discussion? "issues that

Help Required
359191 [pankaj.bawan] I have page with 3 record.
359226 [sophrinix@gm] You couldn't be more vague if you tried but it sounds like you want to
359227 [sophrinix@gm] I don't mean to come off elitist or disparagingly but please read or

Thread pool issue
359193 [sriram.varah] I was just trying out the thread pool code form Ruby Cookbook.
359195 [shortcutter@] =85\n"

BTJunkie crawler
359194 [l17339@gm il] I'm building a crawler so I can download all the torrent files from

Ruby performing 2nd loop, before finishing 1st loop
359197 [pradeep_236@] if (row.abc1== 'pnc')
359199 [andrea@an re] Does action1 run on a different thread than the one the method was
359205 [pradeep_236@] Thanks for ur reply Andrea,
359209 [andrea@an re] Hei,

[ANN] net-ldap 0.1.1 Released
359201 [halostatue@g] Unfortunately, yesterday's release of net-ldap 0.1.0 had a critical

Re: net-ldap 0.1.1 Released
359211 [aldric@tr vo] This is great news (the new LDAP as well as the quick fix). I'm sure

web app authentication to active directory
359236 [nick@ni k- r] I have a Windows/IIS server which is running some plain-old-CGI Ruby web
359239 [richard.conr] Nick,
359240 [nick@ni k- r] Ruby moves so quickly that it's worth asking questions frequently, as
359243 [richard.conr] My main concern with this topic, is that I dont think I have ever seen this

Grouping elements of an array
359255 [steve@st di ] I have an array of records that contain timestamps at random intervals.
+ 359259 [josh.cheek@g] What about
| 359260 [steve@st di ] It would be [[A,B,C]].
+ 359261 [roger.braun@] 1 arr = [0,15,35,100,205,300]
| 359262 [shyouhei@ru ] You should really know about Enumerable#group_by.
| + 359264 [josh.cheek@g] Your results are correct only because of a happenstance of the data. Add 99
| + 359265 [roger.braun@] This does not solve the problem.
|   359267 [shyouhei@ru ] OK OK, but edge detection is also possible.
|   359277 [steve@st di ] Thank you all for your solutions.
+ 359263 [josh.cheek@g] Here is my solution, it's conceptually similar to Roger's, though differs in
+ 359279 [barksir@ho m] ...
| 359318 [steve@st di ] After reviewing the suggestions, here is my code. records is the result
+ 359324 [brabuhr@gm i] require 'pp'
+ 359343 [shortcutter@] Assuming records are ordered already - otherwise you need a sort in between.
+ 359348 [glennj@nc .c] a = [['a',0],['b',15],['c',35],['d',100],['e',205],['f',215],['g',300]]
| 359350 [shortcutter@] Yeah, but as far as I can see that's not a solution to the problem the
| 359351 [glennj@nc .c] Ah, I didn't read the words that closely -- I was looking at the input
+ 359384 [akr@fs j. rg] I think this kind of problems which slices consecutive elements in an array
  + 359400 [shyouhei@ru ] rray
  + 359404 [colinb2r@go ] Is a really elegant method possible for this sort of thing?
  | 359405 [akr@fs j. rg] We need two blocks.
  | 359407 [colinb2r@go ] I must admit that when I made my post I was having difficulty
  | 359408 [akr@fs j. rg] Oops.  You are right.
  + 359468 [glennj@nc .c] I guess that's why Enumerable#each_cons exists, to iterate over a

problem making an array of arrays (of arrays)
359257 [cecil.treadw] Hey, bit of a ruby noob here :)
+ 359266 [josh.cheek@g] Personally, I think I would opt for nested classes in this case, but if I
+ 359292 [shortcutter@] It's not a good idea to encode what is an index into the variable
+ 359346 [phrogz@ma .c] rb(main):001:0> a =3D Array.new(5){ Array.new(5) }

how to uninstall ruby?
359269 [martin@an le] Dear all,
+ 359276 [lw299792458@] just eat it ,lol
+ 359301 [shortcutter@] If you installed from source there is a file listing all installed
  359598 [loquaz@gm il] Where can i find this file?
  359615 [shortcutter@] It's called ".installed.list" and resides in the root directory of the

Migration
359270 [mailtorajuit] I have migrated with some tables in my application. After some days i
359272 [josh.cheek@g] Rails.
359282 [robert.dober] HTH
359291 [josh.cheek@g] They are, I was going to link to both, but the guides don't talk about

is there any way to fin 32 bit or 64 bit version?
359271 [martin@an le] Dear friends,
+ 359273 [jonathan@jm ] [i486-linux] indicates this is a 32-bit version.  A 64-bit version
| 359300 [b.candler@po] $ ruby -v
+ 359275 [djberg96@gm ] -1.size > 4 ? "64Bit" : "32Bit"
  359326 [phasis@gm il] That's not true for MS Windows.

Comapring Docs,XLS,PDF's
359278 [jazzezravi@g] I want to compare
359316 [gregory.t.br] Show the inspect output for both, or at least a subslice.

#instance_methods on a singleton class
359283 [fxn@ha hr f.] class C
359323 [fxn@ha hr f.] Just a remark here. That's what Flanagan & Matz says, but the draft of

Create charts using the plugin "Ruby processing"
359285 [periyasamy@r] Is this possible to create charts(Eg: Scatter chart) using the plugin
359295 [jonathan@jm ] It may or may not be possible, never tried, but it is definitely
359325 [periyasamy@r] Thanks for your reply. I will try with this gem.

Gateway slow
359286 [shortcutter@] apparently the direction news -> mailing is broken (or extremely
+ 359294 [james@gr ys ] Can you point me at the post you are referring to on the newsgroup side =
| 359298 [shortcutter@] o I can look it up and see what happened to it? =A0Thanks.
| 359302 [james@gr ys ] side so I can look it up and see what happened to it?  Thanks.
| 359355 [fred@la av .] /.../
| 359356 [fred@la av .] Much better !
| + 359371 [james@gr ys ] Testing a post from the Usenet side.
| + 359372 [james@gr ys ] Yep, it looks like we are back in business.  Thanks!
|   359373 [shortcutter@] Thanks from me as well!
+ 359345 [phrogz@ma .c] Here's a test posted to Google groups at 07:26 MST.
threads.html
top