alestuber has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 276 seconds]
havenwood has quit [Ping timeout: 245 seconds]
alestube_ has joined #ruby-lang
alestube_ has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 256 seconds]
7F1AALP94 has quit [Ping timeout: 272 seconds]
hahuang61 has joined #ruby-lang
j4cknewt has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 244 seconds]
j4cknewt_ has quit [Ping timeout: 256 seconds]
alestuber has joined #ruby-lang
ruurd has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
stef204 has joined #ruby-lang
sarkyniin has quit [Remote host closed the connection]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
sunslide has joined #ruby-lang
<sunslide>
hi guys, pretty new to the awesomeness of ruby I'm going up the walls here with Net:HTTP.. trying to POST with both use_ssl and basic_auth.. all examples I get either use Net::HTTP (good for use_ssl) and the others use Net:HTTP:Get/Post for the basic_auth.. could anyone help me find/make a snippet that would work with both? I'll paste my working WGET command line in a sec
ruurd has quit [Quit: Leaving...]
<sunslide>
This works, yet I'm unable to script it properly: wget --http-user=basic_user --http-password=basic_password --post-data login=post_user\&password=post_password https://basic_user:basic_password@domain.com/login --save-cookies cookie.bin --keep-session-cookies
<jhass>
that looks like you should jump straight to mechanize
<sunslide>
yes I thought I might need to do that
<sunslide>
thought I could make it work with simple http
tris has joined #ruby-lang
<jhass>
probably not worth the hassle
joaomdmoura has joined #ruby-lang
alestuber has joined #ruby-lang
tomaz_b has quit [Ping timeout: 265 seconds]
symm- has joined #ruby-lang
joaomdmoura has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
Musashi007 has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
k3asd` has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cornerman has quit [Read error: Connection reset by peer]
araujo has quit [Ping timeout: 240 seconds]
cornerman has joined #ruby-lang
cmisenas has quit [Ping timeout: 250 seconds]
will___ has quit [Quit: Connection closed for inactivity]
araujo_ has quit [Max SendQ exceeded]
fedexo has joined #ruby-lang
araujo_ has joined #ruby-lang
k3asd` has quit [Ping timeout: 244 seconds]
k3asd` has joined #ruby-lang
cmisenas has joined #ruby-lang
joaomdmoura has joined #ruby-lang
NewGuy02135 has quit [Ping timeout: 246 seconds]
drefined has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 258 seconds]
Nak_ has joined #ruby-lang
Nak_ has quit [Client Quit]
[k- has quit [Remote host closed the connection]
sarkyniin has joined #ruby-lang
chadwtaylor has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
fusillicode has quit [Ping timeout: 240 seconds]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
joaomdmoura has joined #ruby-lang
hahuang61 has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
chinmay_dd has quit []
tibig has joined #ruby-lang
hahuang61 has quit [Ping timeout: 258 seconds]
shinnya has joined #ruby-lang
fusillicode has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
joaomdmoura has joined #ruby-lang
scottschecter has joined #ruby-lang
banister has quit [Ping timeout: 264 seconds]
alestuber has quit [Ping timeout: 244 seconds]
gambl0re has quit [Ping timeout: 272 seconds]
gambl0re has joined #ruby-lang
sankaber has quit [Ping timeout: 246 seconds]
marcos_ has joined #ruby-lang
banister has joined #ruby-lang
Iskarlar has joined #ruby-lang
thomaslnx has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
k3asd` has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
gambl0re has quit [Ping timeout: 265 seconds]
alestuber has joined #ruby-lang
Voker57 has joined #ruby-lang
gambl0re has joined #ruby-lang
benlovell has joined #ruby-lang
ta has quit [Remote host closed the connection]
SpeakerToMeat has joined #ruby-lang
bougyman has quit [Ping timeout: 252 seconds]
<SpeakerToMeat>
Question, with rvm how can I find the latest version of ruby x.x.x it can fetch, so as to update my current x.x.x to that lattest patchest?
benlovell has quit [Ping timeout: 250 seconds]
joaomdmoura has quit [Remote host closed the connection]
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
SpeakerToMeat: just ask it to install the newest existing ruby version. it usually works.
<SpeakerToMeat>
apeiros: Better than trying to upgrade my existing one?
<jhass>
don't forget to rvm get stable prior
<SpeakerToMeat>
jhass: Was just gonna ask
<SpeakerToMeat>
My rvm is surprisingly not THAT old
<apeiros>
SpeakerToMeat: whether you want to upgrade or just install is your decision
<SpeakerToMeat>
Well if I do an "rvm install 1.9.3" it says I already have it... but I'm not sure what I have is the latest patchset
<apeiros>
oh dear
<apeiros>
1.9.3?
<havenwood>
SpeakerToMeat: 1.9 is past end-of-life.
<SpeakerToMeat>
Yeah
<apeiros>
the ruby website can tell you the newest patchset. for 1.9.3 you can also ask rvm using rvm list known
<havenwood>
SpeakerToMeat: It's been a while since a release, so: rvm get latest
<havenwood>
SpeakerToMeat: 2.2.2!
<SpeakerToMeat>
Eh I was gonna argue about putting such a new one... but with rvm it's really no pain
<SpeakerToMeat>
Man I love passenger's installer so much
<jhass>
it's a stable release, what would be bad about it?
<SpeakerToMeat>
jhass: It's just this is on a centos system, and I have had the "don't put newer stuff inside it'll screw the whole system" mentality rub on me
<SpeakerToMeat>
But I forget how good stuff like rvm and virtual_env work in these cases
<jhass>
yeah, CentOS makes me very sad every time :(
sandelius has joined #ruby-lang
<SpeakerToMeat>
jhass: There is really only one thing I do despise on centos (and its dad), which is /etc/httpd
<SpeakerToMeat>
or /etc/bind for example
<SpeakerToMeat>
Yeah, no, I'm not ussing "http", I'm using apache... or lighttpd, or nginx... call it so
<jhass>
Cent is like RHEL without the benefit (commercial support)
sepp2k has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
apt-get_ has joined #ruby-lang
sarkyniin has quit [Ping timeout: 252 seconds]
hahuang61 has joined #ruby-lang
ArchRogem has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby-lang
joaomdmoura has joined #ruby-lang
hahuang61 has quit [Ping timeout: 244 seconds]
ArchRogem has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
ArchRogem has quit [Client Quit]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
baweaver has joined #ruby-lang
alestuber has joined #ruby-lang
bertocode has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
chadwtaylor has joined #ruby-lang
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
<darix>
jhass: but you still get the long time updates
<darix>
which is what most people are happ with
<darix>
happy
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
xehbit has quit [Max SendQ exceeded]
micmus has quit [Ping timeout: 276 seconds]
xehbit has joined #ruby-lang
crdpink2 has joined #ruby-lang
crdpink has quit [Ping timeout: 256 seconds]
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
drewo has quit [Ping timeout: 265 seconds]
xehbit has quit [Max SendQ exceeded]
gianlucadv has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
xehbit has joined #ruby-lang
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
stef204 has quit [Ping timeout: 255 seconds]
steve__ has quit [Ping timeout: 245 seconds]
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
xehbit has quit [Max SendQ exceeded]
xehbit has joined #ruby-lang
stevednd has joined #ruby-lang
b_hoffman has joined #ruby-lang
hahuang61 has joined #ruby-lang
Musashi007 has joined #ruby-lang
Obfuscate has quit [Ping timeout: 240 seconds]
micmus has joined #ruby-lang
hahuang61 has quit [Ping timeout: 250 seconds]
caseypatrickdris has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
benlovell has joined #ruby-lang
j0n3 has joined #ruby-lang
joaomdmo_ has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
chadwtaylor has quit [Remote host closed the connection]
Obfuscate has joined #ruby-lang
symm- has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
alestuber has quit [Remote host closed the connection]
lektrik has joined #ruby-lang
benlovell has joined #ruby-lang
kadoppe has quit [Ping timeout: 265 seconds]
mustmodify has joined #ruby-lang
kadoppe has joined #ruby-lang
mustmodify has left #ruby-lang [#ruby-lang]
k3asd` has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
rindolf has joined #ruby-lang
<rindolf>
Hi all.
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<_ht>
Hi
<rindolf>
_ht: what's up?
<_ht>
Mostly procrastinating and wondering why this channel is almost dead today
<_ht>
You?
* _ht
is also drinking whiskey
<jhass>
_ht: #ruby is very alive ;)
alestuber has joined #ruby-lang
<_ht>
Ah
* _ht
goes there
<jhass>
(well, today, not at the moment)
<_ht>
What's the difference between the two channels?
<ljarvis>
heh
<jhass>
#ruby is bigger
<jhass>
hopefully none soon
<ljarvis>
they'll be merged soon
<_ht>
Oh noes; culture clash ensue!
<jhass>
basically we wait for drbrain to return from holidays, right?
k3asd` has quit [Remote host closed the connection]
<ljarvis>
I believe so
k3asd` has joined #ruby-lang
elia has joined #ruby-lang
<_ht>
Another question: what's the ratio [ rails : ruby ] around here?
<jhass>
we delegate rails talk to #rubyonrails
* _ht
likes that
rindolf has quit [Quit: Leaving]
alestuber has quit [Ping timeout: 276 seconds]
yxhuvud has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
hahuang61 has joined #ruby-lang
yxhuvud has joined #ruby-lang
apt-get_ has quit [Ping timeout: 252 seconds]
stef204 has joined #ruby-lang
hahuang61 has quit [Ping timeout: 264 seconds]
benlovell has quit [Ping timeout: 276 seconds]
alestuber has joined #ruby-lang
ruby-lang980 has joined #ruby-lang
<ruby-lang980>
hello
mcclurmc has joined #ruby-lang
<ruby-lang980>
anybody here ?
xehbit has quit [Changing host]
xehbit has joined #ruby-lang
<jhass>
yes, you are
<ruby-lang980>
ah :)
<ruby-lang980>
e
<ruby-lang980>
do you know how return a string with moving the char, like in C
benlovell has joined #ruby-lang
<jhass>
could you share the code you have so far and the result you want to gist.github.com ?
<ruby-lang980>
for exemple str = "hi whatsupp" ; return str + 3 # so return = "whatstupp" ?
<Lingo>
but yeah, seems like you need a simple parser
<|jemc|>
if he/she is solving polynomial equations, one can't assume all of the operands are literal numbers - some of them are probably symbolic identifiers
lektrik has quit [Quit: Leaving]
skyrocker1 has joined #ruby-lang
skyrocker has quit [Ping timeout: 250 seconds]
j0n3 has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
j4cknewt has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
fedexo has quit [Remote host closed the connection]
j4cknewt has quit [Ping timeout: 252 seconds]
marcos_ has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
CaptainCibai has joined #ruby-lang
banister has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
k3asd` has quit [Ping timeout: 276 seconds]
mcclurmc has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
cmisenas has quit [Ping timeout: 256 seconds]
hahuang61 has joined #ruby-lang
drefined has joined #ruby-lang
cmisenas has joined #ruby-lang
hahuang61 has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby-lang
bertocode has quit [Quit: Nettalk6 - www.ntalk.de]
benlovell has quit [Ping timeout: 264 seconds]
gix has quit [Ping timeout: 250 seconds]
gix has joined #ruby-lang
tibig has quit [Ping timeout: 246 seconds]
cmisenas has quit [Ping timeout: 256 seconds]
bougyman has quit [Quit: leaving]
bougyman has joined #ruby-lang
Ropeney has joined #ruby-lang
nedp has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
doctorly has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 265 seconds]
havenwood has joined #ruby-lang
gambl0re has joined #ruby-lang
<doctorly>
Hi, I have been programming in ruby for over a semester now. I am making an app and I am trying to figure out where I should put my files. Like I can't find a guide on what files go into the LIB directory and why. Everything I find is based on rails, any links or help would be awesome.
kr3ssh has quit [Ping timeout: 272 seconds]
kr3ssh has joined #ruby-lang
<doctorly>
I have working code, I just need a good guide on where to put it, like /lib and /bin.
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<doctorly>
zenspider: I have another quesetion relating to this, is any app made in ruby considered a jem?
<doctorly>
gem*
<doctorly>
zenspider: these links are perfect, thank you
<zenspider>
doctorly: not sure I understand your question... anything released as a gem is a gem... "app" or otherwise
<doctorly>
zenspider: So even though this guide is for a 'gem' the general structure is standard for any ruby app? It will be fine for me to use this if I'm not intending for it to be a gem?
<zenspider>
"app" doesn't mean anything
<zenspider>
what are you actually trying to do?
workmad3 has joined #ruby-lang
<doctorly>
zenspider: so I am making a 'gem' then? That is the part I was confused about. I have an app that calculates stats for a video game. I have it up on github, and I want to expand it, but I don't know what structure to use for all of the files.
<womble>
doctorly: If your code (be it an "app", a library, or a piece of performance art) will be distributed as a gem, then it should follow the guidelines that zenspider linked. If you distribute it some other way, then the rules are likely to be different.
GPrime has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<womble>
What the rules *are* will depend on the method of distribution.
<womble>
doctorly: Is your program intended to be accessed via a web browser?
<doctorly>
womble: I understand what you are saying. If I want to make an app with a basic GUI using SHOES should I use a different structure then? Sorry, I have mostly used rails for making full apps like this. It will be a stand-alone program.
<zenspider>
doctorly: I can't really answer any question if it isn't asked. You've yet to describe your situation and what you're actually trying to do and I'm not in the mood to guess or play dentist. If you want to fully describe your situation and ask a clear question, then I'm happy to help. Until then, I'm doing my homework
<doctorly>
zenspider: sorry to disturb you, it seems like I don't really have enough information to ask what you want me to ask, hopefully someone else can help. Good luck on your homework.
hahuang61 has joined #ruby-lang
alestuber has quit [Ping timeout: 265 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
<womble>
doctorly: OK, if it's a GUI app, you need to get your code on your users' computers. For that, a gem is *probably* the least-hassle way of doing that, so you'll want to follow the rubygems guide zenspider gave you.
<doctorly>
womble: that is awesome! Thanks a lot, I will read up on how to do it and hopefully learn a lot more.