<r0bgleeson>
westoque: can you isolate the problem? try to take the HTTP code out of the test and run it standalone. i mean, it has to be an error of configuration.
<r0bgleeson>
westoque: you must be hitting the wrong port.
hiroyuki has quit [Read error: Connection reset by peer]
<westoque>
r0bgleeson: I'lll try. Thanks.
tspike has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 256 seconds]
lewix has joined #ruby
nwertman_ has quit [Quit: Lost terminal]
machuga|away is now known as machuga
tomzx_mac has joined #ruby
nwertman_ has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
headius has quit [Quit: headius]
<westoque>
r0bgleeson: So it works when I do plain Net::HTTP.get from the test.
jovy88 has joined #ruby
<westoque>
r0bgleeson: The logs show that it breaks when the selenium library makes a request to my localhost
jdunck has quit [Quit: Computer has gone to sleep.]
roadt has joined #ruby
jdunck has joined #ruby
pinpin404 has joined #ruby
baroquebobcat has quit [Read error: Operation timed out]
tylersmith has joined #ruby
DonRichie has quit [Ping timeout: 252 seconds]
pskosinski has quit [Remote host closed the connection]
DonRichie has joined #ruby
tylersmi_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
emergion has quit [Ping timeout: 264 seconds]
Guest83841 has quit [Quit: Guest83841]
pskosinski has joined #ruby
nwertman_ has quit [Quit: Lost terminal]
stkowski has quit [Quit: stkowski]
ccooke_ is now known as ccooke
nathanieldavid has quit [Quit: Leaving...]
brunoro has joined #ruby
estan has quit [Read error: Connection reset by peer]
nwertman_ has joined #ruby
tealmage has quit [Read error: Connection reset by peer]
corehook has quit [Ping timeout: 264 seconds]
tealmage has joined #ruby
nga4 has quit [Ping timeout: 256 seconds]
tomku has quit [Quit: WeeChat 0.4.0]
Soliah has joined #ruby
jamesfung14 has joined #ruby
tjcravey has joined #ruby
tealmage has quit [Ping timeout: 252 seconds]
tealmage_ has joined #ruby
pevjan has quit [Remote host closed the connection]
nezumi has joined #ruby
Xeago has quit [Remote host closed the connection]
tealmage_ has quit [Remote host closed the connection]
hogeo has joined #ruby
vertroa has quit [Quit: WeeChat 0.3.9.2]
Xeago has joined #ruby
tommyvyo has quit [Quit:]
pevjan has joined #ruby
tjbiddle_ has joined #ruby
tomku has joined #ruby
banjara has quit [Quit: Leaving.]
P1RATEZ has joined #ruby
headius has joined #ruby
nhhagen has quit [Remote host closed the connection]
timkohrumel has quit [Remote host closed the connection]
cofin has joined #ruby
richcollins has joined #ruby
estan has joined #ruby
nhhagen has joined #ruby
BSaboia__ has joined #ruby
Nanuq has quit [Quit: leaving]
yshh has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 255 seconds]
tjbiddle_ has quit [Ping timeout: 245 seconds]
nwertman has quit [Quit: Lost terminal]
BSaboia has quit [Ping timeout: 248 seconds]
chessguy has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 256 seconds]
dankest has joined #ruby
<dankest>
How can I test that a log warning has been written in TestUnit?
arthurstomp has quit [Ping timeout: 245 seconds]
yann_ck has quit [Quit: Computer has gone to sleep.]
headius has quit [Quit: headius]
danslo has joined #ruby
nhhagen_ has joined #ruby
mixel has joined #ruby
teclator has quit [Ping timeout: 245 seconds]
backjlack has quit [Remote host closed the connection]
wsterling has joined #ruby
nhhagen has quit [Disconnected by services]
kofno has joined #ruby
nhhagen_ is now known as nhhagen
nhhagen has quit [Remote host closed the connection]
headius has joined #ruby
nhhagen has joined #ruby
jaimef has quit [Ping timeout: 260 seconds]
headius has quit [Client Quit]
pinpin404 has quit [Quit: Screw you guys i'm going home ! KMP !]
idkazuma has quit [Remote host closed the connection]
failshell has joined #ruby
wsterling has quit [Ping timeout: 252 seconds]
brianpWins has quit [Quit: brianpWins]
pinpin404 has joined #ruby
failshell has quit [Remote host closed the connection]
headius has joined #ruby
Nanuq has joined #ruby
codemonkey010101 has joined #ruby
estan has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
arthurstomp has joined #ruby
undersc0re97 has quit [Ping timeout: 252 seconds]
mklappstuhl has joined #ruby
freerobby has joined #ruby
zeade has quit [Quit: Leaving.]
Ortuna has joined #ruby
Marco has quit [Quit: Leaving]
Guedes0 has quit [Ping timeout: 256 seconds]
Spooner has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
wesside_ has quit [Quit: Computer has gone to sleep.]
slainer68 has quit [Remote host closed the connection]
<f0ster>
so, assignments in ruby return the LHS value ?
tjcravey has joined #ruby
<f0ster>
e.g., ((var = 5 ) == 5 ) == true
vlad_starkov has joined #ruby
estan has joined #ruby
emptymag00 has quit [Read error: Connection reset by peer]
icole has joined #ruby
* f0ster
verifies, surprised
<f0ster>
logical, but used to c/cpp/java etc
a_a_g has joined #ruby
falood has joined #ruby
alexwh has quit [Ping timeout: 252 seconds]
sean_s has joined #ruby
<xibalba>
have you guys seen websockets rails? anyone using it?
yshh has joined #ruby
chrishough has quit [Quit: chrishough]
twoism has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
alexwh has joined #ruby
<r0bgleeson>
xibalba: what's that? got a link?
vlad_starkov has quit [Ping timeout: 256 seconds]
d2dchat has quit [Remote host closed the connection]
BSaboia__ has quit [Read error: Connection reset by peer]
<r0bgleeson>
f0ster: assignments just return a value.
<r0bgleeson>
(the rhs value)
tundrax has joined #ruby
<jaybe>
anyone happen to know if the pygments ruby gem (pygments.rb) means one does NOT have to have/install python's pygments package? i.e. does it accomplish it without pythons pygments?
<heph>
i have a script which requires a version to pass to a 'gem install', I just want it to install the latest available. would 'gem install gemname -v "> 0"' work for that reliably or do I need a different syntax?
generalpoopnap has quit [Remote host closed the connection]
<arubin>
heph: I think that you just do not specify a version at all.
tundrax has joined #ruby
<heph>
arubin: i don't have the option. if i don't specify a version, it tries to run 'gem install gemname -v ""'
<heph>
which throws an error
<heph>
i can't currently fix the script which is generating the gem install command
<solrize>
i think i looked at that and it was sort of a helpful "first 5 minutes" but didn't really dig in
estan has joined #ruby
<bnagy>
basically once you grok the object heirarchy and read all of the doc for the Enumerable mixin you'll be good :)
jduan1981 has joined #ruby
micrypt has joined #ruby
dankest has quit [Quit: Leaving...]
<bnagy>
people talk about Eloquent Ruby, but I haven't read it and I am Against dead tree programming books in general
dankest has joined #ruby
DementedInsanity has joined #ruby
headius has quit [Quit: headius]
<solrize>
ok thanks
<solrize>
i gotta sign off, may be back later
<solrize>
ttfn
freerobby has joined #ruby
seoaqua has joined #ruby
bricker`LA has joined #ruby
<bnagy>
o/
jduan1981 has quit [Quit: jduan1981]
dhruvasagar has quit [Ping timeout: 256 seconds]
solrize has quit [Ping timeout: 260 seconds]
<krz>
i have two files: module Stat and class Stat::Video. module Stat as a method called foobar. how do i call this method within Stat::Video?
aedornm has quit [Remote host closed the connection]
<injekt>
krz: Stat.foobar
<bnagy>
Stat.foobar
<bnagy>
or you could include Stat, but that would be a bit inception
<bnagy>
I don't really like container modules to have classes in them, but I am old fashioned
<bnagy>
sorry container modules to have methods on them I mean
<krz>
bnagy: so your container modules would be blank?
<bnagy>
well they would just be for namespacing yeah
freerobby has quit [Ping timeout: 264 seconds]
<bnagy>
like, they have classes in them
<krz>
i see. that makes sense
<krz>
currently don't have anything in the module. just "looks" odd
<bnagy>
also bear in mind that if you want to call a method on a module "directly" like Stat.foobar then it needs to be added to the module object itself
<bnagy>
like def self.foobar or module_function :stat
<bnagy>
sorry module_function :foobar
<bnagy>
I should just give up until I have had more caffeine
DementedInsanity has quit [Ping timeout: 276 seconds]
Zeev has quit [Ping timeout: 256 seconds]
phipes has quit [Quit: phipes]
akashj87_ has joined #ruby
kuzushi__ is now known as kuzushi
ckrailo has quit [Quit: Computer has gone to sleep.]
estan has quit [Read error: Connection reset by peer]
ehaliewicz has quit [Ping timeout: 245 seconds]
akash__ has joined #ruby
Zeev has joined #ruby
buibex has joined #ruby
akash__ has quit [Remote host closed the connection]
akashj87 has quit [Disconnected by services]
akashj87 has joined #ruby
mr0wl has joined #ruby
zekefast has quit [Quit: Leaving.]
Yakko_ is now known as Yakko
zeade has quit [Quit: Leaving.]
akashj87_ has quit [Ping timeout: 260 seconds]
akashj87_ has joined #ruby
Kurion has quit [Remote host closed the connection]
estan has joined #ruby
<krz>
If i have a class called Foobar. and I do Foobar. how do i make it execute the method foo ?
akashj87 has quit [Ping timeout: 260 seconds]
<krz>
initialize?
mklappstuhl has joined #ruby
jgrevich has joined #ruby
<injekt>
krz: Foobar.new.foo
aganov has joined #ruby
<krz>
i can't do it with just Foobar ?
<injekt>
krz: you need to initialize a new instance of Foobar before you can call instance methods on it
<injekt>
krz: no Foobar is a class not a method
<injekt>
krz: you could add a Foobar method and call Foobar() # make sure you add parenthesis but that's ugly and you shouldn't do it
Mon_Ouie has quit [Read error: Connection reset by peer]
estan has quit [Read error: Connection reset by peer]
megha has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
krombr has quit [Quit: krombr]
baba has quit [Ping timeout: 260 seconds]
megha is now known as baba
clocKwize has joined #ruby
kuzushi_ has joined #ruby
Gooder`` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Ontolog_ has joined #ruby
Gooder has joined #ruby
headius has joined #ruby
headius has quit [Client Quit]
LennyLinux has joined #ruby
P1RATEZ has quit [Quit: Read error: Text overflow]
Al__ has quit [Quit: Al__]
Ontolog has quit [Ping timeout: 255 seconds]
speakingcode has quit [Ping timeout: 252 seconds]
kuzushi has quit [Ping timeout: 255 seconds]
havenn_ has joined #ruby
Axsuul has joined #ruby
mockra has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 268 seconds]
Kabaka has quit [Excess Flood]
rdg has joined #ruby
malte_ has joined #ruby
alexmreis has joined #ruby
estan has joined #ruby
Kabaka has joined #ruby
speakingcode has joined #ruby
ilpuccio has joined #ruby
blaxter has joined #ruby
arietis has joined #ruby
tcurdt has joined #ruby
tcurdt has quit [Client Quit]
rdg has quit [Quit: ttfn]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brtdv has joined #ruby
sayan has quit [Read error: Connection reset by peer]
snuglepuss has quit [Remote host closed the connection]
Plumm3R has joined #ruby
Plumm3R has quit [Client Quit]
dangerousdave has joined #ruby
tealmage has joined #ruby
teclator has joined #ruby
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gstamp has quit [Quit: Computer has gone to sleep.]
monkegji_ has joined #ruby
estan has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
xardas has joined #ruby
tealmage has quit [Ping timeout: 252 seconds]
monkegjinni has quit [Ping timeout: 245 seconds]
seanmccann has quit [Quit: Computer has gone to sleep.]
<dawkirst>
Hi, is there some way I can establish the amount of memory a Ruby process takes?
Ontolog_ has quit [Remote host closed the connection]
Coffers has joined #ruby
nfk has joined #ruby
estan has joined #ruby
<bnagy>
top?
newTech has quit [Quit: newTech]
<santana>
dawkirst, the YARV based one?, I don't think so :\ but the Java based one, yes
<santana>
it's Java after all
<santana>
I mean, JVM
LennyLinux has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
<bnagy>
pretty sure jruby can only tell you about the memory being managed by the jvm, which isn't the same thing
<bnagy>
eg it supports c extensions, kind of
<bnagy>
or FFI libs
sayan has joined #ruby
<santana>
you can tell the JVM how much memory it may allocate
<bnagy>
basically you need to ask your OS
<bnagy>
santana: only for managed memory, as I just said
MrZYX is now known as MrZYX|off
<santana>
you're answering the wrong question
nhhagen_ has joined #ruby
<bnagy>
how so?
nhhagen has quit [Disconnected by services]
nhhagen_ is now known as nhhagen
MrZYX|off is now known as MrZYX
<bnagy>
the amount of memory a _process_ takes includes unmanaged memory and memory that has nothing to do with ruby
altivec has joined #ruby
<santana>
dawkirst asked how to set the amount of memory; your answer (top, or ask your OS) makes me think you read "how can I tell how much memory was allocated[
<santana>
"
<bnagy>
I don't think establish means what you think it means
headius has joined #ruby
<santana>
probably
krz has quit [Ping timeout: 276 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
<dawkirst>
Sorry, I meant what bnagy thinks I meant (i.e. how can I tell?)
headius has quit [Client Quit]
<santana>
that was false friend :\
<santana>
^a
headius has joined #ruby
<bnagy>
you can do it 'natively' from Ruby, but the naive way is OS dependent
notdan has joined #ruby
<bnagy>
Process might work though...
aeontech has quit [Quit: aeontech]
pipework has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
rdark has joined #ruby
threesome has joined #ruby
<bnagy>
no, seems not... dammit, I was sure there was a proper stdlib for this
<notdan>
Hi! How can insert a code block unformatted in HAML?
yann_ck has joined #ruby
vlad_starkov has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
rton has joined #ruby
krz has joined #ruby
freerobby has joined #ruby
headius has quit [Quit: headius]
browndawg has joined #ruby
beiter has joined #ruby
icecandy has joined #ruby
<dawkirst>
santana, bnagy, thanks
freerobby has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 255 seconds]
postmodern has joined #ruby
krainboltgreene has joined #ruby
<alexmreis>
notdan, you're probably looking for =!
<alexmreis>
escapes html
<alexmreis>
uhh !=
<alexmreis>
%pre!= stuff.code
estan has quit [Read error: Connection reset by peer]
<notdan>
I think != actually tied to evaluate the code
<alexmreis>
well depends how you're outputting it from the thing you = it to
pi3r has joined #ruby
<alexmreis>
but it just struck me you're trying to write the code itself on the document right?
whowantstolivefo has quit [Quit: who wants to live forever ?]
<notdan>
Well, I am trying to do something like ``` <code> ``` in github markdown
micrypt has left #ruby [#ruby]
<notdan>
I've tried doing :markdown and ``` ...``` but it doesn't respect the formatting
<shevy>
and the first argument has a default value
<shevy>
now, I could use a constant, and use that
<shevy>
XYZ = 'default value here'
<shevy>
def foo(input = XYZ)
<shevy>
input = XYZ if input.nil?
<shevy>
but it's a bit tedious to define lots of constants, if I would have many such methods where the first argument could, potentially, be nil in some situations
<shevy>
so my question now is:
<shevy>
is there any programmatic way to query the default values of arguments in a method definition?
monkegjinni has joined #ruby
<apeiros>
shevy: not really
<shevy>
we need halsbe
BonSequitur has quit [Remote host closed the connection]
ephemerian has quit [Quit: Leaving.]
baba has quit [Ping timeout: 256 seconds]
<shevy>
do you mac guys compile anything ever?
<shevy>
like ruby?
<apeiros>
sure
<apeiros>
though we let compile
<apeiros>
e.g. rvm does it for us
<shevy>
hmm apeiros, when you want to compile something on mac, ... ah ok, but that is only for ruby? what if there is some other program, how would you tend to compile that on a mac?
pkrzywicki has joined #ruby
<apeiros>
usually via homebrew
workmad3 has quit [Ping timeout: 256 seconds]
<apeiros>
often there's binaries
rickruby has joined #ruby
<shevy>
ok, thanks
<injekt>
I compile ruby myself
tundrax has quit [Remote host closed the connection]
<injekt>
otherwise it's traditional make, shevy
chandankumar has joined #ruby
arietis has quit [Read error: Connection reset by peer]
LennyLinux has joined #ruby
<shevy>
injekt, you don't use homebrew?
<injekt>
shevy: I do but not for everything
<injekt>
shevy: some things aren't available via homebrew for example
spider-mario has joined #ruby
kristofers has joined #ruby
brtdv has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<injekt>
shevy: I'm a linux hacker at heart so i'm used to lots of configuring and compiling manually
<alexmreis>
./configure; make install works wonders
rakl has quit [Quit: sleeping]
<alexmreis>
and some times dancing with configure and options
mateuszzawisza has joined #ruby
julytwilight has joined #ruby
threesome has quit [Ping timeout: 276 seconds]
<shevy>
injekt right, but it seems kinda nicer to unify behind one package manager, like homebrew in that case
<injekt>
shevy: yup sure, homebrew is awesome
<bnagy>
macports > brew
<shevy>
or have homebrew work on linux, but I assume that will never become a primary goal :(
threesome has joined #ruby
<bnagy>
brew is the fixie of osx package managers
<injekt>
bnagy: I have been back and fourth many times, settled with brew in the end
<injekt>
shevy: brew is built entirely for osx, most linux distros have their own package managers
teddyp1cker has joined #ruby
apa has joined #ruby
apa has left #ruby [#ruby]
tundrax has joined #ruby
altivec has quit [Quit: Computer has gone to sleep.]
arietis has joined #ruby
<fasta>
Why does file foo return that the file exists and File.exists?(foo) doesn't?
rickruby has quit [Remote host closed the connection]
Spooner has joined #ruby
<injekt>
fasta: What is `file foo`? you mean in the shell?
includex has joined #ruby
<fasta>
injekt: file foo is executed in the shell indeed.
<injekt>
fasta: are you sure you're in the same directory?
<fasta>
injekt: I am giving it an absolute path.
mateuszzawisza has left #ruby [#ruby]
<apeiros>
fasta: because the variable foo is not the same as the string 'foo'?
<fasta>
injekt: both run as the same user.
<fasta>
apeiros: I am not that stupid.
<injekt>
lol
<apeiros>
fasta: you wouldn't be the first to be…
<injekt>
fasta: normal files no symlinks?
gvz has joined #ruby
<apeiros>
File.exists? is true for symlinks iirc
<apeiros>
would be surprised if not
<fasta>
injekt: yes
Kurion has joined #ruby
<injekt>
yeah just wanted to make sure
<apeiros>
fasta: escapes?
<fasta>
apeiros: no
<apeiros>
i.e., file foo\ bar != File.exists?("foo\\ bar")
<apeiros>
encoding issues?
julytwilight has quit [Remote host closed the connection]
<fasta>
"print" prints a newline too, right?
<injekt>
noo
<injekt>
-o
<fasta>
Ok, then there we go.
<injekt>
eh
<apeiros>
invisible characters then :-p
<fasta>
I got the file from executing a sh command.
chase-work has joined #ruby
<fasta>
And those always output a newline...
rickruby has joined #ruby
<fasta>
Unless you do something special.
<fasta>
Thanks
forlin has joined #ruby
<fasta>
Isn't there some useful configuration which shows such trailing newlines in ruby output?
<bnagy>
p somestr
<injekt>
fasta: you can inspect the string
baba has joined #ruby
<injekt>
which is what p() does
<fasta>
It would be useful if one could automatically instrument all files with pry too.
<fasta>
(without it messing up your upgrades, I mean)
<bnagy>
I don't know what "instrument all files" means
nwertman_ has quit [Ping timeout: 256 seconds]
allsystemsarego has joined #ruby
allsystemsarego has joined #ruby
allsystemsarego has quit [Changing host]
pinpin404 has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
tealmage has joined #ruby
cofin has joined #ruby
rickruby has quit [Remote host closed the connection]
pigoz is now known as ChrisK2
nwertman has joined #ruby
altivec has joined #ruby
tealmage has quit [Ping timeout: 245 seconds]
icole has joined #ruby
Umren has quit [Remote host closed the connection]
tyl has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
DaniG2k has joined #ruby
tundrax has quit [Remote host closed the connection]
rickruby has joined #ruby
Azulinho has joined #ruby
jnoob22 has joined #ruby
Faris9 has joined #ruby
pinage404 has joined #ruby
icole has quit [Ping timeout: 276 seconds]
idkazuma has joined #ruby
pinage404 has quit [Excess Flood]
krz has quit [Quit: krz]
GeissT has joined #ruby
Xeago has joined #ruby
Azulinho has quit [Client Quit]
monkegjinni has quit [Ping timeout: 256 seconds]
<fasta>
On https://selenium.googlecode.com/git/docs/api/rb/Selenium/Server.html it doesn't say what I need to require in order for this to work: server = Selenium::Server.new('/path/to/selenium-server-standalone.jar') I understand that there might be some convention, but can you tell me what it wants be to require?
<fasta>
s/be/me
LennyLinux has quit [Remote host closed the connection]
idkazuma has quit [Ping timeout: 255 seconds]
pkrzywicki is now known as noname001
rickruby has quit [Remote host closed the connection]
<fasta>
I tried such things as require 'selenium-webdriver' but that was obviously not the right answer and I don't like to guess more than once.
<Hanmac>
fasta: did you try "selenium" or "selenium/server" ?
volte has quit [Quit: leaving]
bigkevmcd has quit [Quit: Ex-Chat]
bigkevmcd has joined #ruby
Nahra has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 256 seconds]
Hanmac1 has joined #ruby
dawkirst has quit [Ping timeout: 256 seconds]
julytwilight has joined #ruby
vlad_starkov has joined #ruby
roadt has quit [Ping timeout: 260 seconds]
altivec has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 252 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
roadt has joined #ruby
cofin has quit [Quit: cofin]
freerobby has joined #ruby
kleinerdrache has joined #ruby
Domon has quit [Remote host closed the connection]
Liothen has joined #ruby
Liothen has quit [Changing host]
Liothen has joined #ruby
nari has joined #ruby
thebastl has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
freerobby has quit [Ping timeout: 252 seconds]
Mattix has quit [Ping timeout: 264 seconds]
elaptics is now known as elaptics`away
lupinstein has joined #ruby
dawkirst has joined #ruby
arya has quit [Ping timeout: 248 seconds]
peta_ has joined #ruby
johchri has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Ping timeout: 264 seconds]
roadt has quit [Ping timeout: 245 seconds]
altivec has joined #ruby
sayan has joined #ruby
roadt has joined #ruby
arya has joined #ruby
chandankumar has quit [Read error: Connection reset by peer]
kf8a has joined #ruby
nettoweb has joined #ruby
browndawg has quit [Quit: Leaving.]
akashj87_ has quit [Ping timeout: 260 seconds]
kf8a has quit [Client Quit]
elaptics`away is now known as elaptics
breeze has joined #ruby
osvico has joined #ruby
Mattix has joined #ruby
Axsuul has quit [Ping timeout: 264 seconds]
akashj87_ has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
akashj87_ is now known as akashj87
Jackneill has joined #ruby
monkegjinni has joined #ruby
rton has left #ruby [#ruby]
sambao21 has joined #ruby
machuga|away is now known as machuga
paulswilliamsesq has quit [Read error: Connection reset by peer]
chase-work has quit [Quit: Computer has gone to sleep.]
<apeiros>
i.e., "* If the file can be loaded from the existing Ruby loadpath, it is. " (from the docs) - loadpath means $LOAD_PATH. which is an array which is searched from first to last in that order
paolooo has quit [Ping timeout: 245 seconds]
<Hanmac>
fasta: like if you do in YOUR file: require "abc"; require "xyz" then "abc" is required before "xyz" EXCEPT "abc" itself requires "xyz" inside itself
<apeiros>
hm, why is my require doc different than the one on ruby-doc? o0
yalue has joined #ruby
<apeiros>
I should have the ruby 1.9.3p392 docs installed here…
wallerdev has joined #ruby
sailias has joined #ruby
<fasta>
Hanmac: do I sound like an Indian programmer who goes to a pathetic school to learn "Ruby"?
<apeiros>
and btw. fasta - you're not in a position to make demands ("answer! or say nothing!"). so don't. it gets you fast-tracked on ignore.
freerobby has joined #ruby
<fasta>
apeiros: I am always in a position to make demands.
<apeiros>
you're mistaken.
<fasta>
If people provide too much stupidity, they go on my idiots list and are never heard of again.
<waxjar>
lmao, what the hell man. there's 3 people trying to help you and you're being a dick and throwing some racism around? not cool.
<fasta>
waxjar: it's not racism.
<waxjar>
whatever
memborsky has joined #ruby
<fasta>
waxjar: I am sure there are Indian programmers who are good; I just haven't ever seen any.
<shevy>
fasta basically the preferred way to add more .rb files is by using require, whereas via load() you just load the .rb file again (and can do so multiple times, unlike with require)
tethra has quit [Read error: Connection reset by peer]
<apeiros>
fasta: re idiots list - then do that. but don't go around and misbehave.
<apeiros>
it's not welcome here.
<shevy>
fasta what you have to keep in mind with something like Selenium is that it may well be awful to use, there is no way to know before whether the author who wrote it was conforming to standards or not
<fasta>
That specification is extremely bad.
Zambz has joined #ruby
<Kar->
wow you guys are a lot more patient than I am with such people :)
vlad_starkov has quit [Ping timeout: 252 seconds]
kf8a has joined #ruby
<shevy>
in most situations, when a project is called 'foo', requiring it should conform to 'foo' to, as in: require 'foo'
<Zambz>
hey there guys, i'm building Ruby manually on SUSE 10 (old OS, I know, hehe) and noticed 2 components failed to build, ripper and fiddle, but I can't seem to figure out what they are and what their related -devel packages are
<Zambz>
any help would be greatly appreciated :)
mark_locklear has joined #ruby
<banister`sleep>
fasta: i know lots of good indian programmers, there's a few in rails core, and one of them wrote the pry-debugger plugin etc
yshh has quit [Remote host closed the connection]
<shevy>
fasta note that in require, it is typical that all '-' would become '/'. this maps into the filesystem usually, like: 'foo/bar' would confirm to a directory called foo/, then a file called bar.rb there inside
sailias has quit [Ping timeout: 245 seconds]
<waxjar>
Zambz, they're libraries in the standard library i believe
freerobby has quit [Ping timeout: 260 seconds]
<fasta>
It says that it loads the given "name". It doesn't say how.
<shevy>
fasta but as said, it depends on the author. there are some who just don't seem to care
codemonkey010101 has joined #ruby
<fasta>
Then it refers to a filename giving the suggestion that the name was really a filename afterall.
<apeiros>
the "how" would be code. if you want to read code - it's there.
<fasta>
No, the how would not be code.
<fasta>
The how could be a Z specification for all I care or English.
<fasta>
The code is one particular implementation to accomplish that.
<waxjar>
what exactly do you wanna know that isn't in the documentation?
<waxjar>
as far as i can see everything's there
<fasta>
I want to know the exact semantics of require.
<fasta>
Have you ever read an actual language specification?
<Zambz>
waxjar: thanks mate, not sure how to build them on SUSE
<Zambz>
the rest had related c libs
<fasta>
Like the big boys do for C++, etc?
<shevy>
fasta require() tries to load a file, which by default conforms to name+'.rb', as in, require 'foo' would be treated as require 'foo.rb'
ipalaus has joined #ruby
ipalaus has quit [Changing host]
ipalaus has joined #ruby
<waxjar>
then read the documentation. if you have any further questions, ask those questions. "i want to know the how" is quite vague
<fasta>
shevy: see? I also came up with that.
<fasta>
shevy: and that's what it should have said in the documentation.
paulcc has quit [Ping timeout: 245 seconds]
<fasta>
shevy: not the 15 lines of garbage it has now.
<apeiros>
14:08 fasta: Like the big boys do for C++, etc?
<apeiros>
if you continue to be an ass, I'll kick you.
<shevy>
fasta no idea who wrote that part of the documentation
<fasta>
apeiros: you cannot seriously suggest that you are anywhere near the amount of standardization that C++ has?
<apeiros>
fasta: not my point.
<waxjar>
"If the filename has the extension “.rb”, it is loaded as a source file; if the extension is “.so”, “.o”, or “.dll”, or the default shared library extension on the current platform, Ruby loads the shared library as a Ruby extension. Otherwise, Ruby tries adding “.rb”, “.so”, and so on to the name until found. If the file named cannot be found, a LoadError will be raised."
<fasta>
apeiros: well, that was my point.
lupinstein has quit [Ping timeout: 256 seconds]
<waxjar>
what's unclear about that?
<fasta>
waxjar: it refers to "name".
<apeiros>
fasta: I don't care. if you behave like an ass, you can go. that's my point.
<fasta>
waxjar: not "filename".
<apeiros>
or rather, I will make you go.
<waxjar>
lol, damn son.
Kurion has quit [Read error: Connection reset by peer]
<fasta>
I think shevy was the only person who understood what I was saying. Good for you shevy.
AndChat| has quit [Ping timeout: 245 seconds]
ipalaus has quit [Read error: No route to host]
<shevy>
ruby has an older documentation too btw for 1.8.7
<apeiros>
fasta: documentation is not specification. that's why it's two different words. you might want to google for "ruby spec"
<apeiros>
and yes, there is a formal specification of ruby
<shevy>
and I can tell you, despite ruby's shortcomings, it is 1000x better than nimrod's docu
codemonkey010101 has joined #ruby
<shevy>
I do think python has the best online documentation though, it reads like a book
<apeiros>
you have to pay for it, though. since it's an (ISO, I believe) standard.
<shevy>
fasta when I tried to convince the author of nimrod to improve the documentation (and in essence, make it richer, more detailed etc...) he said that not everyone wants to read so much
<shevy>
and he made a valid point, for while my personal use case would be to need as much documentation as possible, more experienced users may be bored
<fasta>
apeiros: your point being?
akashj87_ has joined #ruby
<fasta>
apeiros: "free is better"?
<shevy>
yes when it comes to beer
<apeiros>
you're trying to see something where there is nothing.
<fasta>
Or in this case "cowboy programming language without good spec is better".
<shevy>
japanese are not cowboys man
fasta was kicked from #ruby by apeiros [I warned you]
<waxjar>
ty
robbyoconnor has joined #ruby
<alexmreis>
thanks
m8 has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
hogeo has quit [Remote host closed the connection]
<apeiros>
and of course he comes and whines in my PM…
<apeiros>
how unexpected
<apeiros>
well, "whines" = "starts to insult me". whatever. same thing.
akashj87 has quit [Ping timeout: 260 seconds]
<Hanmac>
and shevy before you ask, yeah i will write more documentation and tests but first i need to have more code before i can dokument them ;P ... and you dont even read my other commits ;(
<Kar->
i don't understand how people can be so demanding like that
<Kar->
as if you owe them something
<shevy>
Hanmac man I was insanely busy the last ~2 weeks
<apeiros>
entitlement issues
<banister`sleep>
Hanmac: james baxter?
<shevy>
Hanmac I am still rewriting my biggest ruby project
<apeiros>
I think it's related to the way some parents educate their children
monkegjinni has quit [Read error: Connection reset by peer]
carloslopes has joined #ruby
<Kar->
i like solving problems at the end of the day and making things
monkegjinni has joined #ruby
tommyvyo has joined #ruby
<shevy>
yeah
<Kar->
a programmng language is just a medium for expression
<Kar->
c++ / ruby / php
<Kar->
doesn't really matter what
<shevy>
oh god, php
v0n has quit [Ping timeout: 276 seconds]
<shevy>
it'll never die :(
<drizz>
(ʘωʘ) php
<drizz>
(ʘωʘ)
<Kar->
disclosure i'm first and foremost a php programmer
<apeiros>
it's simple - having issues with docs/language etc. is legitimate. thinking language X does it better than ruby is legitimate. but being an ass about it is not accepted.
<Kar->
well specifically first i was a c programmer but i don't know too many people that get paid to write in low level languages these days
<banister`sleep>
Hanmac: haha that's cool
LennyLinux has joined #ruby
paolooo has joined #ruby
<shevy>
Kar- we all have our dark past
<banister`sleep>
Hanmac: what tv show is that?
tommyvyo has quit [Client Quit]
<Hanmac>
drizz & shevy: lets play odd men out with php: » one of this values are true in php: 0,"0",0.0,"0.0" «
<Kar->
haha
<shevy>
Kar- apeiros here wrote some 20k lines of code in one php app many years ago
<apeiros>
Hanmac: it would be cool if they actually stopped to breathe
<apeiros>
I'd insist on not giving them what they want then
<shevy>
hehehe
<Hanmac>
apeiros: yeah ... it would be better for all of us
<apeiros>
we'd quickly get rid of lots of bad politicians.
<injekt>
shevy: it's scary to think that's not even a large php codebase
<Hanmac>
Banister "til' Death" ... in the last wierd season this one character is "medium aware" ;P
<drizz>
Hanmac: only one?
<Hanmac>
drizz: yeah thats the point ;P
robbyoconnor has quit [Ping timeout: 245 seconds]
<Kar->
Hanmac: all of them evaulate to false
<Hanmac>
Kar- ha you fooled ;p
<waxjar>
oh man, php
<drizz>
I'd have guessed all but the absolute 0
<drizz>
would be true
<drizz>
because php
<Kar->
there's truthiness in php like js
<Kar->
you can do strict evaluation with ===
<Kar->
but even with lazy eval == all of them if put in a if check evaluate false
<apeiros>
IMO in JS & PHP you almost always want ===, not ==
<injekt>
^
<Kar->
i know there is one strange example of an empty string
<lupine>
ah, I see, you still have to start your application under pry-rescue
r0bgleeson has joined #ruby
<lupine>
I was thinking closer to gdb attach, but in a way that would let me sanely redefine a method :)
<banister`sleep>
lupine: well you just need pry-rescue gem required
<lupine>
aye, and the process in question does not have it :)
<banister`sleep>
lupine: ah ok
browndawg has joined #ruby
<banister`sleep>
lupine: hmm, well, we will probably write a gdb attacher sometime soon, probably wont require more than writing a script that attaches gdb and then requires + runs pry-remote
mark_locklear has quit [Remote host closed the connection]
dachin has joined #ruby
yshh has joined #ruby
malte_ has joined #ruby
nezumi has quit [Ping timeout: 246 seconds]
<banister`sleep>
lupine: in the meantime you could try doing it manually -- i.e attach via gdb, then: call rb_require("pry-remote")
<banister`sleep>
you might need to break out of teh bundler jail though
bwlang has joined #ruby
joofsh has joined #ruby
Ripp__ has joined #ruby
<lupine>
we don't use bundler in production :)
<shevy>
lupine hehehe
<shevy>
lupine trust Hanmac1. He loves bundler.
<lupine>
our main server process has a built-in telnet console with eval() support
<shevy>
like in the good old days
<lupine>
we just didn't bother for some of the satellite processes, and it came back to bite me earlier
yshh_ has joined #ruby
osvico has quit [Ping timeout: 260 seconds]
<lupine>
we package all our ruby code into .deb packages for production
<lupine>
it's elements of glorious
yshh has quit [Read error: Connection reset by peer]
kofno has joined #ruby
<bwlang>
trying to use a struct to store which fields should be grouped together (see https://gist.github.com/bwlang/0d05cf75c4e8c0c9c45b) but i get an error when ever i try to access that Well.field_groups method (undefined method `FieldGroup' for #<Class:0x0000010c5f2a28>) What am I missing here?
dustint has joined #ruby
adambeynon has joined #ruby
shammancer has quit [Read error: Connection reset by peer]
<bwlang>
should i just stop with the fancy stuff and bastardize a hash for this?
tomzx_mac has quit [Ping timeout: 252 seconds]
<bwlang>
(ruby 1.9 by the way)
shammancer has joined #ruby
allsystemsarego has quit [Quit: Leaving]
<MrZYX>
it's FieldGroup.new not FieldGroup
chrismatheson has quit []
mark_locklear has joined #ruby
<bwlang>
MrZYX:doh - thanks - I was hoping that I was just being dumb ;)
Lubinski has joined #ruby
pcarrier has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
a_a_g has quit [Quit: Leaving.]
kristofers has quit [Read error: Connection reset by peer]
cofin has joined #ruby
dachin has quit [Quit: Page closed]
pcarrier has joined #ruby
kristofers has joined #ruby
bluOxigen has joined #ruby
Z_Mass has joined #ruby
v0n has joined #ruby
pcarrier has quit [Max SendQ exceeded]
<Lubinski>
morning peeps
_nitti has joined #ruby
pcarrier has joined #ruby
suporte85 has quit [Quit: Saindo]
<ericwood>
yoyoyo
tommyvyo has joined #ruby
atyz has joined #ruby
DaniG2k has left #ruby [#ruby]
nhhagen_ has joined #ruby
solidoodlesuppor has joined #ruby
nari has quit [Ping timeout: 245 seconds]
codecop has quit [Remote host closed the connection]
blueOxigen has joined #ruby
freerobby has joined #ruby
asteve has joined #ruby
danslo has quit [Quit: danslo]
sayan has joined #ruby
ravster has quit [Ping timeout: 264 seconds]
falood has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 276 seconds]
khismetix has joined #ruby
jgarvey has joined #ruby
danslo has joined #ruby
nhhagen_ has quit [Ping timeout: 256 seconds]
Zeev has quit [Disconnected by services]
Zeev has joined #ruby
jovy88 has quit [Read error: Connection reset by peer]
banister`sleep has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby
Ortuna has quit [Quit: Computer has gone to sleep.]
heftig has quit [Quit: Quitting]
<ghr>
lupine guessing you've had success with packaging then? Have been looking in to it recently. Lots of stuff saying "OMG don't do it" but I can't see why not...
heftig has joined #ruby
niklasb has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
khismetix has quit [Quit: Computer has gone to sleep.]
foofoobar has quit [Quit: Computer has gone to sleep.]
<MrZYX>
iirc it has to be called in the main context and is valid for the scope of the file, but since the spec is far from being finalized I'd refrain from using refinements yet
mljsimone has joined #ruby
malte_ has quit [Quit: malte_]
reactormonk_ is now known as reactormonk
ravster has joined #ruby
falood has quit [Remote host closed the connection]
joofsh has quit [Read error: Connection reset by peer]
d2dchat has quit [Remote host closed the connection]
danslo has quit [Quit: danslo]
joofsh has joined #ruby
akells` has joined #ruby
chrishunt has joined #ruby
failshell has joined #ruby
carlyle has quit [Remote host closed the connection]
akells` has quit [Remote host closed the connection]
mawueli has joined #ruby
roadt has joined #ruby
unflores has quit [Quit: unflores]
vlad_starkov has joined #ruby
<altamic>
thanks MrZYX I am just playing around
tockitj has joined #ruby
<tockitj>
what is best way to make rdbms queries in ruby ?
jonathanwallace has quit [Quit: WeeChat 0.4.0]
<MrZYX>
I don't think there's a "the best way"
scottmey has joined #ruby
interactionjaxsn has joined #ruby
jonathanwallace has joined #ruby
pgz is now known as pigoz
vlad_starkov has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
includex has quit [Ping timeout: 252 seconds]
<lupine>
ghr, aye, it's a very clean way of doing things
<lupine>
we've had to package some of the gems we depend on too, but the burden there is not huge
philcrissman has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
pskosinski has joined #ruby
poga has quit [Remote host closed the connection]
jtharris has joined #ruby
akells` has joined #ruby
Jedi_SCT1 has quit [Quit: See ya]
danslo has joined #ruby
freeayu has joined #ruby
khismetix has joined #ruby
Jedi_SCT1 has joined #ruby
theSHOW has quit [Ping timeout: 260 seconds]
freeayu has quit [Read error: Connection reset by peer]
thebastl has quit [Remote host closed the connection]
thetristan has quit [Client Quit]
thetristan has joined #ruby
<alex88>
is there a way to make bundler reinstall a gem after updating system components to rebuild native extension?
<waxjar>
just run bundle install again i think
karancho has joined #ruby
aflynn has joined #ruby
d2dchat has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
machuga|work is now known as zz_machuga|work
interactionjaxsn has quit [Read error: Connection reset by peer]
jasonkuhrt has joined #ruby
interactionjaxsn has joined #ruby
tjcravey has quit [Ping timeout: 256 seconds]
shevy2 has joined #ruby
thoraxe has joined #ruby
tjcravey has joined #ruby
bean__ has joined #ruby
swex_ has joined #ruby
mattbl has joined #ruby
khismetix has quit [Ping timeout: 256 seconds]
altamic has quit [Quit: altamic]
swex has quit [Ping timeout: 255 seconds]
<whowantstolivefo>
guys, i've decided to get these books for fundamentals of ruby >> Eloquent Ruby and Design Patterns in Ruby by Russ Olsen . does it help better than work in different pages ?
gyre008 has joined #ruby
momomomomo has joined #ruby
nwertman_ has joined #ruby
nettoweb has quit [Quit: nettoweb]
tagrudev has quit [Remote host closed the connection]
newTech has joined #ruby
csaunders has quit [Quit: Computer has gone to sleep.]
<banister_>
whowantstolivefo: "work in different pages" --> what? :)
bigl has joined #ruby
<alexmreis>
i can definitely recommend Eloquent Ruby if you're coming from another language
<alexmreis>
helps you in picking up the ruby "style"
<alexmreis>
other than that, if you're doing rails, I recommend The Rails 3 Way
csaunders has joined #ruby
gyre007 has quit [Ping timeout: 256 seconds]
yacks has quit [Read error: Connection reset by peer]
<alexmreis>
didn't particularly like the Design Patterns one, and I do like the original GoF design patterns book
<alex88>
waxjar: had to uninstall and then install again
<whowantstolivefo>
alexmreis: i am web designer.. no programming background
<alexmreis>
It's only good if you're a pattern addict and want to translate your habits to ruby
<alex88>
install was just saying "it's installed, what the **** you want" :P
<whowantstolivefo>
banister_: i mean i run every web page about ruby and i get confuse
<alexmreis>
whowantstolivefo: get DHH's book on rails then, probably will get you off the ground faster
huoxito has joined #ruby
yacks has joined #ruby
<banister_>
alexmreis: assuming he wants to learn rails :)
<banister_>
there's more to ruby than rails these days
<whowantstolivefo>
alexmreis: i have no ruby fundemantal... i played with rails maybe 2=3 months (at free times beside work ) i got stuck at some part always. and people suggested me to here for i must learn programming fundamentals and then ruby
nwertman_ has quit [Client Quit]
<alexmreis>
well if you got off the ground with rails then yeah. what do you want to achieve? changing careers?
<whowantstolivefo>
alexmreis: i've almost done half of this book :)
<whowantstolivefo>
this is very nice book
Azulinho has joined #ruby
<whowantstolivefo>
my achieve is making good reports, and make some web projects as personal
csaunders has quit [Client Quit]
<whowantstolivefo>
i mean DB reports about my work and doing some programming stuff about my work ( i work as IT director in a Hospitals group)
GeissT has quit [Quit: MillBroChat AdIRC User]
Shrink has quit [Read error: Connection reset by peer]
csaunders has joined #ruby
Shrink has joined #ruby
arya has joined #ruby
aganov has quit [Remote host closed the connection]
ariedler has joined #ruby
<alexmreis>
right. well you already know how to make the reports look good, just need some basic ruby to do your calculations I guess. following from why's guide there's the pickaxe book which would be the next step in my list
yacks has quit [Read error: Connection reset by peer]
<whowantstolivefo>
i have information about what is object, whats integer,float,arrays,hashes, regular expressions and controls like if while blocks etc
kofno has joined #ruby
<whowantstolivefo>
basic information , i've done ruby koans and read some beginner articles and made some easy tutorials
nwertman has quit [Read error: Connection reset by peer]
julytwilight has quit [Remote host closed the connection]
yacks has joined #ruby
Heero has quit [Ping timeout: 268 seconds]
<Spooner>
whowantstolivefo, You don't need to escape " within ' (only within ").
<Spooner>
puts 'The length of "Merry Christmas" is:'
nhhagen_ has joined #ruby
justsee has quit [Ping timeout: 260 seconds]
mneorr has joined #ruby
nhhagen has quit [Disconnected by services]
nhhagen_ is now known as nhhagen
<whowantstolivefo>
Spooner: i know i've learning day by day :) thanks anyway
stoic_squirrel has joined #ruby
Jedi_SCT1 has quit [Quit: See ya]
<whowantstolivefo>
i get Rubymine IDE it is more funny than Sublime Text :)
<whowantstolivefo>
getting done today at work, see you tomorrow!! and im away
mneorr_ has quit [Ping timeout: 256 seconds]
Jedi_SCT1 has joined #ruby
johnnyfuchs has joined #ruby
wsterling has joined #ruby
LennyLinux has quit [Remote host closed the connection]
pcarrier has quit [Ping timeout: 252 seconds]
<alexmreis>
whowantstolivefo: you want 3.times { print 'Ho' } rather than 'Ho' * 3
danslo has joined #ruby
vlad_starkov has joined #ruby
marcdel_ has joined #ruby
<alexmreis>
but yeah, you need a programming basics class or book. I'd suggest you try applying it for real on what you need it for, it's the very best way to learn
<alexmreis>
otherwise you're training how to steer or accelerate rather than how to drive, if you know what I mean
yann_ck has quit [Ping timeout: 268 seconds]
LennyLinux has joined #ruby
Jedi_SCT1 has quit [Quit: See ya]
d2dchat has quit [Read error: Connection reset by peer]
Ontolog has joined #ruby
workmad3 has joined #ruby
ExxKA has joined #ruby
d2dchat has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
Jedi_SCT1 has joined #ruby
wedgex has joined #ruby
pcarrier has joined #ruby
chrishough has joined #ruby
d2dchat has quit [Remote host closed the connection]
khismetix has joined #ruby
enebo has quit [Quit: enebo]
clocKwize has quit [Quit: clocKwize]
monkegji_ has quit [Ping timeout: 252 seconds]
d2dchat has joined #ruby
tethra has joined #ruby
tethra has quit [Changing host]
tethra has joined #ruby
<dr_neek>
Hello guys I asked this in #rails, but seems like no one around, so I thought I'd try here. Query: I was looking at my Gemfile and noticed that my rails was frozen at '3.2.11'. How come it starts like that rather than '~>3.2.0' ? And is it safe to switch to '~>3.2.0'? I want to make sure I get the latest security updates and the like.
richcollins has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<yxhuvud2>
dr_neek: '~>3.2.11' means it must be *at least* of version 3.2.11
Heero has joined #ruby
interactionjaxsn has quit [Ping timeout: 256 seconds]
<dr_neek>
yxhuvud2: Yup. But I want it to be latest when I bundle update.
bafilius has joined #ruby
<yxhuvud2>
there should be no difference in that department.
richcollins has quit [Quit: richcollins]
bafilius_ has joined #ruby
unflores has joined #ruby
<yxhuvud2>
unless you have a very weird gem setup that requires older versions of rails.
kf8a has quit [Quit: Computer has gone to sleep.]
nettoweb has joined #ruby
<alex88>
looking at https://github.com/srawlins/gmp/ seems that mpz_mod is mapped to GMP::Z#mod but doing something.mod(another) gives undefined method `mod' for 20486695452:GMP::Z
<alex88>
how should I supposed to use that?
b0oh has quit [Quit: Leaving.]
Arya_ has joined #ruby
<Kar->
what do people recommend for hosted dns
arya has quit []
<Kar->
route 53?
cmarques has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
cmarques has quit [Client Quit]
<Spooner>
alex88, GMP::Z implements tmod, fmod and cmod, if you read down the file.
io_syl has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
idkazuma has joined #ruby
<alex88>
Spooner: but if I look at the table below some things are 'not implemented yet' so I think that mod should
emmanuelux has joined #ruby
dhruvasagar has joined #ruby
<alex88>
Spooner: sorry, looking at c++ docs mpz_mod is the same as mpz_fdiv
<Spooner>
alex88, Sounds like a slight documentation error then. Post an issue...?
<alex88>
Spooner: going to ;) thanks
rdark has joined #ruby
tspike has joined #ruby
paolooo has quit [Quit: Page closed]
<Spooner>
alex88, Might be that mod is actually mapped as #modulo or % (which would be the normal way in Ruby)
<Spooner>
(with Float, that is).
geggam has joined #ruby
kemist has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<Spooner>
alex88, Yeah, mod gmpz_mod is implemented as % (checked the C extension sources).
<Spooner>
Still, it is wrong in the docs.
<alex88>
Spooner: oh, damn, I was trying with mod :S well, going to open an issue later
atyz has quit [Quit: Leaving...]
<alex88>
thanks for the check Spooner!
<Spooner>
:)
one8zero has quit [Quit: one8zero]
ephemerian has joined #ruby
jprovazn has quit [Quit: Leaving]
bradhe has quit [Remote host closed the connection]
Arya_ has quit [Remote host closed the connection]
kaneda^ has joined #ruby
dhruvasagar has quit [Ping timeout: 256 seconds]
ananthakumaran has joined #ruby
foofoobar has joined #ruby
<kaneda^>
hey all, i'm confused about an error i'm getting using sinatra: i go to print request.script_name and when attempting to start sinatra it says "unknwn regex options - apl" as well as "syntax error, unexpected tSTRING_BEG"
<kaneda^>
it had no problem with request.body and request.scheme though
gasbakid has joined #ruby
stoic_squirrel has quit [Quit: Computer has gone to sleep.]
Arya_ has joined #ruby
niklasb has quit [Ping timeout: 256 seconds]
arya has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
Arya_ has quit [Client Quit]
shock_one has joined #ruby
dmiller_ has joined #ruby
rickmasta has joined #ruby
stoic_squirrel has joined #ruby
aeontech has joined #ruby
<kaneda^>
i imagine it's due to a comment it thinks is the beginning of a string param
gyre007 has joined #ruby
gaspar|work has joined #ruby
pitzips has joined #ruby
<kaneda^>
i removed the comments and now it says unterminated regexp meets end of file
shime has quit [Quit: Leaving]
<gaspar|work>
I'm having issues parsing JSON from youtube in ruby, I get invalid format error for string that parses fine in JS liter http://pastie.org/7822986 what could it be?
kpshek has joined #ruby
tjcravey has quit [Ping timeout: 264 seconds]
jduan1981 has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
tjcravey has joined #ruby
dustint has quit [Ping timeout: 256 seconds]
cantonic has joined #ruby
gyre008 has quit [Ping timeout: 255 seconds]
<MrZYX>
gaspar|work: hm, JSON.parse works fine for me on that
dmiller_ has quit [Ping timeout: 256 seconds]
<gaspar|work>
MrZYX: I'm using Oj since JSON.parse was also giving me issues
rtl_ is now known as rtl
codecop has joined #ruby
<MrZYX>
used open-uri for quick testing, maybe httpparty does garbage?
akashj87_ has quit [Quit: Leaving]
banister_ has quit [Remote host closed the connection]
carlyle has quit [Remote host closed the connection]
<kaneda^>
there's no extra white-space, no visible indentation problems...
hiroyuki has quit [Read error: Connection reset by peer]
wedgex has joined #ruby
tangledhelix has joined #ruby
pkrnj has joined #ruby
tylersmi_ has joined #ruby
Ontolog has joined #ruby
yoshie902a has joined #ruby
alvaro_o has joined #ruby
rupee has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
<yoshie902a>
Trying to drop a database using active record, but getting drop_database no method error. I'm using ActiveRecord::Base.connection.drop_database @config['database'], any help?
tylersmith has quit [Ping timeout: 276 seconds]
<MrZYX>
-> #rubyonrails
Ontolog_ has joined #ruby
<yoshie902a>
Doing this completely out of rails,
<Spooner>
Yes, but Rails people know about AR ;)
<yoshie902a>
got it, ok, thanks!
<Spooner>
And most of us here don't touch it.
<yoshie902a>
how do you handle database connections?
chandankumar has joined #ruby
chrishunt has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
<yoshie902a>
trying to find a simple way to store and retrieve my data, but prefer to avoid the whole rails thing. Someone recommended using AR, but I assume there are other methods to connecting to a sql database.
<Ontolog_>
given ruby 2.0's improved GC (enabling the use of copy-on-write for forked processes) i wonder how much of an improvement (if any) in memory consumption we would get by switching to real threads (most likely jruby)
Ontolog_ is now known as Ontolog
<matti>
Ontolog: Real Threads?
<Ontolog>
matti: yes
<matti>
Ontolog: You do you know thar since 1.9 Ruby is using OS threads 1:1 manner?
<Ontolog>
matti: as in not green threads
<apeiros>
Ontolog: how are real threads related with memory consumption?
<apeiros>
matti: um, not correct?
<matti>
apeiros: How so?
<apeiros>
there's GIL
<apeiros>
and it's still present in 2.0
Al___ has quit [Quit: Al___]
dustint has quit [Ping timeout: 255 seconds]
<matti>
apeiros: That has nothing to do with OS thread not being mapped to Ruby one.
d2dchat_ has joined #ruby
<Ontolog>
well if you can run multiple threads then all those threads will be sharing memory, regardless of how GC works
leonidlm has quit [Ping timeout: 252 seconds]
<Ontolog>
the alternative to multi-threaded is multi-process
dmiller has quit [Remote host closed the connection]
whowantstolivefo has quit [Quit: who wants to live forever ?]
<r0bgleeson>
but yeah, write some benchmarks. in my experience, threads on 1.9 can outperform forks because of the spawn time but it depends on the code you're running and for how long it'll run (short runs, threads almost always win)
dmiller has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
kesor has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
bradhe has quit [Remote host closed the connection]
Ontolog_ has joined #ruby
nettoweb has joined #ruby
zph has joined #ruby
zph has quit [Excess Flood]
<kesor>
Can someone suggest a way to stream stdout from Open3.popen3 into redis using the IO object and not waiting for the whole IO to finish first?
Ontolog__ has joined #ruby
jtharris_ has joined #ruby
jtharris has quit [Read error: Connection reset by peer]
undersc0re97 has quit [Quit: WeeChat 0.4.0]
mklappstuhl has quit [Ping timeout: 256 seconds]
<r0bgleeson>
kesor: maybe not the best way but you could use something like celluloid to asynchronously execute code that polled stdout & wrote to redis.
kayloos has joined #ruby
bradhe has joined #ruby
dmiller has quit [Ping timeout: 264 seconds]
<kesor>
r0bgleeson: lets say that I already use celluloid. How do I actually get the IO stream at regular intervals from the popen3 object?
allaire has quit [Quit: allaire]
Ontolog has quit [Ping timeout: 245 seconds]
<r0bgleeson>
kesor: you'd need to poll, so you could use something like IO.select(in a loop) to check for when the io is readable.
jtharris_ is now known as jtharris
<kesor>
so something like while sout.select do redis_put(sout.gets) end ?
forlin has quit [Remote host closed the connection]
Ontolog_ has quit [Ping timeout: 268 seconds]
<r0bgleeson>
no, the select interface is not like that.
b0oh has joined #ruby
<kesor>
what if I don't really care about asynchronity … I can have something blocking in the while(something), what would I use?
<r0bgleeson>
IO.select
robbyoconnor has quit [Ping timeout: 256 seconds]
kofno has quit [Remote host closed the connection]
colonolGron has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
bradhe has quit [Ping timeout: 256 seconds]
<r0bgleeson>
loop { io.gets } may also work.
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
sambao21 has joined #ruby
<kesor>
r0bgleeson: what if I think about the IO as a file, use the file methods like open/read/etc… how can I loop over a file and get it line by line or something… sout.readlines do … end ?
<r0bgleeson>
loop { line = io.gets }
<kesor>
cool, i'll try that. thanks!
<r0bgleeson>
sure
<kesor>
but I need a stop condition, say while not io.closed? or something
<r0bgleeson>
yeah, you will get an error if you try to read from a closed io.
jrendell has quit [Read error: Operation timed out]
<apeiros>
gets actually returns nil at eof
wildcard0 has quit [Read error: Connection reset by peer]
jrendell has joined #ruby
momomomomo has quit [Quit: momomomomo]
<kesor>
io.gets is like io.read but without waiting for it to close?
<kesor>
like unblocking read
niceguyjames has quit [Quit: Computer has gone to sleep.]
<r0bgleeson>
io.gets is a blocking read.
dmiller has joined #ruby
newTech has quit [Quit: newTech]
<kesor>
what is its end condition? eof?
ipalaus has quit [Read error: Connection reset by peer]
<r0bgleeson>
io.gets reads until it finds a line separator so usually "\n".
<kesor>
ohh.. that is perfect then
niceguyjames has joined #ruby
banister`sleep has quit [Read error: Connection reset by peer]
nwertman has quit [Quit: leaving]
cofin has quit [Quit: cofin]
nwertman has joined #ruby
<kesor>
ah damn… looks like I still need to use select :( can't mplex stdout and stderr without looking over both :/
wildcard0 has joined #ruby
teddyp1cker has joined #ruby
danslo has quit [Quit: danslo]
whowantstolivefo has joined #ruby
teddyp1cker has left #ruby [#ruby]
kleinerdrache has quit [Quit: Ex-Chat]
dustint has quit [Ping timeout: 264 seconds]
FunkySayu has quit [Read error: Operation timed out]
JoeHazzers has quit [Read error: Operation timed out]
Scient has quit [Read error: Operation timed out]
FunkySayu has joined #ruby
codecop has quit [Read error: Operation timed out]
JoeHazzers has joined #ruby
syamajala has quit [Ping timeout: 264 seconds]
blaxter has quit [Ping timeout: 252 seconds]
codecop has joined #ruby
spider-mario has quit [Remote host closed the connection]
cout has quit [Read error: Operation timed out]
axl_ has quit [Quit: axl_]
miroatme has left #ruby ["PONG :holmes.freenode.net"]
cout has joined #ruby
nwertman has quit [Client Quit]
Scient has joined #ruby
b0oh has quit [Quit: Leaving.]
cantonic has quit [Quit: cantonic]
nwertman has joined #ruby
dmiller has quit [Remote host closed the connection]
dmiller has joined #ruby
jasonkuhrt has joined #ruby
kemist has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski_ has joined #ruby
snuglepuss has joined #ruby
jdunck has joined #ruby
alex__c2022_ has joined #ruby
krainboltgreene has quit [Quit: krainboltgreene]
timepilot has joined #ruby
pskosinski has quit [Ping timeout: 245 seconds]
d2dchat_ has quit [Remote host closed the connection]
timepilot has quit [Client Quit]
timepilot has joined #ruby
clocKwize has quit [Quit: clocKwize]
yalue has quit [Ping timeout: 252 seconds]
jdunck_ has joined #ruby
dmiller has quit [Ping timeout: 255 seconds]
alex__c2022 has quit [Ping timeout: 245 seconds]
alex__c2022_ is now known as alex__c2022
thetristan has quit [Quit: thetristan]
gaspar|work has quit [Quit: gaspar|work]
pskosinski_ has quit [Client Quit]
centr0 has joined #ruby
jasonkuhrt has quit [Ping timeout: 264 seconds]
cantonic has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
rickmasta has joined #ruby
jdunck has quit [Ping timeout: 252 seconds]
jdunck_ is now known as jdunck
timepilot has quit [Client Quit]
dustint has joined #ruby
thetristan has joined #ruby
thetristan has quit [Client Quit]
twoism has quit [Remote host closed the connection]
altivec has quit [Quit: Computer has gone to sleep.]
rickmasta has quit [Read error: Connection reset by peer]
<Quadlex>
If I wanted to deal with thread confusion I'd have become a haberdasher
jdunck has quit [Quit: Computer has gone to sleep.]
Neomex has quit [Quit: Neomex]
khismetix has quit [Ping timeout: 252 seconds]
brujoand has joined #ruby
<brujoand>
hey guys, I'm looking for a ruby gui libray that works both on linux and osx. nothing fancy, i basically just need a papup, with some text, a button and a text input field. I'm leaning towards gtk+ in lack of anything better/simpler. any tips?
nmeum1 is now known as nmeum
huttan has joined #ruby
jonahR has quit [Quit: jonahR]
gvz has quit []
jerius_ has joined #ruby
<waxjar>
brujoand, shoes seems to be the standard-ish answer
axl_ has joined #ruby
Jinie has joined #ruby
<brujoand>
waxjar: yeah I just landed on their webpage. look promising
johnnyfuchs1 has quit [Remote host closed the connection]
jduan1981_ has joined #ruby
wgosling has joined #ruby
darkapex has quit [Ping timeout: 264 seconds]
waxjar has quit [Ping timeout: 264 seconds]
kofno has quit [Remote host closed the connection]
pcarrier has joined #ruby
johnnyfuchs has joined #ruby
johnnyfuchs has quit [Remote host closed the connection]
jduan1981 has quit [Ping timeout: 252 seconds]
johnnyfuchs has joined #ruby
jduan1981_ has quit [Read error: Connection reset by peer]
jduan1981 has joined #ruby
neataroni has joined #ruby
jasonkuhrt has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
pkrnj has joined #ruby
hadees has quit [Quit: hadees]
krainboltgreene has joined #ruby
thetristan has joined #ruby
Eldariof-ru has quit [Ping timeout: 252 seconds]
sideshowcoder has quit [Read error: Operation timed out]
_carloslopes has quit [Remote host closed the connection]
pcarrier has quit [Ping timeout: 252 seconds]
kaneda^ has joined #ruby
<kaneda^>
hey all, how do i pass the request object to a template?
pcarrier has joined #ruby
<kaneda^>
this is in sinatra, to be specific, and i dont want to create an erb template on the fly, i want to use one of my views and pass the request object
<kaneda^>
i tried this method, replacing :name for :request and params[:name] for request
chrishough has joined #ruby
<kaneda^>
i dont get an error but everything is blank
[Rickmasta] has quit [Quit: Leaving...]
jtharris has quit [Quit: WeeChat 0.4.0]
jblack has quit [Ping timeout: 256 seconds]
jduan1981 has quit [Read error: Connection reset by peer]
huttan has quit [Remote host closed the connection]
zekefast has quit [Quit: Leaving.]
pyrac has joined #ruby
jduan1981 has joined #ruby
ij has quit [Quit: WeeChat 0.3.9.2]
sideshowcoder has joined #ruby
brujoand has left #ruby [#ruby]
syamajala has quit [Read error: Connection reset by peer]
<kaneda^>
MrZYX: you still around?
jrendell has joined #ruby
backjlack has quit [Remote host closed the connection]
<MrZYX>
yup, I'd answer if I'd an idea ;)
freerobby has quit [Quit: Leaving.]
jerius_ has joined #ruby
nhhagen_ has quit [Remote host closed the connection]
freerobby has joined #ruby
jduan1981 has quit [Read error: Connection reset by peer]
axl_ has quit [Quit: axl_]
jerius has quit [Ping timeout: 260 seconds]
jerius_ is now known as jerius
malte_ has joined #ruby
megha is now known as baba
<kaneda^>
MrZYX: i know it's kind of a weird case, and it seems odd to me that the request object isnt available in the template directly after invoking it without having to pass it as local
<kaneda^>
in django the request object is available throughout the server-side lifecycle, same with J2EE
BonSequitur has joined #ruby
<MrZYX>
well, what do you need it for in the view?
<kaneda^>
i just want to pretty print the same info i had before, as an exercise to test out templating
<kaneda^>
i could just as easily make an ERB object on the fly and do it in the url dispatcher, but this feels wrong
codecop has quit [Remote host closed the connection]
<MrZYX>
well, then as always
<MrZYX>
show code
<kaneda^>
yep, one sec :)
<BonSequitur>
Is there some way of splitting a long interpolated string into multiple lines in the source file while keeping it a single line?
chessguy has joined #ruby
chris__ has quit [Remote host closed the connection]
otherj has quit []
<r0bgleeson>
kesor: cool, i dont have time to look at the code but im glad it works.
jcromartie has joined #ruby
ironfroggy has joined #ruby
user64 has left #ruby [#ruby]
khismetix has joined #ruby
<kesor>
r0bgleeson: was simpler than I thought actually.
b0oh has joined #ruby
<kesor>
onward making a similar thing for my net::ssh wrapper … :)
<ironfroggy>
as a non-ruby coder, i have no idea what syntax is valid in what ruby versions. can anyone tell me "config.vm.network :private_network, ip: "33.33.33.10"" is something i should expect to not work in 1.8 versus 1.9?
<kesor>
ironfroggy: no, the ip: thing should be :ip => "33.33.33.33.10" for ruby 1.8
<kesor>
ironfroggy: also, download vagrant installer and use that. it comes with its own ruby so you wont need to mess with it.
<MrZYX>
ironfroggy: yes and support for 1.8 will end shortly, so switch to 1.9 if it throws an error at you
stoic_squirrel has joined #ruby
backjlack has joined #ruby
<ppppaul>
how do i pdf on heroku?
apok has joined #ruby
d2dchat has quit [Remote host closed the connection]
gasbakid has quit [Read error: Connection reset by peer]
huttan has joined #ruby
paulswilliamsesq has quit [Remote host closed the connection]
<ironfroggy>
thank you
<lectrick>
So I was thinking. What if every object in all of Ruby... *knew how to test itself?*
carloslopes has joined #ruby
<ironfroggy>
i have just been trying to use whatever versions ubuntu was currently at, since i don't know ruby toolchains well enough to make any decision on it my own
<lectrick>
So you could call Object#test and it would run its own unit test code.
<kesor>
lectrick: type checking kind of testing? :)
<kesor>
ironfroggy: download the vagrant installer for ubuntu.
<kaneda^>
bbiaf
<lectrick>
kesor: That's the same darn argument someone else here made when I proposed that... darn haskell gluttons
CaptainK1ots is now known as CaptainKnots
CaptainKnots has quit [Changing host]
CaptainKnots has joined #ruby
havenwood has quit [Remote host closed the connection]
ironfroggy has left #ruby ["Leaving"]
jtharris has joined #ruby
cofin has quit [Quit: cofin]
adit has joined #ruby
danslo has quit [Quit: danslo]
bluOxigen has joined #ruby
atyz has quit [Quit: Leaving...]
mark_locklear has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
joofsh has quit [Remote host closed the connection]
<MrZYX>
kaneda^: <% doesn't output anything, it's for control structures, use <%= to embed the return value into the template
meskyanichi has joined #ruby
ramblex has joined #ruby
wallerdev has quit [Quit: wallerdev]
Zeev has quit [Ping timeout: 245 seconds]
Heero has joined #ruby
axl_ has joined #ruby
sgharms has joined #ruby
wgosling has left #ruby ["Konversation terminated!"]
mattbl has quit [Quit: This computer has gone to sleep]
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
darkapex has joined #ruby
twoism has joined #ruby
waxjar has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
sambao21 has joined #ruby
mattbl has joined #ruby
j0sh__ has quit [Ping timeout: 252 seconds]
nemesit|znc has quit [Ping timeout: 245 seconds]
sayan has quit [Read error: Connection reset by peer]
ToApolytoXaos has quit [Quit: Leaving]
Al__ has joined #ruby
carloslopes has quit [Remote host closed the connection]
lewix has joined #ruby
nemesit|znc has joined #ruby
Heero has quit [Ping timeout: 268 seconds]
jonahR has joined #ruby
mixel has joined #ruby
<solrize>
python had doctest but it never really caught on
<solrize>
erlang has something like haskell's quickcheck and it works ok even though erlang is latent-typed like ruby
<lectrick>
interesting
<solrize>
though erlang has some imprecise type inference tools like dialyzer
<aedorn>
Hmm... how does one right a system to interface two systems together, in which system B to C is done with XML/SOAP, and the schema of XML/SOAP cannot be gotten and a test environment cannot be given? Should I call a psychic?
<aedorn>
right=write ... dear lord, I'm losing it.
<solrize>
look at the soap messages and figure out the schema, it's usually straightforward
jnoob22 has quit [Remote host closed the connection]
<lectrick>
aedorn: lol at "call a psychic"
<aedorn>
solrize: No access to the system until delivery
<solrize>
ask for sample messages
nhhagen_ has joined #ruby
<aedorn>
They won't give us any
Meeh is now known as Meeh_afk
<aedorn>
Don't worry, it's a rhetoric question =p
<solrize>
oh
<aedorn>
rhetorical..... I need to learn English again.
saarinen has quit [Quit: saarinen]
machuga is now known as machuga|brb
<aedorn>
I've been reading forums too much, and have seen my ability to write (or type) sentences go down the drain.
machuga|brb is now known as machuga
machuga is now known as machuga|brb
akhet has quit [Remote host closed the connection]
kristofers has quit []
nemesit|znc has quit [Ping timeout: 255 seconds]
machuga|brb is now known as zz_machuga|brb
baroquebobcat has joined #ruby
monkegji_ has joined #ruby
nfk has quit [Quit: yawn]
saarinen has joined #ruby
pcarrier has quit [Ping timeout: 272 seconds]
Mapleh has quit []
freerobby has quit [Quit: Leaving.]
jonathanwallace has quit [Quit: WeeChat 0.4.0]
cofin has joined #ruby
daniel_hinojosa has joined #ruby
nhhagen_ has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Max SendQ exceeded]
whowantstolivefo has quit [Quit: quit]
robbyoconnor has joined #ruby
jdunck has joined #ruby
newTech has joined #ruby
Faris10 has joined #ruby
monkegjinni has quit [Ping timeout: 256 seconds]
jonathanwallace has joined #ruby
Umren has quit [Remote host closed the connection]
nemesit|znc has joined #ruby
EPIK has joined #ruby
<kaneda^>
MrZYX: oh, that's just like in django, i misread the erb doc, thanks
allaire has joined #ruby
thetristan has quit [Quit: thetristan]
Faris9 has quit [Ping timeout: 255 seconds]
pcarrier has joined #ruby
<kaneda^>
MrZYX: worked immediately, thanks
thetristan has joined #ruby
Matip has quit [Ping timeout: 245 seconds]
jtharris has quit [Quit: WeeChat 0.4.0]
danslo has joined #ruby
skattyadz has quit [Quit: skattyadz]
atyz has joined #ruby
zmanfx has quit [Ping timeout: 245 seconds]
jp has joined #ruby
jblack has joined #ruby
skattyadz has joined #ruby
nwertman has quit [Quit: leaving]
allaire has quit [Quit: allaire]
thebastl has quit [Read error: Connection reset by peer]
khismetix has quit [Quit: Computer has gone to sleep.]
platzhirsch1 has joined #ruby
thebastl has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.0]
kaneda^ has left #ruby [#ruby]
khismetix has joined #ruby
nwertman has joined #ruby
krombr has joined #ruby
nwertman has quit [Client Quit]
thebastl has quit [Remote host closed the connection]
bitcycle has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
pitzips has quit [Remote host closed the connection]
pinpin404 has quit [Quit: Screw you guys i'm going home ! KMP !]
SiliconDon has joined #ruby
nwertman has joined #ruby
jtharris has joined #ruby
zz_machuga|brb is now known as machuga
monkegji_ has quit [Ping timeout: 272 seconds]
danslo has quit [Quit: danslo]
santana has quit [Quit: Saliendo]
mljsimone has quit [Remote host closed the connection]
nwertman has quit [Quit: leaving]
nwertman has joined #ruby
wmoxam has quit [Ping timeout: 256 seconds]
jasonkuhrt has joined #ruby
jasonkuhrt has quit [Client Quit]
_nitti_ has joined #ruby
pipewerk has quit [Remote host closed the connection]
<thoraxe>
i'm having a tough time figuring out how to use nokogiri. In the following xml, i'm trying to figure out the parent element (vm)'s ID if i search by the name. i can't seem to begin to wrap my head around the search function
khismetix has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 272 seconds]
thebastl has joined #ruby
_nitti has quit [Ping timeout: 255 seconds]
dustint has quit [Read error: Operation timed out]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
<adit>
hidenori: diving into the deep end, eh? Most people wouldn't choose Haskell as their first language :)
Lubinski has quit [Quit: Leaving]
ramblex has quit [Quit: Leaving]
ramblex has joined #ruby
<adit>
Kaidelong: yes
chandankumar has quit [Ping timeout: 264 seconds]
devdazed has joined #ruby
jeebster1 has joined #ruby
evenix_ has quit [Remote host closed the connection]
mixel has quit [Quit: mixel]
jeebster has quit [Ping timeout: 260 seconds]
Jinie has quit [Quit: Computer has gone to sleep.]
chessguy has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Kar- has quit [Remote host closed the connection]
kobain has quit [Quit: l'unica verità.. è la morte stessa!]
<thoraxe>
or better yet, how would you look for a particular value of an element with nokogiri
kobain has joined #ruby
mixel has joined #ruby
kobain has quit [Client Quit]
Ontolog has joined #ruby
kobain has joined #ruby
kobain has quit [Excess Flood]
kobain has joined #ruby
usrnix has joined #ruby
<usrnix>
hi, is rvm still the choice for managing ruby installs?
bwlang has left #ruby [#ruby]
Ripp__ has quit [Quit: This computer has gone to sleep]
danslo has joined #ruby
emergion has joined #ruby
Ontolog__ has quit [Ping timeout: 268 seconds]
jovy88 has quit [Read error: Connection reset by peer]
<objectivemo>
usrnix: I believe rvm and rbenv to be the two most commonly used.
pskosinski has joined #ruby
dankest has quit [Read error: Connection reset by peer]
jovy88 has joined #ruby
robscomputer has quit [Remote host closed the connection]
rdg has joined #ruby
saarinen has quit [Quit: saarinen]
failshell has quit [Remote host closed the connection]
dr_neek has quit [Quit: dr_neek]
_nitti_ has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 264 seconds]
_nitti has joined #ruby
alexgordon is now known as alexgordon2
emergion has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby
<postmodern>
usrnix, you can also just use the package manager's rubies
<postmodern>
usrnix, or use ruby-build + chruby
bradhe has quit [Remote host closed the connection]
invisime1 has quit [Quit: Leaving.]
<usrnix>
ok thanks
bradhe has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Jinie has joined #ruby
<platzhirsch1>
Anyone using Ruby with tire to access ElasticSearch? Can't find a convenient way in their source code to get from a Tire::Results::Item the corresponding Persistence model object
allaire has joined #ruby
allaire has quit [Client Quit]
_nitti has quit [Ping timeout: 248 seconds]
Jinie has quit [Client Quit]
saarinen has quit [Client Quit]
Guest42321 has quit [Ping timeout: 245 seconds]
pyrac has quit [Quit: pyrac]
chessguy has joined #ruby
Ripp__ has joined #ruby
digifiv5e has joined #ruby
digifiv5e is now known as Guest7217
interactionjaxsn has quit [Ping timeout: 272 seconds]
mattbl has quit [Quit: This computer has gone to sleep]
unflores has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
Ripp__ has quit [Client Quit]
atmosx has joined #ruby
alexmreis has quit [Quit: Leaving.]
machuga is now known as machuga|away
v0n has joined #ruby
sambao21 has joined #ruby
centr0 has quit [Quit: centr0]
nettoweb has quit [Quit: nettoweb]
SiliconDon has quit [Quit: SiliconDon]
thone_ has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
mattbl has joined #ruby
wallerdev has joined #ruby
Al__ has quit [Quit: Al__]
bradhe has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
newTech has quit [Quit: newTech]
thone has quit [Ping timeout: 264 seconds]
jarray52 has joined #ruby
Squarepy has quit [Quit: Leaving]
centr0 has joined #ruby
breakingthings has quit [Quit: breakingthings]
robscomputer has joined #ruby
robscomputer has quit [Remote host closed the connection]
robscomputer has joined #ruby
blandflakes has quit [Quit: Leaving]
Zeev has joined #ruby
Hanmac1 has joined #ruby
LyonJT has joined #ruby
undersc0re97 has quit [Quit: WeeChat 0.4.0]
bean__ has quit [Quit: Computer has gone to sleep.]