kirun has quit [Remote host closed the connection]
geggam has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Remote host closed the connection]
whomp has quit [Ping timeout: 240 seconds]
rpag has quit [Quit: Leaving]
robert__ has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
pengin has quit [Remote host closed the connection]
cjm_ has joined #ruby
pengin has joined #ruby
qhartman has quit [Quit: Ex-Chat]
<cjm_>
Hi Folks, how do I reconcile bundler and gem? When I execute "rake time:zones:local" I'm told to try "bundle exec ..." which works. the problem is there are two versions and bundler and gem disagree.
evanjs has quit [Remote host closed the connection]
tuelz has quit [Ping timeout: 250 seconds]
tuelz has joined #ruby
crack_user has joined #ruby
towski_ has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
codeFiend has quit [Quit: codeFiend]
s00pcan has joined #ruby
bitcycle has joined #ruby
hiyosi has joined #ruby
Eiam_ has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
radic has quit [Ping timeout: 245 seconds]
radic has joined #ruby
jenrzzz has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
anaeem1_ has joined #ruby
braincrash has quit [Quit: bye bye]
DadoCe has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
s00pcan has quit [Remote host closed the connection]
poguez has quit [Quit: Connection closed for inactivity]
skj3gg has joined #ruby
braincrash has joined #ruby
s00pcan has joined #ruby
charliesome has joined #ruby
s00pcan has quit [Client Quit]
greenbagels has quit [Quit: Leaving]
DonOtreply has quit [Quit: DonOtreply]
tuelz has quit [Ping timeout: 244 seconds]
Trep has joined #ruby
intyl has joined #ruby
codeFiend has joined #ruby
teddyp1cker has joined #ruby
s00pcan has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
kiyote23 has joined #ruby
antgel has quit [Ping timeout: 245 seconds]
teddyp1cker has quit [Ping timeout: 265 seconds]
apurcell has quit [Quit: Be back later ...]
bitcycle has quit [Ping timeout: 264 seconds]
josephndenton has joined #ruby
kiyote23 has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
s00pcan has quit [Quit: leaving]
s00pcan has joined #ruby
ChoiKyuSang has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
WishBoy has quit []
WishBoy has joined #ruby
oo_ has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
psy_ has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 265 seconds]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
adriancb has quit [Remote host closed the connection]
jefus_ has joined #ruby
Spami has joined #ruby
arescorpio has quit [Excess Flood]
slawrence00 has joined #ruby
x1337807x has joined #ruby
x77686d has quit [Quit: x77686d]
x1337807x has quit [Max SendQ exceeded]
yeticry has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
lemur has joined #ruby
davasaurous has joined #ruby
yeticry has joined #ruby
fedexo has joined #ruby
fedexo_ has joined #ruby
jefus has quit [Ping timeout: 244 seconds]
lkebin has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
<lkebin>
Hello
<lkebin>
I'm a newer for use Ruby. I get a problem for rubygem
whomp has joined #ruby
fabrice31 has joined #ruby
lsmola has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
<lkebin>
I'm using redmine . and it need install capybara. When I install the capybara 1.1.4 I get the error is need rubyzip, I have install the rubyzip 0.9.9, seems no valid
<lkebin>
My ruby version is 1.8.7
lw has joined #ruby
<cpt_yossarian>
upgrade to ruby 1.9+. what OS are you using?
<lkebin>
CentOS
<cpt_yossarian>
does your package manager have a ruby1.9 package?
reset has joined #ruby
<lkebin>
No, The latest it 1.8.7
<lkebin>
The latest is 1.8.7
Soda has quit [Remote host closed the connection]
<lkebin>
Any other source provide the latest version ?
<cpt_yossarian>
did you already run gem update to see if it can update with 1.8.7?
<cpt_yossarian>
*sudo gem update
whomp has quit [Ping timeout: 264 seconds]
fedexo_ has quit [Read error: Connection reset by peer]
fedexo has quit [Read error: Connection reset by peer]
<lkebin>
I did run yum update.
fabrice31 has quit [Ping timeout: 265 seconds]
fedexo has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
fedexo_ has joined #ruby
<lkebin>
and only 1.8.7 for ruby
<lkebin>
You mean gem or yum ?
<cpt_yossarian>
try running sudo gem update. i
<cpt_yossarian>
gem, not yum
<lkebin>
Okay, Let me try
reset has quit [Remote host closed the connection]
reset has joined #ruby
SilkFox_ has joined #ruby
* pontiki
throws a catch-22 at cpt_yossarian
* cpt_yossarian
can't catch it because in order to catch it, he has fly more missions
<shevy>
oh pontiki knows alan arkin
iaj has joined #ruby
<pontiki>
pfft. joseph heller, you philistine
banjara has joined #ruby
<cpt_yossarian>
not a fan?
<pontiki>
huge fan
iaj has quit [Client Quit]
<cpt_yossarian>
ah :)
Vile` has quit [Remote host closed the connection]
<shevy>
my generation only watches movies, reading novels is frowned upon
thumpba_ has joined #ruby
<pontiki>
lies, lies and more lies
<cpt_yossarian>
shevy: i'm probably part of your generation
<lkebin>
[root@office redmine]# gem update
<lkebin>
Updating installed gems
<lkebin>
Updating actionmailer
<lkebin>
ERROR: Error installing actionmailer:
<lkebin>
i18n requires Ruby version >= 1.9.3.
<lkebin>
Updating actionpack
<lkebin>
Killed
<lkebin>
cpt_yossarian: It's failed.
<cpt_yossarian>
lkebin, i don't know how much luck you're going to have with such an old version of ruby
<Andrevan>
I've generally used minimagick since it is basically compatible with rmagick, but smaller
<Andrevan>
however I just use carrier_wave
<Andrevan>
which has like an OO definition of image formats
<Andrevan>
you get an uploader class which you can mount onto activerecord objects etc
teddyp1cker has quit [Ping timeout: 245 seconds]
<Andrevan>
but yeah rmagick is fine
<Andrevan>
but if you're running this once and not maintaining it and it works with File operations and a bunch of calls out to the command line why not
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
davasaurous has quit [Remote host closed the connection]
josephndenton has joined #ruby
apurcell has joined #ruby
tyfighter has quit [Quit: <3]
<echosystm>
thanks dude
ta_ has joined #ruby
noop has joined #ruby
<echosystm>
looks like rmagick will do what i need
echosystm has quit [Quit: leaving]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
valeriansaliou has joined #ruby
oo_ has quit [Remote host closed the connection]
apurcell has quit [Ping timeout: 255 seconds]
tagrudev has joined #ruby
oo_ has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Ping timeout: 256 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
ChoiKyuSang has joined #ruby
cpt_yossarian has quit [Ping timeout: 250 seconds]
hvxgr has quit [Ping timeout: 244 seconds]
codecop has joined #ruby
Macaveli has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
Macaveli has quit [Remote host closed the connection]
Macaveli has joined #ruby
icebourg has quit []
<Macaveli>
Mornin
webguynow has quit [Remote host closed the connection]
tlarevo has quit []
bitcycle has quit [Ping timeout: 264 seconds]
whomp has joined #ruby
webguynow has joined #ruby
thumpba_ has quit [Remote host closed the connection]
arup_r_ has joined #ruby
recurrence has quit [Quit: recurrence]
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit [Ping timeout: 264 seconds]
philwantsfish1 has joined #ruby
whomp has quit [Ping timeout: 250 seconds]
ChoiKyuSang has joined #ruby
SilkFox_ has joined #ruby
philwantsfish has quit [Ping timeout: 244 seconds]
<shevy>
extra difficulty: add one method to a module that makes use of a block
<shevy>
then link to a pastie with your new code
<anitchrist>
did something just fly by?
<anitchrist>
lol
valeriansaliou has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 240 seconds]
<anitchrist>
I will get there eventually
<anitchrist>
I have the class thing kinda figured out mods and methods are still a bit hazy
<shevy>
ok good
<shevy>
so modules are next
Spami has quit [Quit: Leaving]
recurrence has joined #ruby
<shevy>
I'll show you the basic
<shevy>
module Foo; end
<shevy>
now you must fill it with methods
jeanlinu_ has quit [Remote host closed the connection]
<shevy>
and then you should show how you call that method :)
yfeldblum has joined #ruby
Trep has quit [Ping timeout: 252 seconds]
LouisRoR has joined #ruby
Spami has joined #ruby
elaptics is now known as elaptics`away
aganov has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
valeriansaliou has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
bigkevmcd has joined #ruby
teddyp1cker has joined #ruby
bitcycle has joined #ruby
Spami has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
jeanlinux has joined #ruby
dc__ has joined #ruby
lkebin has joined #ruby
<lkebin>
Thanks guys. I got it for ruby's problem.
Aswebb_ has joined #ruby
hvxgr has joined #ruby
<lkebin>
But I have another question, Why does the rubygem can't check
<anitchrist>
I find it interesting that a program like privateinternetaccess utilizes ruby... its got me curious
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
fedexo_ has quit [Ping timeout: 245 seconds]
fedexo has quit [Ping timeout: 255 seconds]
apurcell has joined #ruby
ta_ has joined #ruby
_5kg has quit [Ping timeout: 265 seconds]
teddyp1cker has quit [Remote host closed the connection]
bitcycle has quit [Ping timeout: 265 seconds]
teddyp1cker has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
rbrs has joined #ruby
bal has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
Techguy305 has quit [Ping timeout: 244 seconds]
Hobogrammer has quit [Ping timeout: 244 seconds]
teddyp1cker has quit [Ping timeout: 256 seconds]
anarang has joined #ruby
<shevy>
lkebin is your question finished?
<shevy>
anitchrist that is a ruby script? what can it do?
<shevy>
the thing with ruby is that it can be very elegant poetry
<anitchrist>
not a script
<anitchrist>
an application that utilizes ruby
<anitchrist>
as far as I can tell
<shevy>
ok but
<shevy>
if it uses ruby
<shevy>
I assume it has some ruby scripts right?
intyl has quit [Ping timeout: 256 seconds]
codeFiend has quit [Quit: codeFiend]
charliesome has joined #ruby
scripore has quit [Quit: Leaving]
codeFiend has joined #ruby
iamninja has joined #ruby
fabrice31 has joined #ruby
pwnz0r has joined #ruby
adriancb has joined #ruby
oo_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
<anitchrist>
it must
oo_ has joined #ruby
teddyp1cker has joined #ruby
adriancb has quit [Ping timeout: 244 seconds]
Spami has quit [Quit: This computer has gone to sleep]
baltazore has quit [Remote host closed the connection]
lampd1 has quit [Remote host closed the connection]
chipotle has joined #ruby
luriv has joined #ruby
chipotle has quit [Client Quit]
Aswebb_ has quit [Remote host closed the connection]
<anitchrist>
thats what's got me curious
StoneCypher has quit [Ping timeout: 250 seconds]
apurcell has joined #ruby
whomp has joined #ruby
timonv_ has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
whomp has quit [Ping timeout: 244 seconds]
arup_r has joined #ruby
anitchrist has quit [Quit: Leaving]
SilkFox_ has joined #ruby
arup_r_ has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
vinc has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
<pontiki>
off to bed
teddyp1cker has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
yfeldblum has joined #ruby
sinkensabe has joined #ruby
roolo has joined #ruby
_5kg has joined #ruby
lolmaus has joined #ruby
timonv^ has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
ARCADIVS has joined #ruby
SOLDIERz has joined #ruby
charliesome has quit [Quit: zzz]
fandi has joined #ruby
timonv_ has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 265 seconds]
roolo has quit [Ping timeout: 256 seconds]
recurrence has quit [Quit: recurrence]
devoldmx has quit [Ping timeout: 240 seconds]
Ridley5 has quit [Ping timeout: 250 seconds]
hmsimha has joined #ruby
devoldmx has joined #ruby
tvl has joined #ruby
amundj has joined #ruby
tvl has quit [Client Quit]
davasaurous has joined #ruby
josephndenton has joined #ruby
dawkirst has joined #ruby
avril14th has quit [Remote host closed the connection]
<dawkirst>
hey guys, what is the best way to go about setting up complicated state (along the lines of creating multiple associated ORM objects, for example) for tests?
bitcycle has joined #ruby
bayed has joined #ruby
pkrzywicki has joined #ruby
amundj has quit [Ping timeout: 250 seconds]
josephndenton has quit [Ping timeout: 264 seconds]
pkrzywicki has quit [Read error: Connection reset by peer]
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
last_staff has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
aswen has joined #ruby
livathinos has joined #ruby
davasaurous has quit [Ping timeout: 245 seconds]
Pupeno has joined #ruby
pwnz0r has quit [Ping timeout: 244 seconds]
codeFiend has quit [Quit: codeFiend]
dionysus69 has joined #ruby
towski_ has quit [Remote host closed the connection]
ta_ has joined #ruby
<brocktimus>
dawkirst: how complex and in how many tests are you having to do it?
antgel has quit [Ping timeout: 250 seconds]
kamilc__ has joined #ruby
<dawkirst>
brocktimus: there are a few different objects involved (about 8, which needs to be created multiple times, and associated to various other objects), and the same setup is more or less used in multiple tests
antgel has joined #ruby
<brocktimus>
dawkirst: Is that like 10% of the codebase or > 50% of the codebase though? If its smaller I'd just use a few private helper methods which assist me before looking for libraries to help
x77686d has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
ponga has joined #ruby
r0ast has joined #ruby
oo_ has quit [Remote host closed the connection]
sk87 has joined #ruby
<dawkirst>
brocktimus: it's more than 50% of the codebase, but I'm also not necessarily looking for a library to help per se. I think helper methods would make sense. Where would these live though? In spec/spec_helpers maybe?
fenzil has quit [Read error: Connection reset by peer]
<brocktimus>
dawkirst: I don't use spec style so much, but in MiniTest I'd just create either a module with helpers and include that into appropriate classes or be a bit lazier and just shove it in the superclass itself. I'm guessing you can do similar with specs.
oo_ has joined #ruby
vdamewood has joined #ruby
The_NetZ has joined #ruby
<dawkirst>
Thanks brocktimus
x77686d has quit [Quit: x77686d]
<dawkirst>
brocktimus: thoughts on using factories?
<The_NetZ>
so, suppose I have some marshal'd data containing arrays, that always start with a nil value on array[0]
<The_NetZ>
any nifty way to skip that in reading in?
<brocktimus>
dawkirst: don't have any :-). Haven't needed to resort to them. I have a really minimal set of fixtures and then create most stuff I need on the fly.
sevvie has quit [Read error: Connection reset by peer]
<dawkirst>
brocktimus: cool :)
<brocktimus>
Recently I've really been trying to divorce my logic classes from having a strong reliance on ORM / persistance. For example passing in array of related records rather than explicitly using relationship.
<brocktimus>
Whole swathe of extra problems probably and I've just started doing it. But I'm finding its letting me right really detailed "inner" tests with minimal persistance required. Then still having broader tests that still stretch persistance legs.
<crome>
that might not be the best idea if your queries return thousands of results
razieliyo has quit [Ping timeout: 245 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<brocktimus>
crome: in my case it has a hard upperbound at 10s of "things" (they aren't records per se). But as with everything YMMV, just have a play around and see what sticks :-).
<brocktimus>
No silver bullet and one size doesn't and won't fit all
<crome>
also, passing in relations is not a bad idea as long as you treat them as arrays/enumerators in your logic classes
<brocktimus>
crome: agreed, thats actually a better idea
<brocktimus>
I was too stuck in details, my use case was yesterday and very weird :-P
alkoma has quit [Ping timeout: 264 seconds]
whomp has quit [Ping timeout: 245 seconds]
LouisRoR has quit [Ping timeout: 264 seconds]
<brocktimus>
Was just surprised because with a small class extraction something went from very awkward to trivial to test.
The_NetZ has left #ruby ["For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
SilkFox_ has joined #ruby
towski_ has joined #ruby
craigp has joined #ruby
towski_ has quit [Remote host closed the connection]
<dawkirst>
brocktimus: yeah that separation makes a lot of sense -- the global state that comes with the ORM makes me uneasy sometimes
sevvie has joined #ruby
msgodf has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
SilkFox_ has quit [Ping timeout: 250 seconds]
timonv^ has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
bronson has quit [Remote host closed the connection]
yfeldblum has joined #ruby
jeanlinux has quit [Remote host closed the connection]
SOLDIERz has quit [Quit: Be back later ...]
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
davasaurous has joined #ruby
sk87 has joined #ruby
jheg has joined #ruby
sevenseacat has quit [Remote host closed the connection]
DadoCe has joined #ruby
LouisRoR has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
chthon has joined #ruby
jeanlinux has joined #ruby
ghr has joined #ruby
davasaurous has quit [Ping timeout: 256 seconds]
arup_r has quit [Remote host closed the connection]
reinaldob has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
CustosL1men has joined #ruby
jeanlinux has quit [Ping timeout: 245 seconds]
davasaurous has joined #ruby
banjara has joined #ruby
banjara has quit [Changing host]
banjara has joined #ruby
antgel has joined #ruby
timonv_ has joined #ruby
olivier_bK has joined #ruby
yfeldblu_ has joined #ruby
<brocktimus>
So fun question, any advice on learning new languages? I feel like if I dont have a real "use case" to work on I can't really assess it.
reinaldob has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
roolo has joined #ruby
<banister>
brocktimus write a game
jottr_ has joined #ruby
amundj has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
AlSquire has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jeanlinux has joined #ruby
bweston92 has joined #ruby
banister has quit [Read error: Connection reset by peer]
Aswebb_ has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 264 seconds]
MartynKeigher has quit [Ping timeout: 264 seconds]
anaeem1_ has quit [Remote host closed the connection]
tvw has joined #ruby
athan has quit [Ping timeout: 244 seconds]
rdark has joined #ruby
youssefchaker_ has joined #ruby
claptor has quit [Quit: this channel is bakas]
youssefchaker_ is now known as youssefchaker
joonty has quit [Quit: joonty]
youssefchaker is now known as ych4k3r
whomp has quit [Ping timeout: 244 seconds]
alkoma has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
Fusl has joined #ruby
evanjs has joined #ruby
bitcycle has joined #ruby
MartynKeigher has joined #ruby
SilkFox_ has joined #ruby
vitaly has joined #ruby
<vitaly>
hey guys
timonv_ has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<vitaly>
any1 has experience with big data?
<vitaly>
^^
phutchins has joined #ruby
<vitaly>
guuuys?
bitcycle has quit [Ping timeout: 250 seconds]
n008f4g_ has joined #ruby
gregf has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
<usrenmae>
What's the proper way of deploying rails onto production servers, considering there is no need to switch ruby versions there, so rvm is not an option. As far as I understand there is no proper support in more or less up to date generic packages for debian-like OS's, so it's not enough just to apt-get install ruby-full, and then "gem install rails"? So I still need to apply some magic with apt-get installing multiple unclear dependencies to even set
RealMarc has joined #ruby
bronson has joined #ruby
<vitaly>
usrenmae: if you're deploying to heroku then there're no problems
Aswebb_ has joined #ruby
<vitaly>
in other case you can package app in docker and then setup docker on server
evanjs has quit [Remote host closed the connection]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has joined #ruby
<usrenmae>
vitaly, thanks. I'll take a look.
Timgauthier has joined #ruby
<vitaly>
Guys please help me architect a problem..
fandi has joined #ruby
<kaspergrubbe>
usrenmae: I use rbenv on my servers, and install the wanted ruby version there when I bootstrap them, but some people don't like having build-tools on a server,
<usrenmae>
vitaly: you can be more specific according to your big data question so someone can even try to start helping you.
<vitaly>
I have task channel and tasks inside..
<vitaly>
tasks can be answered limited number of times.. say 3 times..
<kaspergrubbe>
it's also a bit slow, a compiled version would be preferred, and I might want to look into that
<vitaly>
but multiple users have access to a task..
<vitaly>
how do I show task to a user?
bal has quit [Quit: bal]
<vitaly>
problem is that I should not show task if it was already answered by the user or if task has enough people to work (online_count + answers_count = max_answers)
timonv_ has quit [Ping timeout: 245 seconds]
pushpak has joined #ruby
blackoperat has quit [Ping timeout: 256 seconds]
MartynKeigher has quit [Read error: Connection reset by peer]
<vitaly>
it's easy to SQLize problem (which I did).. although problem here is to maintain online_count accurate
<usrenmae>
kaspergrubbe: yeah, that's what was my initial intention - to avoid having all sorts of *-dev libraries + build tools on production server.
cobakobodob has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
mdw has joined #ruby
<vitaly>
In general:
dawkirst_ has joined #ruby
chthon has quit [Ping timeout: 250 seconds]
dawkirst has quit [Read error: Connection reset by peer]
joonty has quit [Quit: joonty]
<vitaly>
service is about micro tasking.. so users can join task channel and start working on tasks, they see one input/task at a time.. Some channels require task to be answered several times (like 3 answers per task).. so I need a smart mechanism of choosing task to show
cobakobodob has joined #ruby
<vitaly>
task shouldn't be shown if it reached max answers or answers_count + workers_count = max_answers..
<vitaly>
any ideas how to best solve this?
beef-wellington has joined #ruby
sevvie has joined #ruby
joonty has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
vt102 has quit [Quit: Leaving]
* jhass
double checks that this is #ruby and not #RubyOnRails
usrenmae has quit [Quit: Leaving.]
baltazore has quit [Remote host closed the connection]
paramourne has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 245 seconds]
vitaly is now known as dyatlov
beef-wellington has quit [Ping timeout: 244 seconds]
sk87 has joined #ruby
PierreRambaud has quit [Quit: Quitte]
joonty has quit [Quit: joonty]
PierreRambaud has joined #ruby
Takle has quit [Remote host closed the connection]
timonv_ has joined #ruby
Jackneill has joined #ruby
larissa has joined #ruby
DadoCe has joined #ruby
delianides has joined #ruby
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
timonv_ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 265 seconds]
rdark has quit [Quit: leaving]
sk87 has quit [Client Quit]
rdark has joined #ruby
lampd1 has joined #ruby
Akagi201 has quit [Ping timeout: 244 seconds]
devoldmx has joined #ruby
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
lessless has joined #ruby
hamakn has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
sankaber has joined #ruby
shellfu_afk has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<lessless>
can you please advice a possible solutions for refactoring?
apurcell has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
lrocknrolmarc has joined #ruby
anaeem1 has joined #ruby
<Mon_Ouie>
Well first of all it doesn't work if there's an element that doesn't respect your condition in data
<Mon_Ouie>
Because then the accumulator is going to become nil
<Mon_Ouie>
That method looks like it should use Enumerable#select anyway
usrenmae has joined #ruby
apurcell has quit [Ping timeout: 265 seconds]
sambao21 has joined #ruby
timonv_ has joined #ruby
Timgauthier has joined #ruby
alkoma has joined #ruby
whomp has joined #ruby
<Timgauthier>
hi
<jrd0>
hi
<roolo>
http://guides.rubyonrails.org/i18n.html - there is supposed to be activemodel instead of activerecord. At least for current version. In the errors.rb it is written correctly
<roolo>
kaspergrubbe: Too long ;) Hope i'll don't need it soon :)
alkoma has quit [Ping timeout: 256 seconds]
<roolo>
kaspergrubbe: But thanks
whomp has quit [Ping timeout: 256 seconds]
metadave has joined #ruby
SilkFox_ has joined #ruby
Takle has quit [Remote host closed the connection]
davedev24_ has quit [Remote host closed the connection]
<roolo>
Hm, now it works with active_record. Anyway it's described differently in errors.rb and Rails guides
blackoperat has joined #ruby
<roolo>
*activerecord
SilkFox_ has quit [Ping timeout: 264 seconds]
dawkirst_ has quit [Remote host closed the connection]
Soda has joined #ruby
osvico has joined #ruby
blackoperat has quit [Ping timeout: 250 seconds]
usrenmae has quit [Quit: Leaving.]
sambao21 has quit [Quit: Computer has gone to sleep.]
segfalt has joined #ruby
workmad3 has joined #ruby
chthon has joined #ruby
joonty has joined #ruby
dawkirst has joined #ruby
sambao21 has joined #ruby
vvivv has joined #ruby
kevkev has joined #ruby
krzkrz has quit [Quit: WeeChat 1.0.1]
dawkirst has quit [Remote host closed the connection]
Takle has joined #ruby
adriancb has joined #ruby
timonv_ has quit [Remote host closed the connection]
ahawkins has joined #ruby
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
chrisja has joined #ruby
dawkirst has joined #ruby
dblessing has joined #ruby
phantomtiger has joined #ruby
chthon has quit [Ping timeout: 265 seconds]
dredozubov has quit [Ping timeout: 245 seconds]
napcae has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
blackoperat has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
napcae has joined #ruby
gremax has quit [Ping timeout: 245 seconds]
kevinfagan_ has quit [Ping timeout: 272 seconds]
rbennacer has quit [Remote host closed the connection]
slawrence00 has joined #ruby
kevinfagan has joined #ruby
gremax has joined #ruby
dredozubov has joined #ruby
rbennacer has joined #ruby
valeriansaliou has joined #ruby
usrenmae has joined #ruby
athan has joined #ruby
livingstn has joined #ruby
sigurding has quit [Quit: sigurding]
<usrenmae>
/clear/clear
beef-wellington has joined #ruby
enebo has joined #ruby
rbennacer has quit [Remote host closed the connection]
valeriansaliou has quit [Ping timeout: 244 seconds]
emmesswhy has joined #ruby
ahawkins has quit [Quit: WeeChat 1.0.1]
mrmargolis has joined #ruby
zalmoxes has joined #ruby
crack_user has quit [Quit: Leaving.]
<ddv>
usrenmae: /clear/clear/clear
<zalmoxes>
using ruby 2.1.4p265 I get 'Encoding::InvalidByteSequenceError' when trying to use JSON.parse. how can I avoid this
DadoCe has joined #ruby
<jhass>
zalmoxes: make sure your input is UTF-8
chthon has joined #ruby
<zalmoxes>
how?
<jhass>
depends
rbennacer has joined #ruby
<jhass>
you would need to describe what your input is and stuff like that
<zalmoxes>
it's a json feed i'm getting using the restclient gem. contact information so ther'es probably lots of names with special characters
doodlehaus has joined #ruby
cvtsx has quit [Quit: Leaving]
<jhass>
which isn't a problem
<bradland>
zalmoxes: special characters are fine, so long as the data is unicode.
<jhass>
^
<zalmoxes>
Encoding.default_external = "utf-8" resolved th4e problem
<jhass>
so your system isn't on a utf-8? that's sad
<jhass>
*a utf-8 locale
josephndenton has joined #ruby
<bradland>
hrm
dyatlov has quit [Ping timeout: 246 seconds]
<zalmoxes>
it's a docker container. could be why
<bradland>
Encoding.default_external should be utf-8 under most systems
<bradland>
i’d look in to that, because it could be an indicator of an environment issue
<bradland>
check your shell locale setting
<bradland>
or inspect the value of Encoding.default_external *before* setting it to see what’s coming from the system
DadoCe has quit [Ping timeout: 250 seconds]
<bradland>
if your locale is set to use some strange text encoding, you’ll have massive headaches later when you discover that all your shell utilities are generating files with LATIN-1 encoding or something silly like that
<bradland>
sinatra doesn’t dictate much in the way of project structure, but if you google around, there are lots of suggestions. keep an eye on dates though. some of them are rather old.
<bradland>
in general, you get to decide your sinatra project’s structure based on how large the project will be.
<bradland>
the best way to learn idiomatic ruby is to have a look at existing projects
jbellone has quit [Ping timeout: 272 seconds]
lxsameer has quit [Quit: Leaving]
JDiPierro has joined #ruby
Xspl0it has quit [Ping timeout: 264 seconds]
Aswebb_ has joined #ruby
bitcycle has joined #ruby
qba73 has quit [Remote host closed the connection]
zzz_Ridley has joined #ruby
zzz_Ridley is now known as Ridley5
kevinfagan has joined #ruby
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
anaeem1_ has quit [Ping timeout: 256 seconds]
Kricir has joined #ruby
alex88 has quit []
jeanlinux has quit [Read error: Connection reset by peer]
mois3x has quit [Quit: mois3x]
<jhass>
also post your stuff here and ask for suggestions
jbellone has joined #ruby
jeanlinux has joined #ruby
cuppscakes has joined #ruby
timmow has quit [Ping timeout: 250 seconds]
<L8>
jhass, I'll do, thanks :)
delianides has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
metadave has joined #ruby
timmow has joined #ruby
devoldmx has joined #ruby
jeanlinux has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
chthon has joined #ruby
jeanlinux has joined #ruby
tagrudev has quit [Remote host closed the connection]
n1lo has quit [Ping timeout: 265 seconds]
fryguy9 has joined #ruby
bitcycle has quit [Ping timeout: 265 seconds]
jeanlinu_ has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 244 seconds]
tkuchiki has quit [Ping timeout: 244 seconds]
sevvie has joined #ruby
Channel6 has quit [Quit: Leaving]
cazrin has joined #ruby
treehug88 has joined #ruby
qba73 has joined #ruby
mnemon has quit [Quit: No Ping reply in 180 seconds.]
mnemon has joined #ruby
gregf_ has quit [Quit: leaving]
apurcell has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has quit [Read error: Connection reset by peer]
ponga has quit [Quit: Leaving...]
sk87 has joined #ruby
lmickh has joined #ruby
<zalmoxes>
is there a gem or something that would read pdf text? I have a series of PDFs i'd like to batch process and need to read the user names/IDs from the PDF
josephnd1nton has quit [Ping timeout: 245 seconds]
blueOxigen has joined #ruby
rpag has joined #ruby
rpag has quit [Remote host closed the connection]
crueber has quit [Quit: Leaving.]
<zalmoxes>
pdf-reader seems to be working
sshao has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Takumo>
anyone here use Suacelabs? I can't get it to actually run my tests, it keeps throwing an error that I'm not using sauce-connect -- Because I don't want to connect to a locally tunnelled connection!
bluOxigen has quit [Ping timeout: 240 seconds]
treehug88 has joined #ruby
joonty has joined #ruby
gtrak has joined #ruby
codecop has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
joonty has quit [Client Quit]
joonty has joined #ruby
Macaveli has joined #ruby
alkoma has joined #ruby
whomp has joined #ruby
treehug88 has quit [Ping timeout: 264 seconds]
sanguisdex has quit [Quit: Leaving.]
treehug88 has joined #ruby
Hobogrammer has joined #ruby
bitcycle has joined #ruby
sinkensabe has quit [Remote host closed the connection]
delianides has quit []
davedev24_ has joined #ruby
deryl has joined #ruby
whomp has quit [Ping timeout: 244 seconds]
alkoma has quit [Ping timeout: 264 seconds]
fryguy9 has quit [Quit: Leaving.]
SilkFox_ has joined #ruby
gregf_ has joined #ruby
t0rc has joined #ruby
sanguisdex has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
Takle has quit [Remote host closed the connection]
L8 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
surs has quit [Quit: leaving]
fryguy9 has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
anaeem1_ has joined #ruby
klmlfl has joined #ruby
sigurding has quit [Quit: sigurding]
apeiros_ has quit [Ping timeout: 256 seconds]
byprdct has joined #ruby
econerd4ever has joined #ruby
byprdct has quit [Max SendQ exceeded]
Zai00 has quit [Quit: Zai00]
bklane has joined #ruby
econerd4_ has joined #ruby
crack_user has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
bal has quit [Quit: bal]
Xsploit has quit [Read error: Connection reset by peer]
Xsploit has joined #ruby
devoldmx has joined #ruby
BeLucid_ has joined #ruby
econerd4ever has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
livathinos has joined #ruby
FelipeAbella has joined #ruby
BeLucid has quit [Ping timeout: 272 seconds]
valeriansaliou has joined #ruby
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
shazaum has joined #ruby
shazaum has quit [Changing host]
dawkirst has quit [Remote host closed the connection]
GaryOak__ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mjuszczak has joined #ruby
livathin_ has quit [Ping timeout: 264 seconds]
<GaryOak__>
Good Morning!
livathinos has quit [Ping timeout: 264 seconds]
<jhass>
hi!
mengu has quit []
valeriansaliou has quit [Ping timeout: 244 seconds]
t0rc has left #ruby ["WeeChat 1.0.1"]
econerd4_ has quit [Remote host closed the connection]
antgel has joined #ruby
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
nfk has joined #ruby
crack_user has quit [Quit: Leaving.]
bklane has quit [Remote host closed the connection]
icebourg has joined #ruby
deryl is now known as ddd
DonOtreply has joined #ruby
jmccartie has joined #ruby
jmccartie has left #ruby [#ruby]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has joined #ruby
pushpak has quit [Quit: Leaving...]
codeFiend has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
JDiPierro has quit [Remote host closed the connection]
yasu has quit [Ping timeout: 250 seconds]
krz has joined #ruby
yasu has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
usrenmae has joined #ruby
vvivv has quit [Quit: Leaving]
jakery has joined #ruby
bklane has quit [Ping timeout: 264 seconds]
jakery has left #ruby [#ruby]
deconfigured has joined #ruby
jeanlinux has quit [Remote host closed the connection]
harq has joined #ruby
raamik has quit [Ping timeout: 244 seconds]
pengin has joined #ruby
FelipeAbella has quit [Quit: Leaving]
fedexo has joined #ruby
fedexo_ has joined #ruby
treehug88 has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby
athan has quit [Ping timeout: 255 seconds]
stunder has joined #ruby
spider-mario has joined #ruby
DadoCe has joined #ruby
treehug88 has joined #ruby
aclearman037 has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
antgel has quit [Ping timeout: 265 seconds]
DonOtreply has joined #ruby
mclee has quit [Ping timeout: 245 seconds]
DonOtreply has quit [Client Quit]
krz has quit [Quit: WeeChat 1.0.1]
anarang has quit [Quit: Leaving]
mclee has joined #ruby
paulfm has joined #ruby
robustus|Off is now known as robustus
jefus__ has joined #ruby
<GaryOak__>
jhass: How's it going?
antgel has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
cazrin has quit [Remote host closed the connection]
jeanlinux has joined #ruby
cpruitt has joined #ruby
jeanlinu_ has joined #ruby
jobewan has joined #ruby
<lessless>
why there is no company key in the user hash after: user.merge(company: user.delete(:company_id))
bronson has joined #ruby
jefus_ has quit [Ping timeout: 256 seconds]
cazrin has joined #ruby
cazrin has quit [Client Quit]
teddyp1cker has joined #ruby
blueOxigen has quit [Ping timeout: 250 seconds]
<apeiros_>
lessless: in the returned hash? there definitively will be
<apeiros_>
how do you figure there isn't?
Areessell has joined #ruby
<lessless>
apeiros_, lol
<lessless>
of course
rbennacer has quit [Remote host closed the connection]
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
lessless admit to it, the syntax confuses you!
thiagovsk__ has joined #ruby
<shevy>
cats: or :cats !
bronson has quit [Ping timeout: 264 seconds]
<apeiros_>
lessless: sooo? problem solved?
x77686d has quit [Quit: x77686d]
teddyp1cker has quit [Ping timeout: 245 seconds]
<cats>
meow
<thiagovsk__>
cats: meow
<lessless>
shevy: I pay it off to the oxygen shortage :) spend all day in the apartments
cuppscak_ has joined #ruby
alkoma has joined #ruby
<lessless>
apeiros_yes! thank you :)
<cats>
meow meow?
<GaryOak__>
I feel like I'm on 4chan right now
cuppscak_ has quit [Max SendQ exceeded]
<thiagovsk__>
cats: meow
<cats>
thiagovsk__: meow?
gsd has joined #ruby
<thiagovsk__>
cats:
sambao21 has joined #ruby
<GaryOak__>
matz:
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
crueber has joined #ruby
<bashusr>
how do i check if a parameter passed to a class method is the same type as the class or a subchild? I know I want to use is_a? but param.is_a?(self) doesn't seem to work
bluOxigen has joined #ruby
<apeiros_>
bashusr: then you're doing something else wrong. that should work.
Ridley5 has quit [Ping timeout: 265 seconds]
<shevy>
is_a? works like so: is_a? Array
cuppscakes has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby
<canton7>
is_a?(self.class) I think?
<apeiros_>
>> class Foo; def self.check(param) param.is_a?(self); end; end; class Bar < Foo; end; Foo.check Bar.new
<apeiros_>
you said *class* method. but you defined an *instance* method
_maes_ has joined #ruby
<bashusr>
oh, so if i want it an instance method, how would i do it?
pkrzywicki has joined #ruby
vt102 has joined #ruby
<apeiros_>
with an instance method, it's indeed as canton7 said: self.class
chipotle has quit [Quit: cheerio]
<bashusr>
gotcha, ok thanks
blueOxigen has joined #ruby
JDiPierro has joined #ruby
aganov has quit [Remote host closed the connection]
AlexRussia has joined #ruby
dawkirst has joined #ruby
<bashusr>
so moral of the story... self is the class when it is defined in an class method; in a instance method, self is the object?
sigurding has joined #ruby
<apeiros_>
yes
bluOxigen has quit [Ping timeout: 245 seconds]
josephnd1nton has joined #ruby
<shevy>
canton7 haha yeah same here; actually my brain did not register consciously that he needed a class method and thus the syntax would be different as opposed to what I would normally use
<bashusr>
great, thanks
Aswebb_ has quit [Remote host closed the connection]
<apeiros_>
and since a class is an object, self is also "the object" in a class method
timonv_ has quit [Remote host closed the connection]
wallerdev has joined #ruby
mjuszczak has quit []
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
jheg has quit [Quit: jheg]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DonOtreply has joined #ruby
baroquebobcat has joined #ruby
tvon has joined #ruby
Aswebb_ has joined #ruby
deric_skibotn has joined #ruby
fedexo has quit [Ping timeout: 244 seconds]
fedexo_ has quit [Ping timeout: 264 seconds]
robustus is now known as robustus|Off
vieq has quit [Ping timeout: 244 seconds]
Morkel_ has quit [Quit: Morkel_]
bitcycle_ has joined #ruby
recurrence has joined #ruby
Takle has quit [Remote host closed the connection]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
bitcycle has quit [Ping timeout: 255 seconds]
iamninja has quit [Quit: ZZZzzz…]
x1337807x has joined #ruby
bluOxigen has joined #ruby
joonty has quit [Quit: joonty]
sambao21 has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
Hobogrammer has quit [Ping timeout: 265 seconds]
shellfu_brb is now known as shellfu
sambao21 has joined #ruby
Darryl__ has quit [Quit: Connection closed for inactivity]
BTRE has quit [Quit: Leaving]
Takle has joined #ruby
livingstn has quit [Ping timeout: 256 seconds]
apurcell has joined #ruby
msgodf has quit [Ping timeout: 256 seconds]
BTRE has joined #ruby
aclearman037 has joined #ruby
whoisjake has joined #ruby
tkuchiki has joined #ruby
bricker has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
olivier_bK has quit [Ping timeout: 245 seconds]
tubuliferous has joined #ruby
narph has joined #ruby
qba73 has quit [Remote host closed the connection]
mattwildig has joined #ruby
blueOxigen has joined #ruby
timonv_ has joined #ruby
voodoofish4301 has joined #ruby
tkuchiki has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
voodoofish430 has quit [Ping timeout: 250 seconds]
patrick99e99 has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
pietr0 has joined #ruby
paulfm has quit [Quit: Goodbye]
Aswebb__ has joined #ruby
sambao21 has joined #ruby
valeriansaliou has joined #ruby
arup_r has quit [Quit: Leaving.]
sinkensabe has joined #ruby
mikecmpbll has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 240 seconds]
Aswebb__ has quit [Remote host closed the connection]
banjara has joined #ruby
Patteh has quit [Remote host closed the connection]
Patteh has joined #ruby
startupality has joined #ruby
dawkirst has joined #ruby
fryguy9 has quit [Read error: Connection reset by peer]
fryguy9 has joined #ruby
Patteh is now known as Patteh
allcentury has quit [Ping timeout: 250 seconds]
vieq has joined #ruby
bronson has joined #ruby
_maes_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
banjara has quit [Quit: Leaving.]
AlexRussia has joined #ruby
Aswebb_ has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
bronson has quit [Ping timeout: 250 seconds]
checkit has joined #ruby
thumpba has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
snath has quit [Ping timeout: 256 seconds]
roolo has quit [Remote host closed the connection]
Aswebb_ has joined #ruby
roolo has joined #ruby
sinkensabe has quit [Remote host closed the connection]
cpruitt has quit [Quit: cpruitt]
jenrzzz has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
pushpak has joined #ruby
ghostmoth has joined #ruby
sankaber has joined #ruby
kotk has joined #ruby
econerd4ever has joined #ruby
whomp has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
deconfigured is now known as athan
karmatr0n has joined #ruby
msgodf has joined #ruby
kotk_ has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 244 seconds]
chthon has quit [Ping timeout: 245 seconds]
meschi_ has quit [Remote host closed the connection]
pengin has quit [Remote host closed the connection]
lapidary has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
pengin has joined #ruby
econerd4ever has joined #ruby
LouisRoR has quit [Ping timeout: 250 seconds]
scripore has joined #ruby
josephnd1nton has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
kiyote23 has joined #ruby
anaeem1 has joined #ruby
<lapidary>
I had some weird stuff with rails, running pristine cleared it up, is that a common problem when you upgrade gems? what causes them to get messy
<lapidary>
outside of manually editing a gem
<speakingcode-wor>
depends on what you mean by messy/weird stuff
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SilkFox_ has joined #ruby
x77686d has joined #ruby
mattwildig has quit [Remote host closed the connection]
<speakingcode-wor>
i use rvm and separate gemsets for most projects lapidary.. update via bundle update but usually version lock things
whoisjake has quit []
pengin has quit [Ping timeout: 240 seconds]
<workmad3>
lapidary: new versions of rubygems may have optimised the repository layout, processed the spec differently, generated a slightly different bin-wrapper, etc.
<lapidary>
I did that, and it worked, my question is more of what all does gem pristine do
<speakingcode-wor>
if you're running multiple projects off the same gemset you can get hairy issues with versioning when different projects depend on different versions of the same gem afaik
<speakingcode-wor>
ah
<speakingcode-wor>
pristine reverts modifactions you made
<workmad3>
lapidary: so you'd generally find you may want/need to run gem pristine if you've updated rubygems itself
<workmad3>
and yeah, if you edit the gem in-situ, pristine removes those mods :)
josephnd1nton has quit [Ping timeout: 245 seconds]
beef-wellington has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
kiyote23 has quit [Ping timeout: 265 seconds]
aswen has quit [Ping timeout: 245 seconds]
andrewcarter has quit [Quit: Connection closed for inactivity]
anaeem1 has quit [Ping timeout: 264 seconds]
beef-wellington has joined #ruby
jefus__ is now known as jefus
<lapidary>
the pristine command got hung up by some old gems from rails3 after I upgraded to rails4… I deleted the old gems and it completed.
SilkFox_ has quit [Ping timeout: 244 seconds]
<havenwood>
gem pristine --all --env-shebang
Trep has joined #ruby
Takle has joined #ruby
<lapidary>
that would have saved me some time?
allcentury has joined #ruby
Rylee has quit [Max SendQ exceeded]
studiotate has joined #ruby
jottr has quit [Read error: Connection reset by peer]
Rylee has joined #ruby
GaryOak__ has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
spyderman4g63 has joined #ruby
pwh has joined #ruby
chipotle has joined #ruby
geekbri has joined #ruby
mrsolo has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
pengin has joined #ruby
baweaver has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
kurtfunai has joined #ruby
sinkensabe has joined #ruby
patrick99e99 has joined #ruby
uri_ has joined #ruby
tomengland has joined #ruby
Aswebb_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
uri_ has quit [Client Quit]
dawkirst has quit [Remote host closed the connection]
uri_ has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
claw___ has joined #ruby
claw__ has quit [Ping timeout: 245 seconds]
nanoyak has quit [Client Quit]
anarang has joined #ruby
pwnz0r has joined #ruby
nanoyak has joined #ruby
snath has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
bayed has quit [Quit: Connection closed for inactivity]
shevy has joined #ruby
govg has quit [Quit: leaving]
kanhaiya has joined #ruby
nonnatus has joined #ruby
<kanhaiya>
I'm facing an issue while running command bowline bundle
<kanhaiya>
can anyone tell me how to resolve this problem
Fusl has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
apurcell has joined #ruby
<bashusr>
what am i doing wrong?? RSpec::Mocks::MockExpectationError: Double received unexpected message :should_receive with (:method) - what am i doing wrong?
<Cat_1>
bashusr - I dunno what's the test?
baweaver has quit [Remote host closed the connection]
<havenwood>
kanhaiya: `bowline bundle` isn't the same as `bowline-bundle`
<kanhaiya>
sorry I'm talking about bowline-bundle only
DivineEntity has joined #ruby
kirun has joined #ruby
<bashusr>
oh, looking at the wrong version... they changed syntax in rspecs mocks 3.1
allcentury has joined #ruby
wkmanire has left #ruby [#ruby]
<havenwood>
kanhaiya: so you're running `bowline-bundle`? are you getting an error? if so, paste the command you're running and the entire error to gist.github.com.
<kanhaiya>
okk thanks. I'll do it
<havenwood>
kanhaiya: and give us a link to the gist.
<kanhaiya>
ok
apurcell has quit [Client Quit]
Asher has quit [Quit: Leaving.]
Fire-Dragon-DoL has joined #ruby
apurcell has joined #ruby
jack_rabbit has quit [Ping timeout: 244 seconds]
kanhaiya has quit [Quit: Page closed]
brb3 has quit [Read error: Connection reset by peer]
silkfox has joined #ruby
beef-wellington has quit [Ping timeout: 245 seconds]
jjasonclark has joined #ruby
DivineEntity has quit [Quit: leaving]
kurtfunai has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kanhaiya has joined #ruby
brb3 has joined #ruby
Timgauthier has joined #ruby
DivineEntity has joined #ruby
intyl_ has joined #ruby
<kanhaiya>
hello I'm facing this issue while running command bowline-bundle
<kanhaiya>
I have posted the error that I'm getting on gits.github.com
uri_ is now known as _uri_
anaeem1 has joined #ruby
<kanhaiya>
the link is gist:e898a279f75a2202e826
fryguy9 has quit [Quit: Leaving.]
<kanhaiya>
Can someone plz help me resolve the issue
jeanlinu_ has quit [Remote host closed the connection]
recurrence has quit [Ping timeout: 256 seconds]
sshao has quit [Read error: Connection reset by peer]
sshao has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
recurrence has joined #ruby
yfeldblum has joined #ruby
<havenwood>
kanhaiya: Why's it important? Are you working on an old existing bowline app or making a new one?
Guest___ has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
SilkFox_ has joined #ruby
sambao21 has joined #ruby
<kanhaiya>
I have to make a new one bt initially was trying with an already existing one. bt when I tried running it I found this error
dkphenom has joined #ruby
rbennacer has quit [Remote host closed the connection]
towski_ has joined #ruby
<Ikri>
errr so I appear to have broken ruby
<havenwood>
Ikri: oh no!
tvw has quit [Ping timeout: 250 seconds]
jheg has joined #ruby
<havenwood>
Ikri: how so?
yfeldblum has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
SilkFox_ has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
<havenwood>
kanhaiya: If you really need bowline working, years after it has been deprecated and fallen into nonuse, then you're going to have quite a few cobwebs to dust off. It's likely going to be a nontrivial effort, as already mentioned.
djbkd has quit [Remote host closed the connection]
beef-wellington has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
t-richards has joined #ruby
<bricker>
someguy: yes
delraymac has joined #ruby
Nameo0 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
thumpba has quit [Ping timeout: 244 seconds]
<someguy>
bricker: great, thanks!
function90 has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
sundjango has quit [Remote host closed the connection]
delraymac has quit [Ping timeout: 246 seconds]
luriv has joined #ruby
mattwildig has quit [Remote host closed the connection]
theo__ has joined #ruby
Aswebb_ has joined #ruby
rubyonrailed has joined #ruby
<rubyonrailed>
Can someone help me turn this into an array? "[[[256, 498]]] [[[256, 498]], []] [[[256, 498]], [], []] [[[256, 498]], [], [], []]"
<theo__>
/msg NickServ identify motherboard
Aswebb_ has quit [Remote host closed the connection]
cloaked1 has joined #ruby
<theo__>
Can someone help with this error: /usr/lib/ruby/vendor_ruby/sass/script/literal.rb:7:in `<module:Script>': superclass mismatch for class Literal (TypeError) ?
josephnd1nton has joined #ruby
<theo__>
don't know how to solve it.
sambao21 has joined #ruby
luksaur has quit [Ping timeout: 264 seconds]
<havenwood>
rubyonrailed: Where'd you get that String? It's not a valid Array even if you wanted to eval it.
<jhass>
would need a local reproducer to dig in further
<havenwood>
jhass: i'm all wrong today... need more coffee!! (and also my laptop is in for repairs so my binding as all off too >.>)
<jhass>
I know these days
luksaur has quit [Max SendQ exceeded]
<jhass>
having too much of them lately
DonOtreply has quit [Quit: DonOtreply]
luksaur has joined #ruby
Photism_ has joined #ruby
devdazed has joined #ruby
<theo__>
jhass, yes, same issue.
DonOtreply has joined #ruby
deric_skibotn has quit [Ping timeout: 255 seconds]
Photism has quit [Ping timeout: 255 seconds]
DonOtreply has quit [Client Quit]
<jhass>
theo__: what about my first question?
chrishough has joined #ruby
<Fire-Dragon-DoL>
mhhh I was looking for a gem that can take an e-mail and output me its body in html (you know, stripping out all those =20, the headers and such), does anyone know something like it?
leafybasil has joined #ruby
djbkd has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
Timgauthier has joined #ruby
t-richards has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
delianides has joined #ruby
dionysus69 has joined #ruby
<theo__>
jhass, seems it's typical django project I need to run on my local. I see only compass configs here.
<crome>
Fire-Dragon-DoL: the mail gem can read raw emails afair
<Fire-Dragon-DoL>
crome: thanks, looking for that
_ixti_ has quit [Read error: Connection reset by peer]
ltd has quit [Ping timeout: 264 seconds]
ltd has joined #ruby
deric_skibotn has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
leafybasil has quit [Ping timeout: 244 seconds]
mattwildig has joined #ruby
SilkFox_ has joined #ruby
ddd has quit [Quit: Leaving]
x77686d has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
<jhass>
theo__: so no Gemfile in the project root?
whoisjake has quit []
<theo__>
no
Nameo0 has quit [Ping timeout: 264 seconds]
DadoCe has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
<jhass>
theo__: you don't seem to use the latest version of sass, try updating
bMalum has quit [Quit: bMalum]
<theo__>
Sass 3.4.0.rc.3 (Selective Steve)
x77686d has quit [Client Quit]
SilkFox_ has quit [Ping timeout: 264 seconds]
<theo__>
also tried 2 other versions. Same result.
IrishGringo has joined #ruby
<theo__>
ubuntu 14
<jhass>
the paths a bit weird too
<jhass>
did you try the latest version though?
<theo__>
updated ruby 1.9 to 2.0, same result.
<theo__>
Compass 1.1.0.alpha.3 (Polaris)
timonv_ has joined #ruby
<theo__>
all is latest versions
<jhass>
nope
<theo__>
also tried compass 1.0.1
<jhass>
ruby isn't, 2.2 is the latest, sass isn't, 3.4.9 is the latest
<jhass>
but
<jhass>
let's take a closer look at how the error changes
<jhass>
is it always ending up on /usr/lib/ruby/vendor_ruby/sass/script/literal.rb:1 ?
klmlfl has quit [Remote host closed the connection]
shazaum has quit [Quit: This computer has gone to sleep]
DadoCe has quit [Ping timeout: 264 seconds]
sshao has quit [Remote host closed the connection]
marcoamorales has quit [Ping timeout: 272 seconds]
kasperti_ has joined #ruby
pwnz0r has quit [Remote host closed the connection]
geekbri has quit []
sinkensabe has joined #ruby
steveElsewhere has joined #ruby
havenwood has quit [Remote host closed the connection]
bMalum has joined #ruby
sinkensabe has quit [Remote host closed the connection]
lmickh has quit [Remote host closed the connection]
havenwood has joined #ruby
zarubin_ has joined #ruby
whoisjake has joined #ruby
livingstn has joined #ruby
marcoamorales has joined #ruby
x77686d has joined #ruby
x77686d has quit [Client Quit]
DonOtreply has joined #ruby
cleopatra has joined #ruby
<cleopatra>
hello ruby people
<cleopatra>
:)
<cleopatra>
happy new year :P
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
<chipotle>
hey cleopatra !
<theo__>
jhass, ruby/vendor_ruby/sass/script/literal.rb:7 every time
<cleopatra>
hey chipotle :)
ta_ has joined #ruby
<theo__>
even when I try without --sass key: sass --compass ./project/static/newdesign/styles/fonts.scss --trace
<cleopatra>
who is blogger?
Dolphi has joined #ruby
<cleopatra>
or who using blogger
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
<jhass>
theo__: I would make sure to get rid of all installations of sass
<jhass>
and probably ruby as well
<jhass>
then use a recent ruby and rubygems
<chipotle>
cleopatra: i moved to wordpress awhile ago
<chipotle>
why what's up?
<jhass>
install with gem install --user-install sass compass
<bradland>
man i love chipotle
<jhass>
theo__: that last step will then warn you about a path not being in your PATH, which you should then add to it
<cleopatra>
i want create a nice blog
<bradland>
a nice blog has more to do with the content than the tools used to create the website :)
<cleopatra>
but I have problems with the change the templates
<jhass>
theo__: my suspicion is that debian (which ubuntu inherited the ruby package from) messed up your load paths and now multiple different versions of sass get loaded
<chipotle>
ilu2 bradland
<cleopatra>
nah i no have money for buy domain and hosting
<chipotle>
cleopatra: i'm new to ruby. i come from drupal. now i'm trying to learn ruby!
<chipotle>
cleopatra: blogger isn't built on ruby...
<chipotle>
cleopatra: why not use wordpress.com? it's free...
<chipotle>
and you have access to lots more themes
<bradland>
i wrote a ruby script that analyzes my average visits/dollars per week spent at chipotle
ta_ has quit [Ping timeout: 265 seconds]
<bradland>
the results were…. startling
GaryOak__ has quit [Remote host closed the connection]
usrenmae has joined #ruby
<cleopatra>
mmmm
IrishGringo has quit [Read error: Connection reset by peer]
<cleopatra>
let me check
zarubin has quit [Quit: Leaving.]
wallerdev has quit [Quit: wallerdev]
zarubin_ has quit []
econerd4ever has quit [Remote host closed the connection]
<bradland>
cleopatra: many ruby bloggers use a static site generator to build their blog, rather than a striaght ruby blogging engine
<theo__>
jhass, thank. Will make a cofee and think what to do with this info :)
nateberkopec has quit [Quit: Leaving...]
<cleopatra>
bradland, the problem is I have no money for hosting or domains for that reason I seek alternatives such as blogger
freerobby has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
aswen has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<bradland>
mkay. blogger or wordpress.com is its then! :)
sshao has joined #ruby
<bradland>
not sure how that ties in to the move from Drupal to Ruby though…
ishikawa has quit [Ping timeout: 250 seconds]
<cleopatra>
:)
TripTastic has joined #ruby
ishikawa has joined #ruby
<chipotle>
oh you can use ruby with blogger?
<chipotle>
bradland: no, i'm the one who is on drupal, trying to learn ruby
<chipotle>
i read chris pine's learn to program book
baroquebobcat has joined #ruby
<bradland>
doh, got confused by all the c names
<chipotle>
sorry :)
gtrak has quit [Ping timeout: 244 seconds]
claymore has joined #ruby
<atmosx>
chipotle: what do you mean use 'ruby with blogger' ?
<bradland>
atmosx: this is my mess
thumpba_ has quit [Remote host closed the connection]
<bradland>
i mixed up their question and cleopatra’s questions
cyberarm has joined #ruby
<atmosx>
chipotle: octopress is a very nice ruby/jekyll based platform and you can host your blog at github which is offers very nice domain names imho. nickname.github.io
<bradland>
cleopatra wants to know if blogger is any good
<bradland>
chipotle is just here to remind us how delicious burrito bowls are
<atmosx>
bradland: I mixed them too apparently
JBreit has quit [Ping timeout: 264 seconds]
<atmosx>
bradland: that can't be a coincidence
gtrak has joined #ruby
<bradland>
although you make a really good point about the github hosting for jekyll based blogs that cleopatra may wish to consider in their search for a blogging platform
<bradland>
is octopress still maintained
<bradland>
?
hrs has joined #ruby
<cleopatra>
MMmmm
<pontiki>
yes, actually, and there should be a new version
* atmosx
has done several nginx/rails installations
<havenwood>
TrOuBleStArTeR: hi
<bradland>
if you execute `rails server` from within the root of a rails project, it starts a server on port 3000 which serves your application
<havenwood>
chipotle: run what on nginx?
<havenwood>
mruby?
<TrOuBleStArTeR>
can someone have just 1 minutes to explina me one thing ?
Morkel has quit [Quit: Morkel]
<havenwood>
shevy: that's cheap!!
<chipotle>
is there an app for ruby similiar to MAMP Pro for the LAMP stack? or do i need to run it all via command line and remove to turn on/off and remember all the different versions of whatever servers i'm using
<havenwood>
TrOuBleStArTeR: what's the thing?
<nonnatus>
Every time I glance at irc and see chipotle i regret skipping lunch
<havenwood>
yeah, i'm hungry
dionysus69 has quit [Ping timeout: 265 seconds]
<bradland>
chipotle: there have been a couple of apps like MAMP that have come and gone
<bradland>
i wouldn’t rely on one, because they have a tendency to become abandoned
<chipotle>
any that are still around? :)
<TrOuBleStArTeR>
havenwood thx haven, i know establish ftp session, list etc... But i would like to create a while loop, that create a socket
<wasamasa>
why do people even use LAMP
<pontiki>
chipotle: not quite sure what ruby program you wish to run
<chipotle>
so homebrew is my best bet?
<wasamasa>
are they noobs?
<TrOuBleStArTeR>
havenwood to create mutliple connection ( not send command on the same ftp session )
<chipotle>
where can i find a good tutorial/doc on setting up a homebrew based ruby environment?
<bradland>
for rack apps, you can use pow http://pow.cx
<chipotle>
i don't want to install too much shit that never gets used
<pontiki>
ruby programs don't work like perl, php or python scripts, tho
Techguy305 has joined #ruby
<chipotle>
pontiki: my own!
<chipotle>
i'm trying to develop stuff in RoR or sinatra
whomp has quit [Ping timeout: 245 seconds]
<wasamasa>
their inits are perfectly fine at starting the services involved
<TrOuBleStArTeR>
havenwood am i understandable ? :p
<bradland>
chipotle: i would recommend homebrew + RVM + pow
<bradland>
homebrew as your system packager
<bradland>
RVM as your ruby manager
<bradland>
and pow as your app server
<pontiki>
right, okay, then understand that those work entirely differently from the typical [XLM]AMP stack
<bradland>
add in the powder gem for managing pow easily
<havenwood>
what's MAMP? sounds scary.
<bradland>
it’s a GUI app for configuring Apache vHosts and MySQL databases
<havenwood>
ah
<bradland>
pretty slick actually
<wasamasa>
rofl
<pontiki>
Mac instead of Linux
<chipotle>
pontiki: how so?
<wasamasa>
what is wrong with these guys
<chipotle>
bradland: okay, looking into pow now
Techguy305 has quit [Max SendQ exceeded]
<wasamasa>
why the hell would they click together vhosts
<chipotle>
havenwood: i like it because i can have a self contained environment on my laptop
<bradland>
chipotle: you will find that the vast majority of ruby tools are command line
<chipotle>
rather than having servers running whenever, and lots of stuff in the background running. i can just turn it all off in MAMP
<pontiki>
chipotle: rails and sinatra are *long* running applications, they don't start up, process the request, then shut down for every request that comes in
<bradland>
chipotle: pow will allow you to accomplish much of that
studiotate has joined #ruby
<pontiki>
you start them once, and they keep responding to requests
CustosL1men has joined #ruby
jenrzzz has joined #ruby
kamilc__ has quit [Quit: Leaving...]
<havenwood>
TrOuBleStArTeR: No sorry, I don't understand. Maybe say more about what you're trying to accomplish?
<chipotle>
okay
<chipotle>
i'm looking into pow now
<pontiki>
in the ruby world, almost every server is built upon something called Rack
whomp has joined #ruby
<chipotle>
are there any good tutorials on how to create a nice ruby dev environment on mac?
Jackneill has quit [Remote host closed the connection]
<TrOuBleStArTeR>
havenwood just establish an ftp connection, send a command, close it and do it again ... But when i will laucnh the command, i will lost the FTP connection, so i think i must use "socket" ( maybe ) to do this ...
<TrOuBleStArTeR>
havenwood yes i must... But i don't know how to make the system ftp client to force it establish a NEW connection every time, a new ftp session ....
<atmosx>
chipotle: hm, a few (well more than a few) vim plugins would make your vim-fu awesome and tmuxinator drb + minitest and zentest (autotest) will make make automations... swift.
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dolphi has quit [Quit: Leaving]
jack_rabbit has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
<chipotle>
i use sublime text
<chipotle>
never learned vim
* chipotle
ducks and covers
<pontiki>
it's okay
<pontiki>
use the editor you're most familiar with
Guest___ is now known as kurtf
Dolphi has joined #ruby
<blackoperat>
rvm & rubymine is pretty good to get stated imho
<pontiki>
subl has plenty of support for ruby coding
<bradland>
chipotle: this installfest guide looks pretty solid
rbennacer has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
<atmosx>
well, I'm sure you can configure rvm to work with sublime too
<Dolphi>
Two new books should be arriving from Amazon today: The Pickaxe Book and Learn to Program. Does anybody have any experience with either of these books?
<havenwood>
Dolphi: yup
rbennacer has joined #ruby
<bradland>
i’d say just about everybody here has read or referenced the pickaxe book at some point or another
<kurtf>
It's been a while since I've read it, but pickaxe is quite good
<atmosx>
bradland: really awesome book but not for beginners IMHO.
devoldmx has quit [Remote host closed the connection]
<bradland>
agree
<chipotle>
i've heard of rubymine, do you like it, blackoperat ?
<bradland>
i have a rubymine license
<havenwood>
Dolphi: Learn to Program is basic, for non-programmers and holds your hand. The Pickaxe is more of a reference.
<bradland>
i like it, but it’s heavy
<bradland>
i wouldn’t jump right in to rubymine, because it requires a fair amount of knowledge on its own
<chipotle>
Dolphi: learn to program is good, although it doens't go indepth. but read that first, then move onto the next book. the well grounded rubyist is quite nice...
<bradland>
i’d start with a text editor
<atmosx>
ruby is easy to get you going, but some concepts like singletons, reflections, blocks, etc. are very hard to grasp without prior programming bg.
<havenwood>
Dolphi: If you're now to programming go through Learn to Program first. :
<havenwood>
:)
<bradland>
chipotle: what editor have you used in the past?
<chipotle>
sublime text
freerobby has quit [Quit: Leaving.]
<lapidary>
what about atom
<bradland>
start with that
<chipotle>
atom is slow, i've heard
<bradland>
in general, start with what you know
<chipotle>
and it's a ST3 clone anyway
<chipotle>
but "free"
<bradland>
you’re goign to be learning a ton of new stuff
<bradland>
so manage the amount of “new” stuff you have to learn
<pontiki>
that^
<bradland>
otherwise you’re likely to hit a wall
<chipotle>
bradland: do you have any example configs for sublime text, other than 2 space indenting?
<pontiki>
if you find you're missing something, boom, it's right there
<chipotle>
well, there are lots of things out there. i'm just wondering what i should actually use, so i don't build up too much fluff
<bradland>
dude, i’ve told you like five times
ta_ has quit [Ping timeout: 244 seconds]
mrsolo has left #ruby ["Leaving"]
<Dolphi>
Is it possible to have two networks open at the same time? I'd like to stay on freenode, but I need to be on SynIRC.net to get into the #rpgmaker.net channel.
<Dolphi>
If it makes a difference, I am using HexChat.
crdpink has joined #ruby
jack_rabbit has quit [Ping timeout: 265 seconds]
devoldmx has quit [Ping timeout: 245 seconds]
<jhass>
Dolphi: ask #hexchat then
<chipotle>
bradland: i know, there's just so much out there
<chipotle>
it's very overwhelming :/
jheg has quit [Quit: jheg]
<chipotle>
havenwood: do you use atom now over ST3?
SparkMasterTape has joined #ruby
pengin has joined #ruby
poetazus has quit [Ping timeout: 265 seconds]
Dolphi_ has joined #ruby
Dolphi_ has quit [Client Quit]
Dolphi has quit [Quit: Leaving]
evanjs has quit [Remote host closed the connection]
Synthead has joined #ruby
devoldmx has joined #ruby
econerd4ever has quit [Remote host closed the connection]
shellfu has quit [Remote host closed the connection]
econerd4ever has joined #ruby
Spami has joined #ruby
econerd4ever has quit [Remote host closed the connection]
econerd4ever has joined #ruby
patrick99e99 has quit [Ping timeout: 244 seconds]
DadoCe has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
Aswebb_ has joined #ruby
<havenwood>
chipotle: i've been using TM2 and vim for Ruby recently, but i tend to switch editors often and vary by lang
gtrak has quit [Quit: No Ping reply in 180 seconds.]
bklane has quit [Remote host closed the connection]
naftilos76 has quit [Remote host closed the connection]
gtrak has joined #ruby
Areessell has joined #ruby
livingstn has quit [Ping timeout: 245 seconds]
josephnd1nton has quit [Ping timeout: 245 seconds]
<bashusr>
i'm writing an authentication rack middleware... 2 questions, #1. how can i get the HTTP headers from the request within the middleware context and #2. If authentication fails, should i not be calling @app.call(env) or should @app.call() always be called?
AlexRussia has quit [Ping timeout: 264 seconds]
theo__ has quit [Read error: Connection timed out]
theo__ has joined #ruby
C1V0 has joined #ruby
Areessell has quit [Client Quit]
msgodf has quit [Ping timeout: 240 seconds]
mleung has joined #ruby
msgodf has joined #ruby
GaryOak__ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
jheg has joined #ruby
AlexRussia has joined #ruby
teddyp1cker has quit [Read error: Connection timed out]
teddyp1cker has joined #ruby
highbass has joined #ruby
<highbass>
hey guys.. has anyone here used goliath?
<highbass>
i wanted to know if goliath can run on ruby 2.0? or it has to be 1.9.3 ?
roolo has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
Rahul_Roy_ has quit [Quit: Connection closed for inactivity]
hrs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
athan has quit [Remote host closed the connection]
huawei has quit [Quit: (null)]
<nonnatus>
I believe it can.
duncannz has joined #ruby
<nonnatus>
It’s passing in 2.0.0 on Travis CI
ta_ has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
codecop has quit [Remote host closed the connection]
brb3 has quit [Quit: ZZZzzz…]
blueOxigen has quit [Ping timeout: 264 seconds]
rsty has left #ruby [#ruby]
<nonnatus>
BTW I’m not sure if any of the same people are around, but thanks to everyone who gave me interview advice last Thursday. Went awesome.
msgodf has quit [Ping timeout: 256 seconds]
josephndenton has quit [Ping timeout: 264 seconds]
JDiPierro has quit [Remote host closed the connection]
x1337807x has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
max96at is now known as max96at|off
Sid05 has joined #ruby
aclearman037 has quit [Quit: I'm out!]
pu22l3r has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
<highbass>
nonnatus: ok thanks for info!
baweaver has joined #ruby
Xeago_ has joined #ruby
econerd4ever has quit [Remote host closed the connection]
narph has quit [Quit: Connection closed for inactivity]
hrs has joined #ruby
nfk has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
<Dolphi>
nonnatus, What position was your interview for?
<Dolphi>
nonnatus, And congratulations!
LouisRoR has joined #ruby
econerd4ever has joined #ruby
pu22l3r_ has quit [Ping timeout: 264 seconds]
econerd4ever has quit [Remote host closed the connection]
delianides has quit [Remote host closed the connection]
econerd4ever has joined #ruby
SilkFox_ has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
spider-mario has quit [Read error: Connection reset by peer]
<shevy>
TrOuBleStArTeR you can also look at https://rubygems.org/gems/ftp_paradise but I mostly just use it from the commandline; ftp_upload *bla; or "iftp" for interactive ftp shell. I did not add threading support for multiple connections though, as I only needed a commandline script essentially
klmlfl has quit [Remote host closed the connection]
<shevy>
are you like massively uploading pr0n or something that you need it
<TrOuBleStArTeR>
yeah
<TrOuBleStArTeR>
great
<TrOuBleStArTeR>
shevy lol
<TrOuBleStArTeR>
i'm actually do security testing
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TrOuBleStArTeR>
like i tried explain to some over person here
<TrOuBleStArTeR>
but they d'ont really want to reply me
<TrOuBleStArTeR>
don't
Tricon has quit [Quit: leaving]
AlexRussia has quit [Client Quit]
<TrOuBleStArTeR>
so it permit me to learn ruby
Tricon has joined #ruby
<TrOuBleStArTeR>
and to release my job in the life
<TrOuBleStArTeR>
i'm in the security
<TrOuBleStArTeR>
IT
<TrOuBleStArTeR>
IT pro
AlexRussia has joined #ruby
Tricon has quit [Client Quit]
Tricon has joined #ruby
<TrOuBleStArTeR>
you know all :)
Tricon has quit [Client Quit]
Tricon has joined #ruby
_thegrid_ has joined #ruby
doodlehaus has quit [Remote host closed the connection]
kyfho has joined #ruby
<TrOuBleStArTeR>
still here shevy ?
<kyfho>
hi gents
bMalum_ has joined #ruby
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thiagovsk__ has quit [Quit: Connection closed for inactivity]
<_thegrid_>
this error happened in ubuntu
bMalum has quit [Ping timeout: 256 seconds]
bMalum_ is now known as bMalum
Tricon has joined #ruby
<kyfho>
ok new to ruby here
rpag has joined #ruby
highbass has quit [Ping timeout: 255 seconds]
<TrOuBleStArTeR>
kyfho you crome is the best ...
rpag has quit [Client Quit]
<kyfho>
how hard it is to count to 100, and print back each number divisible by 3 as foo, each number divisible by 5 as bar, and each number divisible by 3 and 5 as foobar
<_thegrid_>
does anyone have a suggestion, getting the rals code from gem command should be simple
<kyfho>
?
bklane has joined #ruby
<crome>
disclaimer: crome is actually not the best
Tricon has quit [Client Quit]
<_thegrid_>
do i need a public key?
thumpba has joined #ruby
Tricon has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
<crome>
kyfho: are you trying to solve fizzbuzz for a job application? :)
Xeago_ has quit [Remote host closed the connection]
bronson has joined #ruby
chrishough has joined #ruby
jack_rabbit has joined #ruby
Asher has joined #ruby
<nonnatus>
kyfho: learn you the modulo
<TrOuBleStArTeR>
crome : you accept a PV discussion ?
Tricon has quit [Client Quit]
<kyfho>
then test of modulo 0 right?
<_thegrid_>
hello? gem install rails fails,, it used to be one command
<jhass>
you need to update your bookmark, 2.2 is out :P
Kricir has quit [Remote host closed the connection]
emmesswhy has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mist has quit [Remote host closed the connection]
<shevy>
I googled
<shevy>
I use no bookmarks
mist_ has joined #ruby
<shevy>
ok that was a lie
wald0 has joined #ruby
jaffachief has quit [Ping timeout: 245 seconds]
<shevy>
I have many bookmarks but they are more like "hey cool, that page seems nice; let's bookmark it to read it later" ... and then never read it again...
malcolmva has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<wasamasa>
it's to shut up your brain
<crome>
and that's exactly what bookmarks are for
russt has joined #ruby
<nonnatus>
I can’t have bookmarks, because I have to be organized. Anytime I have my bookmarks neatly categorized, my wife gets ahold of the laptop and I end up with 3,000 links to shoes in my recipes folder
econerd4ever has joined #ruby
jaffachief has joined #ruby
econerd4ever has quit [Remote host closed the connection]
<crome>
lol
econerd4ever has joined #ruby
<wasamasa>
sounds like a nightmare
<nonnatus>
But maybe that’s just smart thinking on her part. Where else am I going to notice them?
nfk has joined #ruby
baweaver has joined #ruby
<wasamasa>
I don't believe it's on purpose
<shevy>
lol
<shevy>
so now you are saying that she does not think
<nonnatus>
No, I’m pretty sure it’s intentional. Her way of messing with me.
<nonnatus>
And of getting shoes.
workmad3 has joined #ruby
nonnatus has left #ruby [#ruby]
nonnatus has joined #ruby
<terrellt>
nonnatus' wife is a genius.
<nonnatus>
terrellt: She honestly is. That’s why I know it’s on purpose.
ta_ has joined #ruby
<mozzarella>
I like shoes
rbennacer has quit [Remote host closed the connection]
skj3gg has joined #ruby
rbennacer has joined #ruby
<shevy>
I like toes
workmad3_ has joined #ruby
rpag has joined #ruby
rpag has quit [Remote host closed the connection]
mrmargol_ has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 244 seconds]
valeriansaliou has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 265 seconds]
josephndenton has quit [Ping timeout: 265 seconds]
<nonnatus>
Then you guys should meet in the middle and wear sandals
<godd2>
if t1 is in an infinite loop, that code will never get down to the t1.kill line
<TrOuBleStArTeR>
no other to lauch the threads than the .join ???
pmarreck has joined #ruby
n008f4g_ has joined #ruby
<workmad3>
TrOuBleStArTeR: .join doesn't launch a thread
Sp4rKy has joined #ruby
<TrOuBleStArTeR>
godd2 i understand, but how to do so ?
Guest27453 has joined #ruby
swartwulf has joined #ruby
<workmad3>
TrOuBleStArTeR: .join causes the current thread to wait until the another thread has finished
<godd2>
TrOuBleStArTeR when you create a new thread, it immediately starts computing
<TrOuBleStArTeR>
workmad3 oh ... i've not understand the documentation so
<TrOuBleStArTeR>
so
ishikawa has quit [Ping timeout: 250 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
<TrOuBleStArTeR>
i must the .join with other way ...
pengin has joined #ruby
eam has joined #ruby
Guest27453 is now known as nitrix
<TrOuBleStArTeR>
must change
gtc has joined #ruby
bjeanes_ has joined #ruby
incomprehensibly has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
DrCode has quit [Ping timeout: 250 seconds]
Fusl has quit [Ping timeout: 250 seconds]
St1gma has quit [Ping timeout: 250 seconds]
testcore has quit [Ping timeout: 250 seconds]
<workmad3>
TrOuBleStArTeR: if you kill a thread, you don't call .join on it
tkuchiki has joined #ruby
<workmad3>
TrOuBleStArTeR: .join is a way of saying "I can't do anything until you're done, so I'll wait for you to finish patiently" while .kill is a way of saying "You need to stop right now"
<godd2>
TrOuBleStArTeR .join is like a teacher giving a student the only pencil in the classroom and saying "just give back the pencil when you're done"
Fusl has joined #ruby
phantomtiger has joined #ruby
marahin has joined #ruby
marahin is now known as Guest31597
charliesome has joined #ruby
athan has joined #ruby
<TrOuBleStArTeR>
ok
<godd2>
but if the student is never finished using the pencil, the teacher will never get back the pencil
<TrOuBleStArTeR>
so how launch a thread that can be killed without waiting him to finish ?
Tricon_ has joined #ruby
Tricon_ has quit [Client Quit]
<workmad3>
TrOuBleStArTeR: just create it and when you want to kill it, call .kill
JimmyNeutron has quit [Quit: Leaving]
<godd2>
TrOuBleStArTeR you don't have to do anything extra
<workmad3>
TrOuBleStArTeR: don't call .join on the thread
haasn has joined #ruby
<TrOuBleStArTeR>
lol
<godd2>
once you do Thread.new it launches right away
<TrOuBleStArTeR>
ok i'm trying now
<TrOuBleStArTeR>
t1 = Thread.new{connexion()}
<TrOuBleStArTeR>
t2 = Thread.new{connexion()}
<TrOuBleStArTeR>
t1.kill
<TrOuBleStArTeR>
t2.kill
n3phos has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141125180439]]
<TrOuBleStArTeR>
not laucnhed
Tricon has quit [Quit: leaving]
<godd2>
TrOuBleStArTeR can I private message you?
<TrOuBleStArTeR>
godd2 yes no pb
Tricon has joined #ruby
Tricon has quit [Client Quit]
skj3gg has quit [Quit: ZZZzzz…]
baweaver has quit [Remote host closed the connection]
<workmad3>
TrOuBleStArTeR: to be kind, you could do 't1.kill if t1.alive?' when you wanted to kill it
maletor has joined #ruby
saltsa has joined #ruby
bklane has quit [Remote host closed the connection]
fryguy9 has quit [Quit: Leaving.]
klaas_ has joined #ruby
anaeem1 has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
zarubin_ has joined #ruby
startupality_ has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
Nahra` has joined #ruby
bklane has joined #ruby
<TrOuBleStArTeR>
workmad3 ok mad :)
davasaurous has joined #ruby
jenrzzz has joined #ruby
zarubin has quit [Read error: Connection reset by peer]
bklane_ has joined #ruby
startupality has quit [Read error: Connection reset by peer]
Nahra has quit [Remote host closed the connection]
bklane_ has quit [Read error: Connection reset by peer]
ghormoon has quit [Ping timeout: 256 seconds]
klaas has quit [Read error: Connection reset by peer]
cjk101010 has quit [Ping timeout: 256 seconds]
mosez has quit [Ping timeout: 256 seconds]
mosez has joined #ruby
MissionCritical has joined #ruby
tus has quit [Read error: Connection reset by peer]
JimmyNeutron has joined #ruby
startupality_ is now known as startupality
bennyklotz has quit [Ping timeout: 256 seconds]
spacemud has quit [Ping timeout: 256 seconds]
soahccc has quit [Ping timeout: 256 seconds]
soahccc has joined #ruby
dkphenom has joined #ruby
ValicekB has joined #ruby
ghormoon has joined #ruby
cjk101010 has joined #ruby
bennyklotz has joined #ruby
deepy has joined #ruby
spacemud has joined #ruby
kirun has quit [Quit: Client exiting]
jobewan has quit [Quit: Leaving]
icebourg has quit []
fabrice31 has joined #ruby
SilkFox_ has joined #ruby
silkfox has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]