<havenwood>
no command line option as far as i know
Es0teric has quit [Quit: Computer has gone to sleep.]
replay has quit [Ping timeout: 240 seconds]
sptx00 has joined #ruby
pothibo has joined #ruby
replay has joined #ruby
centrx has joined #ruby
fitrahfirdaus has quit [Ping timeout: 258 seconds]
_justin has joined #ruby
_justin has left #ruby [#ruby]
oo__ has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
Es0teric has joined #ruby
Zenigor has joined #ruby
goleldar has quit [Remote host closed the connection]
Es0teric has quit [Max SendQ exceeded]
j_mcnally has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
binaryhat has quit [Quit: Leaving]
mjs2600 has quit [Remote host closed the connection]
oo_ has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
deric_skibotn has quit [Ping timeout: 265 seconds]
voglster has joined #ruby
mercwithamouth has joined #ruby
chipotle has joined #ruby
axilla has joined #ruby
nobitanobi has quit [Remote host closed the connection]
mojo619 has quit [Quit: mojo619]
lethjakman has joined #ruby
alpha123 has quit [Ping timeout: 258 seconds]
rm_ has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
mojo619 has joined #ruby
Lightsword has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 258 seconds]
bitcycle has joined #ruby
Shidash has joined #ruby
axilla has quit [Ping timeout: 258 seconds]
<bitcycle>
Hey all. Is there such a thing as a module-level global variable that can be accessed from a class instance?
codeurge has joined #ruby
<wallerdev>
is it a constant
papercode has quit [Quit: WeeChat 0.4.4-dev]
replicant has left #ruby ["WeeChat 0.4.3"]
freerobby has joined #ruby
mercwithamouth has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<bitcycle>
wallerdev: Nope, I need a variable that I can set from a module-level method.
<wallerdev>
usually you would just use a class in that case instead of a module lol
KAO has joined #ruby
sunya7a has joined #ruby
<wallerdev>
otherwise i have my object that extends from Freezable, and maybe tell it to freeze, and now every other object that extends from Freezable is frozen ya know?
<centrx>
bitcycle, That sounds like bad design
<centrx>
bitcycle, What are you really trying to do?
robustus has quit [Ping timeout: 252 seconds]
<bitcycle>
centrx: that's what I was just writing in to pastebin: http://pastebin.com/NdcEZTFy That's what I'm trying to do.
<centrx>
What is return module_level_variable.method supposed to do
robustus has joined #ruby
toastynerd has quit [Remote host closed the connection]
dr0ff has joined #ruby
<bitcycle>
Basically baz is a file, and module_level_variable is the loaded/deserialized file.
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
acl_ has joined #ruby
babykosh has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<bitcycle>
and returning module_level_variable.method is a property of the deserialized object.
<centrx>
Make it a constant at the top of the module
<bitcycle>
centrx: but the file isn't loaded until do_stuff is called, though, will that still work?
<centrx>
Why isn't the file loaded until do_stuff is called?
<centrx>
Why is this in a module not a class?
<bitcycle>
centrx: because I don't know what file it is until run-time.
Megtastique has joined #ruby
<bitcycle>
How would I implement a singleton in ruby?
maestrojed has quit [Quit: Computer has gone to sleep.]
dwayhs___ has joined #ruby
<bitcycle>
nm, I found it onnline.
<bitcycle>
online.
babykosh has quit [Client Quit]
Royalb15 has quit [Read error: Connection reset by peer]
marcdel has quit []
Hobogrammer has joined #ruby
lethjakman has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
moted has quit [Quit: moted]
mercwithamouth has quit [Ping timeout: 255 seconds]
yubrew has joined #ruby
danshultz has joined #ruby
bitcycle has quit [Quit: Page closed]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
Lightsword has joined #ruby
haroldwu has quit [Changing host]
haroldwu has joined #ruby
yubrew has quit [Ping timeout: 258 seconds]
combusean has joined #ruby
yakko_ is now known as yakko
mojo619 has quit [Quit: mojo619]
phutchins has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
combusean has quit [Ping timeout: 252 seconds]
andrewjanssen has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
Zenigor has joined #ruby
axilla has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
kies`prime is now known as kies
kies has quit [Quit: baaaaiiiiiiiiiii~]
kies has joined #ruby
<shevy>
lambo then it should work fine
andrewjanssen has joined #ruby
kitak has quit [Remote host closed the connection]
<lambo>
shevy since i have very much to learn with core i didnt realy care until today my connexion is slow i got some trouble with pacman but like 1 query on 20 but the other da to instal GLI it took me 35 time and it eventualy worked -.-
<segfalt>
acl_: We've been using this one https://github.com/bbatsov/ruby-style-guide -- the same user has a tool called Rubocop that can validate your code and even make updates. It's highly customizable so if you have another style you can configure it to work with it.
abstrakt has quit [Quit: Leaving]
snath has joined #ruby
<shevy>
Fetching: bundler-1.6.2.gem (100%)
<shevy>
Successfully installed bundler-1.6.2
<shevy>
Installing ri documentation for bundler-1.6.2
<shevy>
Done installing documentation for bundler after 3 seconds
<shevy>
Parsing documentation for bundler-1.6.2
<shevy>
lambo yeah gem can be insanely slow
Zenigor_ has joined #ruby
<shevy>
I don't know why they manage to so super slow gem down
<shevy>
if you look into a dictionary for slow
<shevy>
you will see the picture of a gem there
xcesariox has joined #ruby
pietr0 has joined #ruby
<lambo>
xD
Kricir has joined #ruby
<shevy>
a snail is like usain bolt compared to gem
<lambo>
i got 300ko/s
axilla has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
datafirm_ has joined #ruby
kitak has joined #ruby
Zenigor has quit [Ping timeout: 252 seconds]
<lambo>
i spend all the night reading bunch of pages on rvm, setting up my lab smoothly and i cant get on gem ..
fitrahfirdaus has joined #ruby
<agent_white>
shevy: I'm on 75/kbps. I have learned the patience of a buddhist monk only by updating my gems.
Spami has quit [Quit: This computer has gone to sleep]
<shevy>
I was without internet connection for a few days
<shevy>
I felt like a hermit
<shevy>
lambo I just compile from source and things work
smathieu has joined #ruby
<lethe>
where do you live guys... viet nam?
danman has quit [Quit: danman]
<shevy>
I live in central europe
<centrx>
!moon
<agent_white>
kek
<agent_white>
I live in the boondocks. If I walk outside, I can see my goats/cattle/sheep from my porch.
moneydouble has joined #ruby
<agent_white>
And I can also see how terribly slow my internet is :(
Kricir has quit []
<lethe>
wow
<agent_white>
(rural Colorado)
<lambo>
im at 50 km from paris its fucked up
<shevy>
well actually that is cool
krz has joined #ruby
<shevy>
to have fat animals nearby
<shevy>
I have only walls of concrete and a few rats
<lethe>
my friends get panicked when their internet speed is under 1mb/s
<shevy>
and a few cats somewhere around that stroll
<shevy>
lambo you could be coding sitting in the eiffel tower!
<agent_white>
lethe: I can't stream 30second youtube videos. But coding and googling for code doesn't require fast internet, thankfully.
<lethe>
good for you really
babykosh has joined #ruby
<lethe>
and you can't also play LOL, which make you spend more time coding
sambao21 has joined #ruby
smathieu has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
alpha123 has joined #ruby
<acl_>
segfalt: but there's nothing official (sort of)
spyderman4g63 has joined #ruby
<segfalt>
Yeah, nothing official. Lots of unofficial options. Best to just pick one for your project/team and move on. I prefer r-s-g just because of Rubocop :-)
b00stfr3ak has joined #ruby
freerobby has joined #ruby
chrisseaton has joined #ruby
phinfone_ has joined #ruby
<centrx>
two spaces for indentation
<centrx>
that's the Ruby style guide!
phinfonet has quit [Ping timeout: 276 seconds]
combusean has joined #ruby
<centrx>
Here's an interesting one:
<acl_>
centrx: lol
<centrx>
* Use two spaces before statement modifiers (postfix if/unless/while/until/rescue).
freerobby has quit [Ping timeout: 264 seconds]
b1205 has quit [Ping timeout: 255 seconds]
<lambo>
gem install --local /bundler-1.6.2.gem would it be correct?
MrSamuel has quit [Ping timeout: 255 seconds]
ftj has joined #ruby
<agent_white>
I would think `gem install bundler` would be fine(?)
<lambo>
nice at list the install part of the commande suite works xD
_sambao21 has joined #ruby
<lambo>
*least
combusean has quit [Ping timeout: 240 seconds]
Royalb15 has joined #ruby
b1205 has joined #ruby
_sambao21 has quit [Client Quit]
kitak has quit [Remote host closed the connection]
<lambo>
bundel install doesnt work neither => rubygems.org banned me
<JordanJ2>
Hello, Could anyone help me with a Ruby script? I want this relay script to show a - before the nickname but not sure how. http://pastebin.com/s5M2c928
b00stfr3ak has quit [Ping timeout: 252 seconds]
echevemaster has quit [Ping timeout: 240 seconds]
_sambao21 has quit [Client Quit]
Stalkr_ has joined #ruby
jmurray has quit [Quit: jmurray]
<lambo>
how would u explain me the fact that bundle install works but gem intall doesnt
kitak has joined #ruby
<segfalt>
lambo: Can you share the Gemfile?
fitrahfirdaus has quit [Remote host closed the connection]
Lightsword_ has joined #ruby
Lightsword has quit [Ping timeout: 240 seconds]
<lambo>
metasploit
Lightsword_ is now known as Lightsword
Shidash1 has joined #ruby
moneydouble has quit [Quit: Leaving.]
<segfalt>
JordanJ2: Do you mean on line 219 where you have #{-nick} ?
alpha123 has quit [Ping timeout: 252 seconds]
<JordanJ2>
Yes, that is where I tried but got a error
postmodern has quit [Quit: Leaving]
<JordanJ2>
Telling me it was undefined
jmurray has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
<segfalt>
JordanJ2: In Ruby, the syntax #{variable} in a double-quoted string literal is "String interpolation", which means it will replace #{nick} with the string value of nick.
<segfalt>
JordanJ2: So what you wanted to do was very close: -#{nick}
Stalkr_ has quit [Ping timeout: 240 seconds]
<JordanJ2>
Oh okay
<JordanJ2>
Aha
<JordanJ2>
Let me try that
moneydouble has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
Shidash has quit [Ping timeout: 258 seconds]
<JordanJ2>
segfalt: <-\02#{nick}\02>
<JordanJ2>
Would that work?
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
<segfalt>
I'm not sure what \02 means in this program, I suspect it might be colorizing text in IRC?
<JordanJ2>
Bold
<segfalt>
Ah ok. Yeah if you put it before the \02 then you'll get an not-bold hyphen :-)
phinfone_ has quit []
Lightsword has quit [Ping timeout: 258 seconds]
<JordanJ2>
What I want =) thanks
sunya7a has quit [Read error: Connection reset by peer]
<JordanJ2>
segfalt: The format is "[atheme:#xx] <-@JordanJ2> Hey" how can I get the - before the @?
Steve21 has joined #ruby
jaykilleen has joined #ruby
<segfalt>
So nick already contains the @. I'm curious why you want to add a hyphen?
darmou has quit [Quit: darmou]
<JordanJ2>
It pings me on both networks
atzorvas has joined #ruby
echevemaster has joined #ruby
failshell has joined #ruby
Slavox|AFK is now known as Slavox
failshell has quit [Client Quit]
lambo has quit [Quit: leaving]
<segfalt>
Do you always have '@', or does that signify OP?
<segfalt>
or Voice or something.
<JordanJ2>
Signify operator
<JordanJ2>
Voice etc
<JordanJ2>
Doesn't do it for voice
<JordanJ2>
Just op
benweint has joined #ruby
<segfalt>
So if you always wanted to insert a hyphen as the second character, you could do something like nick = nick.insert(1, '-')
<segfalt>
But if you didn't have a @, then you'd get J-ordanJ2
<segfalt>
:)
axl_ has joined #ruby
<segfalt>
That would change 'nick' for the entire program.
braincrash has joined #ruby
<JordanJ2>
Ah okay
<JordanJ2>
Anyway, I can just have - before the nick always?
pietr0 has quit [Quit: pietr0]
axl_ has quit [Client Quit]
rezzack has quit [Quit: Leaving.]
axilla has joined #ruby
markolson has joined #ruby
davedev2_ has joined #ruby
omosoj has joined #ruby
freerobby has joined #ruby
sptx00 has quit [Quit: Ex-Chat]
echevemaster has quit [Ping timeout: 240 seconds]
phoo1234567 has quit [Quit: Leaving]
axl_ has joined #ruby
d34th4ck3r has joined #ruby
toastynerd has joined #ruby
freerobby1 has joined #ruby
pietr0 has joined #ruby
axilla has quit [Ping timeout: 252 seconds]
freerobby has quit [Read error: Connection reset by peer]
dingus_khan has quit [Remote host closed the connection]
<certainty>
agent_white: ARGV
<certainty>
is one that you probably use alot
monkegjinni has quit [Remote host closed the connection]
<Burgestrand>
… and in addition, ARGF
Xeago has quit [Remote host closed the connection]
<certainty>
yeah
<agent_white>
certainty: Besides that one? -- What are those called so I can find more?
Celm_ has quit [Remote host closed the connection]
<Burgestrand>
agent_white: constants indeed, I’m not sure there’s a name grouping ENV with ARGF and ARGV… there’s also __FILE__, which I’d say is a magic constant.
rm_ has joined #ruby
<Burgestrand>
And __dir__, which is a method. Hehe.
<agent_white>
pontiki: I do have a cheat sheet of those next to me! Have yet to really dig into 'em though :P
bradhe has joined #ruby
<agent_white>
Rather find a use for them!
skysploit has quit []
<ra4king>
oh man
<ra4king>
I'm scared of making typos
<ra4king>
and then being puzzled over a bug
<abstrakt>
ra4king, well, you'll never get very far with that attitude
<agent_white>
ra4king: There's lots of checkers out there!
jaykilleen has quit [Ping timeout: 276 seconds]
<abstrakt>
ra4king, maybe you should choose a different hobby/profession
<abstrakt>
like making cookies or something
Hanmac1 has joined #ruby
<ra4king>
lol
simoz1114 has quit [Ping timeout: 258 seconds]
<ra4king>
I do love me some cookies
<ra4king>
abstrakt: heh, this isn't as hard as C++ though :D
tacos1de has quit [Ping timeout: 272 seconds]
<ra4king>
oh man, forgetting a semicolon
akonny has joined #ruby
* ra4king
shudders
fgo has quit [Remote host closed the connection]
<abstrakt>
ra4king, you are the kind of programmer who probably shouldn't be programming
<abstrakt>
don't take this as an insult, take it as advice
<ra4king>
wat
Stalkr_ has quit [Ping timeout: 260 seconds]
datafirm_ has quit [Ping timeout: 258 seconds]
<pontiki>
or practice harder
<ra4king>
I've been programming for over 5 years man
<ra4king>
I'm the best there is
Hanmac has quit [Ping timeout: 240 seconds]
<abstrakt>
and you're scared of "being puzzled over a bug"?
<ra4king>
nah, just wondering why a certain variable isn't being updated properly
<ra4king>
only to find out I misspelled it somewhere else
monkegjinni has quit [Remote host closed the connection]
anarang has joined #ruby
tacos1de has joined #ruby
<Burgestrand>
Programming is just the art of putting lots of bugs in place with the side-effect of having a somewhat working application in the end.
<ra4king>
lol
<abstrakt>
there's this specific type of fear I see quite often in people who express that sentiment which causes people to constantly sit and wish they were doing something else, which makes for impatience and sloppy coding
<agent_white>
ra4king: Again, there's checkers for that. "**UNUSED VARIABLE**"-type stuff.
<pontiki>
that's why i only use single character variable names ....
bradhe has quit [Ping timeout: 264 seconds]
<ra4king>
abstrakt: nah man, my whole life is about coding
<ra4king>
I love it
<abstrakt>
maybe you don't have this problem, but I've known many people who never really grow out of that irrational fear
dopie has quit [Quit: Leaving]
<ra4king>
agent_white: excellent
klaut has joined #ruby
tylersmith has quit [Remote host closed the connection]
<abstrakt>
ra4king, ok, well, it didn't seem like that from that initial statement
andikr has joined #ruby
<ra4king>
I've never used a dynamic language before
<ra4king>
this is my first one
<rkazak>
programming, programming, what eh? is that…
<agent_white>
ra4king: Not sure what you use, but I have "syntastic" for vim. It works wonderfully.
Eyess has quit [Quit: Leaving]
<ra4king>
so moving away from static typing is scary but exciting
tylersmith has joined #ruby
Eyes has joined #ruby
<rkazak>
you mean from compiled to interactive….
<agent_white>
rkazak: Compiled languages have REPLS too.
<ra4king>
yeah I've used a Java REPL before
<rkazak>
its the quick fix… :)
lyanchih_ has quit [Quit: lyanchih_]
rdark has joined #ruby
akonny has quit [Quit: akonny]
apeiros has joined #ruby
<pontiki>
that sounds so bloody painful
lyanchih has joined #ruby
marcdel_ has quit []
ta has quit [Ping timeout: 264 seconds]
tylersmith has quit [Ping timeout: 255 seconds]
psyko666 has joined #ruby
monkegjinni has joined #ruby
Hanmac has joined #ruby
duncannz has joined #ruby
Hanmac1 has quit [Ping timeout: 264 seconds]
dingus_khan has joined #ruby
vivekpoola has joined #ruby
<vivekpoola>
Hello all, I am learning Ruby using codewars, and I was hoping that someone could help with an issue I am having?
rurza has joined #ruby
alpha123 has quit [Ping timeout: 255 seconds]
<Burgestrand>
vivekpoola: proper etiquette is to explain your problem.
sigurding has joined #ruby
<Burgestrand>
vivekpoola: not that you have one. :)
<vivekpoola>
Heres the problem from codewars: Finish the solution so that it sorts the passed in array of numbers. If the function passes in an empty array or null/nil value then it should return an empty array.
<vivekpoola>
For example:
<vivekpoola>
solution([1, 2, 10, 50, 5]) # should return [1,2,5,10,50]
<vivekpoola>
solution(nil) # should return []
<vivekpoola>
I’m not sure how to tackle this
combusean has quit [Ping timeout: 240 seconds]
<Hanmac>
do it with Array(obj)
<apeiros>
early return on edge-cases
alpha123 has joined #ruby
* apeiros
dislikes Array(arg)
<Hanmac>
or like apei says
ta has joined #ruby
<apeiros>
let the user handle normalization. you don't necessarily know what he wants.
<apeiros>
(user = user of your method)
<Burgestrand>
In addition, if you’re learning Ruby it’s probably better to keep the magic methods on a down-low.
<apeiros>
return [] unless arg
noop has joined #ruby
andrewjanssen has joined #ruby
dingus_khan has quit [Remote host closed the connection]
<vivekpoola>
okay, thanks all
monkegjinni has quit [Remote host closed the connection]
moneydouble has quit [Quit: Leaving.]
OffTheRails has joined #ruby
phansch has joined #ruby
monkegjinni has joined #ruby
pietr0 has quit [Quit: pietr0]
ta has quit [Read error: Connection reset by peer]
monkegjinni has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
cina has joined #ruby
yubrew has joined #ruby
claymore has joined #ruby
kiri has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
anaeem1_ has joined #ruby
b1205 has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
ringaring has joined #ruby
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
tesuji has joined #ruby
roolo has quit [Quit: Leaving...]
yubrew has quit [Ping timeout: 240 seconds]
abstrakt has quit [Quit: Leaving]
dingus_khan has joined #ruby
kies has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
moneydouble has joined #ruby
jackneill has joined #ruby
vivekpoola has quit [Quit: vivekpoola]
dingus_khan has quit [Ping timeout: 240 seconds]
zigomir has joined #ruby
ktun has joined #ruby
ta has joined #ruby
VinDH has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
combusean has joined #ruby
freerobby has joined #ruby
axilla has joined #ruby
sigurding has joined #ruby
Macaveli has quit [Quit: Leaving]
Macaveli has joined #ruby
mikecmpbll has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 240 seconds]
axilla has quit [Ping timeout: 264 seconds]
sunya7a has quit [Ping timeout: 258 seconds]
mercerist has joined #ruby
andrewjanssen has quit [Ping timeout: 252 seconds]
jgrevich_ has quit [Quit: jgrevich_]
matchaw has quit [Ping timeout: 265 seconds]
dingus_khan has joined #ruby
oo_ has quit [Remote host closed the connection]
rkazak has left #ruby [#ruby]
oo_ has joined #ruby
ringaring has quit [Quit: Leaving]
kies has joined #ruby
Gabri_ has joined #ruby
ta has quit [Remote host closed the connection]
OffTheRails has quit [Quit: Leaving]
OffTheRails has joined #ruby
claymore has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has joined #ruby
Gabri has quit [Ping timeout: 276 seconds]
axl_ has joined #ruby
axl_ has quit [Client Quit]
Xeago has joined #ruby
tjr9898 has quit []
danjordan has joined #ruby
tjr9898 has joined #ruby
<ra4king>
ah, just learned the begin-end clause
zz_nopc0de is now known as nopc0de
<ra4king>
rescue is my "catch"
<ra4king>
is there an equivalent to "finally"?
<ra4king>
thanks google: ensure
alex88 has joined #ruby
blackmesa has joined #ruby
<apeiros>
ra4king: there's also 'else'
mikecmpbll has quit [Quit: i've nodded off.]
<apeiros>
ra4king: zenspiders quickref covers almost all of rubys syntax
<ra4king>
apeiros: else is *only* when there were no exceptions raised
JoeGaudet has quit [Quit: Computer has gone to sleep.]
<ra4king>
pontiki: oh that's for RubyMine only
<ra4king>
$99 for IDEA ultimate
kaspergrubbe has joined #ruby
<ra4king>
pontiki: that screenshot on the main page is beautiful though
vee has quit [Ping timeout: 264 seconds]
<pontiki>
init?
<pontiki>
i like jetbrains stuff
memorozovm has joined #ruby
olivier_bK has joined #ruby
<pontiki>
when i was writing java, i was using eclipse
<ra4king>
I used Eclipse for many years
<_tpavel>
just curious, did anyone here do any ruby work related to the type of news clustering that Google News does?
<ra4king>
but I slowly got very frustrated with it and deeply disliked it
<ra4king>
switched to IntelliJ over a year ago and have never looked back
<pontiki>
yup
<pontiki>
i've been looking at trying out webstorm
<pontiki>
for JS apps
<ra4king>
webstorm looks like IDEA O_o
sigurding has quit [Quit: sigurding]
frogssgy has joined #ruby
_axx has joined #ruby
<Hanmac>
i used phpstrom in some company ... but i needed an IDE that support more than a few languages at the same time
<ra4king>
basically IDEA seems to be the absolute best for multiple languages
agjacome has quit [Quit: leaving]
<pontiki>
ra4king: all jetbrains IDEs are based on IDEA
<ra4king>
seems to be like it
mehlah has joined #ruby
<pontiki>
they're tailored to the specific language
obs has joined #ruby
<_axx>
Hello! I would like to crawl a website that loads content via JS (a list of items). Is it possible to do this? I'm not sure how to archive that with capybara/phantomjs/poltergeist.
sigurding has joined #ruby
<pontiki>
even with ultimate, adding in the language packages doesn't get you as smooth an IDE as using the one built specifically for that language
toordog_ has quit [Ping timeout: 240 seconds]
<pontiki>
_axx: you might give watirwebdriver a look
jprovazn has quit [Quit: Odcházím]
Lightsword has joined #ruby
<ra4king>
pontiki: oh?
<ra4king>
I thought they were basically the same
<ra4king>
instead of buying each one specifically tailored, buy the whole thing
<pontiki>
ra4king: FSVO "basically"
frosgy has quit [Ping timeout: 258 seconds]
<ra4king>
pontiki: FSVO?
<ra4king>
all i get is Fire Service Vehicle Operator :D
<pontiki>
IDEA will always deal with the Java world better then Ruby, and do it less well than RubyMine does
<pontiki>
"for some value of"
combusean has joined #ruby
<ra4king>
ah
freerobby has joined #ruby
<pontiki>
RubyMine, however, won't do much of anything with the Java world
ktun has joined #ruby
nnu has quit [Quit: Wqke me up before you go-go]
<_axx>
pontiki: cool, thanks!
<pontiki>
it's a matter of UI optimization, really
<pontiki>
i do like the jetbrains folks
axilla has joined #ruby
<ra4king>
yeah all their software is glorious
<ra4king>
and Darcula makes it all more badass
<pontiki>
lol
nnu has joined #ruby
klaut has quit [Remote host closed the connection]
<pontiki>
it's ALL about the looks!
_JamieD_ has joined #ruby
<pontiki>
i made some new biz cards
<pontiki>
green text on black bg :>
bradhe has joined #ruby
jprovazn has joined #ruby
<pontiki>
Andale Mono face :>
freerobby has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
einarj has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
voglster has quit [Ping timeout: 265 seconds]
axilla has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
<agent_white>
Goodnight folks.
agent_white has quit [Quit: goodnight]
bradhe has quit [Ping timeout: 258 seconds]
voglster has joined #ruby
trampi has joined #ruby
bakflash has joined #ruby
orriols has joined #ruby
reference has joined #ruby
<orriols>
good day to everyone
knigitz has quit [Remote host closed the connection]
knigitz has joined #ruby
sinkensabe has quit [Ping timeout: 276 seconds]
trampi has quit [Client Quit]
trampi has joined #ruby
canton7-mac has joined #ruby
<ra4king>
haha one guy goes to bed the other says good day
<ra4king>
heyo orriols
trampi has quit [Client Quit]
<ra4king>
meanwhile, it's 4:30am for me, I think it's time for bed
trampi has joined #ruby
<pontiki>
hmm, it has gone 3:30
datafirm_ has joined #ruby
<orriols>
you are such a night walkers, aren't you?
<orriols>
last night I just stayed till 4
<pontiki>
s'truth
<ra4king>
I stay up til 6-7am usually
<pontiki>
i love night
<ra4king>
I have a lunch date tomorrow though so I gotta be awake earlier than usual (usual = ~3pm)
<pontiki>
and i have a painting class
<ra4king>
anyway before I go, quick question: what is =~
<pontiki>
matching operator
<Mon_Ouie>
It's for pattern matching. Typically it's used for regular expressions
bradhe has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
oo_ has joined #ruby
Roa has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
einarj has joined #ruby
dandrade has quit [Ping timeout: 264 seconds]
combusean has joined #ruby
shemerey has joined #ruby
axilla has joined #ruby
trampi has quit [Ping timeout: 264 seconds]
OffTheRails has quit [Quit: Leaving]
manacit has joined #ruby
manacit has joined #ruby
manacit has quit [Changing host]
oo_ has quit [Remote host closed the connection]
OffTheRails has joined #ruby
d34th4ck3r has quit [Quit: zzz]
bradhe_ has quit [Ping timeout: 255 seconds]
dingus_khan has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 240 seconds]
rm_ has quit [Remote host closed the connection]
combusean has quit [Ping timeout: 252 seconds]
axilla has quit [Ping timeout: 240 seconds]
lectrick has quit [Ping timeout: 264 seconds]
platzhirsch has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
bigkevmcd has joined #ruby
Zebroid has joined #ruby
koderok has quit [Ping timeout: 264 seconds]
lectrick has joined #ruby
Roa has joined #ruby
blackmesa has joined #ruby
dandrade has joined #ruby
workmad3 has joined #ruby
oo_ has joined #ruby
nemesit|znc has quit [Ping timeout: 240 seconds]
tacos1de has quit [Remote host closed the connection]
decoponio has joined #ruby
canton7-mac has quit [Remote host closed the connection]
tacos1de has joined #ruby
oo_ has quit [Remote host closed the connection]
canton7-mac has joined #ruby
nemesit|znc has joined #ruby
Soda has joined #ruby
trampi has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
vee has quit [Ping timeout: 276 seconds]
Zebroid has quit [Remote host closed the connection]
_justin has quit [Quit: _justin]
Guest37735 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
eka has joined #ruby
_justin has joined #ruby
trampi has quit [Ping timeout: 264 seconds]
e^0 has quit [Read error: Connection reset by peer]
jilk23 has joined #ruby
cmaxw_____ has quit [Ping timeout: 245 seconds]
lectrick has quit [Ping timeout: 245 seconds]
danjordan has left #ruby [#ruby]
e^0 has joined #ruby
cmaxw_____ has joined #ruby
lectrick has joined #ruby
memorozovm has quit [Remote host closed the connection]
yubrew has joined #ruby
memorozovm has joined #ruby
Xeago has quit [Remote host closed the connection]
memorozovm has quit [Remote host closed the connection]
memorozovm has joined #ruby
tobago has joined #ruby
e^0 has left #ruby ["WeeChat 0.4.3"]
Xeago has joined #ruby
lolmaus_ has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
oo_ has joined #ruby
mengu__ has joined #ruby
karupa is now known as zz_karupa
Xeago has joined #ruby
akemrir has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
lolmaus has joined #ruby
chrisseaton has quit []
vee has joined #ruby
mollitz has quit [Ping timeout: 252 seconds]
rm_ has joined #ruby
shvelo has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edwardly has quit [Ping timeout: 264 seconds]
timgauthier has joined #ruby
OffTheRails has quit [Ping timeout: 276 seconds]
danijoo has quit [Read error: Connection reset by peer]
lolmaus has quit [Ping timeout: 240 seconds]
mengu__ has quit [Ping timeout: 276 seconds]
danijoo has joined #ruby
rm_ has quit [Ping timeout: 258 seconds]
Bira has joined #ruby
AlexRussia has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rurza has quit [Remote host closed the connection]
ktun has joined #ruby
monkegjinni has joined #ruby
Rahul_Roy has joined #ruby
agjacome has joined #ruby
ghr has joined #ruby
ghr has quit [Client Quit]
banister has quit [Ping timeout: 265 seconds]
ghostbox has left #ruby [#ruby]
banister has joined #ruby
lolmaus has joined #ruby
banister has quit [Max SendQ exceeded]
bradhe has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
_justin has quit [Ping timeout: 240 seconds]
hgl has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 255 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
_justin has joined #ruby
jottr_ has joined #ruby
kiri has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
mordocai has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tjsousa has joined #ruby
freerobby has joined #ruby
jackneill has quit [Read error: Connection reset by peer]
senayar_ has joined #ruby
mordocai has joined #ruby
combusean has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Bira has quit [Remote host closed the connection]
lethe has quit [Remote host closed the connection]
banister has joined #ruby
Soda has quit [Remote host closed the connection]
axilla has joined #ruby
jackneill has joined #ruby
jackneill has joined #ruby
jackneill has quit [Changing host]
Zebroid has joined #ruby
Lightsword has quit [Ping timeout: 252 seconds]
axl_ has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
senayar has quit [Ping timeout: 240 seconds]
dingus_khan has joined #ruby
mehlah has quit [Quit: Leaving...]
rm_ has joined #ruby
axl_ has quit [Client Quit]
mengu has joined #ruby
mengu has joined #ruby
combusean has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 265 seconds]
dingus_khan has joined #ruby
axilla has quit [Ping timeout: 252 seconds]
chrisseaton has joined #ruby
lkba has quit [Ping timeout: 258 seconds]
nopc0de is now known as zz_nopc0de
Zebroid has quit [Read error: Connection reset by peer]
relix has joined #ruby
dingus_khan has quit [Ping timeout: 240 seconds]
ltdl has joined #ruby
kiri has joined #ruby
mbuf has joined #ruby
fgo has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<mbuf>
a call to super in method_missing leads to an "ArgumentError: no id given". How can I identify the class from where this error is getting generated from?
<timgauthier>
adobe eats your disk space fast... :(
<Mon_Ouie>
mbuf: There's a backtrace when Ruby generates an exception
<mbuf>
Mon_Ouie, this is being executed through RSpec; I believe RSpec doesn't interpret or understand Ruby internal calls?
Advocation has joined #ruby
fabrice31 has joined #ruby
fgo has quit [Remote host closed the connection]
<Mon_Ouie>
I don't know what you mean, RSpec is just a library. Your code is run by the same Ruby VM you always use.
<Mon_Ouie>
Although I just realize this comes from method_missing itself
<Mon_Ouie>
>> Object.new.send :method_missing
<Mon_Ouie>
… would get you that error if the bot were to answer
kiri has quit [Read error: Connection reset by peer]
<timgauthier>
whats with the bot? i go away for a week and everythings broken..
oo_ has quit [Remote host closed the connection]
<Mon_Ouie>
It worked 2 hours ago so I don't know
<mbuf>
invocation is object.method_missing(id) gives undefined local variable or method `id' for #<RSpec::Core::ExampleGroup::Nested_2:0x00000002fb3d38>
<Mon_Ouie>
Well first of all method_missing is normally a private method so you can't call it like that
<mbuf>
Mon_Ouie, yes, Object.new.send :method_missing returns the same error
<Mon_Ouie>
You're not supposed to call method_missing explicitly ever in fact
yubrew has joined #ruby
<Mon_Ouie>
And the error just says you're trying to use a variable/method that doesn't exist
mollitz has joined #ruby
<mbuf>
Mon_Ouie, okay, so can call something like object.foo (and foo is not defined?)
<mbuf>
Mon_Ouie, I get undefined method 'foo' for this class
mercwithamouth has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<Mon_Ouie>
Well, if it's not defined that's what's going to happen. You can also define method_missing to answer to such calls but if you get that error it means your definition of method_missing is incorrect.
schickung has quit [Quit: schickung]
lolmaus has quit [Ping timeout: 240 seconds]
schickung has joined #ruby
<mbuf>
Mon_Ouie, is there an example on how it should be defined?
kiri has joined #ruby
ikaros has joined #ruby
rm_ has quit [Ping timeout: 255 seconds]
yubrew has quit [Ping timeout: 264 seconds]
<Mon_Ouie>
def method_missing(method_name, *args); method_name; end # any undefined method you call will now evaluate to its name
<Mon_Ouie>
But that's kind of like asking for an example on how to define any method. It all depends on what you want to do in it.
<pehlert>
Looks like bundler syntax, but I have never seen bundler statements in a regular source file before
dblessing_ has joined #ruby
ta has joined #ruby
yubrew has joined #ruby
supermarin__ has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
akonny has joined #ruby
<benzrf>
pehlert: Gemfile *is* a regular source file
senayar has joined #ruby
setra has joined #ruby
chrisseaton has joined #ruby
<pehlert>
benzrf: Sorry, of course it is. But how does bundler know to search for gem specs in these other files? Or does that in fact happen automatically when the file is required?
<benzrf>
pehlert: it's probably old ruby 1.8 stuff
<benzrf>
iirc in 1.8, you had to call gem to load a gem
<benzrf>
or something
yubrew has quit [Ping timeout: 255 seconds]
<pehlert>
In the latest rails master branch?
<benzrf>
not sure p:
<benzrf>
oh huh
* benzrf
shrugs
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pehlert>
Hum okay, I'll try to dig a bit deeper
benzrf is now known as benzrf|offline
<pehlert>
I'm trying to implement something adapter based as well and this would be very helpful if it does indeed work as I expect it to do
tkuchiki_ has joined #ruby
dingus_khan has joined #ruby
voglster has quit [Ping timeout: 276 seconds]
<jottr>
Is anyone in here using rbenv with tmux on linux?
supermarin__ has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
Megtastique has joined #ruby
dingus_khan has quit [Ping timeout: 252 seconds]
tkuchiki_ has quit [Ping timeout: 276 seconds]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
jobewan has joined #ruby
ffranz has joined #ruby
duggiefresh has joined #ruby
shemerey has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
banister has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
<shevy>
sarkyniin do you mean gems, when you write "packages"?
agjacome has quit [Quit: leaving]
<sarkyniin>
shevy: yeah, sorry
<sarkyniin>
meant gems
|stef_204| has quit [Ping timeout: 240 seconds]
<shevy>
ok
<shevy>
all gems are kept locally too in the cache/ subdirectory
<shevy>
find that directory, copy your gems, compile new ruby, reinstall all gems via ruby itself like in irb: Dir['*.gem'].each {|gem| system 'gem install '+gem }
paulfm has quit []
stef_204 has joined #ruby
tagrudev has quit [Remote host closed the connection]
<shevy>
on my system they are under SITE_DIR_PREFIX_GOES_HERE/lib/ruby/gems/2.1.0/cache/
baweaver has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 252 seconds]
<shevy>
if you compiled into /usr then you would find them at /usr/lib/ruby/gems/*/cache where * is the API version
<sarkyniin>
shevy: I just compiled with ./configure make make install.
<sarkyniin>
Is the default dir /usr/lib/ruby/gems?
<shevy>
ok then it will be in /usr/local because if you do not specify --prefix, it will default to /usr/local
kiri has quit [Ping timeout: 255 seconds]
jespada has joined #ruby
<sarkyniin>
ah, thanks shevy
<sarkyniin>
all my gems are there
mengu has quit []
<shevy>
\o/
JumpMast3r has joined #ruby
maestrojed has joined #ruby
mr_snowf1ake has joined #ruby
<shevy>
you can even install them faster with this:
<shevy>
'gem install --ignore-dependencies'
_stef_204_ has quit [Ping timeout: 252 seconds]
<shevy>
because you already know they work
<shevy>
and if you use the same prefix, you probably dont have to reinstall anything
shvelo has quit [Remote host closed the connection]
setra has quit [Ping timeout: 240 seconds]
davedev24_ has joined #ruby
<sarkyniin>
shevy: thanks!
<shevy>
but backup just in case anyway
memorozovm has joined #ruby
<sarkyniin>
anyway, when I do make, I have to do make --enable-shared?
<sarkyniin>
ugh, the ruby source download is slow.
axl_ has joined #ruby
cescalante is now known as ce_afk
<apeiros>
banisterfiend: pong
axl_ has quit [Client Quit]
<banisterfiend>
apeiros nm, just had some weird issue where A.joins(:b).first.readonly? #=> true which was blocking me from updating some production data
<banisterfiend>
apeiros but ended up doing: A.joins(:b).select("a.*") to fix it
Squarepy_ has joined #ruby
rm_ has joined #ruby
bradhe has joined #ruby
EagleDelta has joined #ruby
failshell has joined #ruby
tylersmith has joined #ruby
Zenigor has quit [Remote host closed the connection]
brunops has joined #ruby
nateberkopec has quit [Quit: Leaving...]
omosoj has joined #ruby
kiri has joined #ruby
monkegjinni has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
segfalt has joined #ruby
rm_ has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 255 seconds]
Gabri has joined #ruby
dik_dak has joined #ruby
psyko666 has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
Lutece has quit [Quit: WeeChat 0.4.3]
freerobby has joined #ruby
Squarepy_ has quit [Quit: Leaving]
SCommette has joined #ruby
ixti has joined #ruby
pragmatism_away is now known as pragmatism
Zenigor has joined #ruby
Megtastique has quit [Remote host closed the connection]
obs has joined #ruby
_justin has quit [Quit: _justin]
Megtastique has joined #ruby
Todd_ is now known as Todd
geggam has joined #ruby
ta has quit [Remote host closed the connection]
yfeldblum has joined #ruby
wookiehangover has quit [Ping timeout: 276 seconds]
sunya7a has joined #ruby
omosoj has quit [Quit: Leaving]
rm_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
Shidash has quit [Quit: Leaving.]
memorozovm has quit [Remote host closed the connection]
bal has quit [Quit: bal]
phracker has quit [Remote host closed the connection]
pehlert has quit [Ping timeout: 255 seconds]
mollitz has quit [Ping timeout: 264 seconds]
toastynerd has joined #ruby
<toretore>
anyone ever moved ruby to a different directory after installation?
<havenwood>
toretore: sure
<toretore>
how'd you do it?
<toretore>
there are some hardcoded paths in there
<Hanmac>
toretore: i dont think that might work so nicely ... installing it into a different directory is better
meatherl_ has quit [Remote host closed the connection]
pehlert has joined #ruby
reference has joined #ruby
DrShoggoth has joined #ruby
<havenwood>
toretore: what's hardcoded? just a mv
baweaver has joined #ruby
<shevy>
sarkyniin --enable-shared is an option to configure
<shevy>
I am unsure why ruby does not default to it
lw has joined #ruby
<toretore>
havenwood: no, the load paths
<Hanmac>
havenwood: some paths in RbConfig are hardcoded
<sarkyniin>
shevy: thanks
<toretore>
havenwood: i mean move the entire installation somewhere else
meatherl_ has joined #ruby
<toretore>
ah! rbconfig
<toretore>
forgot about that one
meatherl_ has quit [Remote host closed the connection]
<havenwood>
toretore: as in move to another dir on the same box?
<toretore>
yes
<toretore>
say, from /usr/local to /tmp/banana
<toretore>
actually, the other way around, but you get the point
mollitz has joined #ruby
benweint has quit [Quit: Computer has gone to sleep.]
tjsousa____ has joined #ruby
tjsousa____ has quit [Remote host closed the connection]
<havenwood>
oh right.., i need coffee..
tjsousa___ has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
tjsousa____ has joined #ruby
reference has quit [Ping timeout: 240 seconds]
<havenwood>
--enable-load-relative
orriols has quit [Ping timeout: 240 seconds]
acrussell has joined #ruby
axl_ has joined #ruby
memorozovm has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sinkensabe has joined #ruby
codeurge has joined #ruby
jamto11 has joined #ruby
sski has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
mollitz has quit [Ping timeout: 240 seconds]
kiri has quit [Ping timeout: 276 seconds]
baweaver has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dumdedum has quit [Quit: foo]
moted has joined #ruby
paulfm has quit []
moted has quit [Client Quit]
aganov has quit [Remote host closed the connection]
Guest95166 has quit []
wookiehangover has joined #ruby
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
sski has quit [Ping timeout: 240 seconds]
Beoran has quit [Ping timeout: 240 seconds]
<toretore>
havenwood: yeah that's it
memorozovm has quit [Remote host closed the connection]
<toretore>
too much work though
zz_jrhorn424 is now known as jrhorn424
moted has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
<shevy>
lazy!
Elak has joined #ruby
tjsousa_____ has joined #ruby
<toretore>
i thought programmers were supposed to be lazy?
memorozovm has joined #ruby
<shevy>
but not totally lazy
<shevy>
they must still hit the keys
fabrice31 has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 240 seconds]
fabrice31 has joined #ruby
tjsousa____ has quit [Ping timeout: 240 seconds]
tylersmith has quit [Remote host closed the connection]
memorozovm has quit [Remote host closed the connection]
<Hanmac>
havenwood: do you know the SUPPORT_JOKE option? ;P
wookiehangover has quit [Ping timeout: 240 seconds]
<havenwood>
Hanmac: was that GOTO?
<Hanmac>
yeah
tylersmith has joined #ruby
<havenwood>
yeah, hehe
franzip has joined #ruby
arrubin has joined #ruby
wookiehangover has joined #ruby
toastynerd has quit [Remote host closed the connection]
combusean has joined #ruby
sarkyniin has joined #ruby
echevemaster has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
<shevy>
Hanmac whatcha coding lately?
tylersmith has quit [Ping timeout: 255 seconds]
<Hanmac>
today i need to watch youtube channel about chef
meatherly has joined #ruby
<banisterfiend>
Hanmac you starting to use more ruby in your job now? :)
goleldar has joined #ruby
<Hanmac>
hm yeah but i am new yet (first week in the new job)
combusean has quit [Ping timeout: 252 seconds]
Beoran has joined #ruby
michael_lee has joined #ruby
dwayhs has quit [Quit: Computer has gone to sleep.]
dilated_dinosaur has quit [Ping timeout: 276 seconds]
<shevy>
Hanmac RAILS?
<Hanmac>
nope ;P not that i know yet
dingus_khan has joined #ruby
aspires has joined #ruby
codeurge has quit [Quit: Quit.]
nvrch has quit [Quit: nvrch]
jilk23 has quit [Ping timeout: 255 seconds]
Gabri_ has joined #ruby
jilk23 has joined #ruby
Gabri has quit [Ping timeout: 252 seconds]
Megtastique has quit []
sunya7a has quit [Ping timeout: 240 seconds]
kitak has joined #ruby
supermarin__ has quit [Quit: Computer has gone to sleep.]
dingus_khan has quit [Ping timeout: 240 seconds]
supermarin__ has joined #ruby
robbyoconnor has quit [Read error: No route to host]
robbyoconnor has joined #ruby
danman has joined #ruby
Advocation has quit [Quit: Advocation]
codeurge has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pu22l3r_ has joined #ruby
sdelmore has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
pu22l3r_ has quit [Remote host closed the connection]
hgl has quit [Ping timeout: 252 seconds]
pu22l3r_ has joined #ruby
_tpavel has quit [Quit: Leaving]
ta has joined #ruby
pragmatism is now known as pragmatism_away
supermarin__ has quit [Ping timeout: 240 seconds]
<sdelmore>
I've been stumped on a ActiveSupport::TimeWithZone issue for about an hour now. Embarassing. Is there an idiomatic way to turn a Ruby Time into an ActiveSupport::TimeWithZone, both utc? I tried doing ruby_time.in_time_zone but it changes the time zone and I can't figure out the call to keep it utc.
robbyoconnor has quit [Ping timeout: 240 seconds]
combusean has joined #ruby
dilated_dinosaur has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
<Hanmac>
sdelmore: did you try #rubyonrails ?
<sdelmore>
No, should have thought of that. Thanks.
mercwithamouth has joined #ruby
lmickh has joined #ruby
paulfm has joined #ruby
sski has joined #ruby
rails426 has quit []
paulfm has quit [Client Quit]
qsd has joined #ruby
combusean has quit [Ping timeout: 258 seconds]
timonv has quit [Remote host closed the connection]
sdelmore has left #ruby [#ruby]
paulfm has joined #ruby
qsd has quit [Client Quit]
pehlert has quit [Ping timeout: 252 seconds]
snath has joined #ruby
sambao21 has joined #ruby
sski has quit [Ping timeout: 252 seconds]
niharvey is now known as Nick|brb
Nick|brb is now known as niharvey|brb
queuetue has joined #ruby
<queuetue>
Hi! For remote education purposes, does anyone know of a shared repl solution besides screen?
baweaver has joined #ruby
pu22l3r_ has quit [Ping timeout: 264 seconds]
pu22l3r_ has joined #ruby
<goleldar>
queuetue: you could use tmux.me
<apeiros>
oooh, somebody in here wrote a remote pry
<apeiros>
dang, now I forgot whom :-(
<havenwood>
apeiros: Mon Ouie
duggiefresh has quit [Remote host closed the connection]
<sarkyniin>
shevy: sudo bundle install seemed to fix it.
b00stfr3ak has joined #ruby
<shevy>
yeah because now you had more power
freerobby has quit [Quit: Leaving.]
<shevy>
rather than be a low grunt user who is trapped in the system without permissions!
<timgauthier>
ALL OF THE POWER!
supermarin__ has quit [Ping timeout: 264 seconds]
<timgauthier>
IMMERPOWER!
<akemrir>
hi, pstore have disabled transactions from inside of daemonized/forked app?
<timgauthier>
IMMERKONTROL
tier has joined #ruby
<havenwood>
akemrir: whatcha mean?
sunya7a has joined #ruby
wallerdev has joined #ruby
<akemrir>
havenwood: I have app that forks self to background, daemon. And want to save with pstore in it. When app triggers save I encounter `rescue in transaction': nested transaction (PStore::Error)
freerobby has joined #ruby
jasonwebster has joined #ruby
tvw has quit []
dilated_dinosaur has quit [Ping timeout: 265 seconds]
Zenigor has quit [Remote host closed the connection]
<maxamillion>
I'm looking for a rubygem similar to parseconfig(http://rubygems.org/gems/parseconfig) but will let me load a config file and then update/modify values in the config file being parsed ... anyone have any suggestions/recommendations?
lkba has quit [Ping timeout: 252 seconds]
mercwithamouth has quit [Ping timeout: 252 seconds]
anarang_ has quit [Quit: Leaving]
toastynerd has joined #ruby
endash has joined #ruby
combusean has joined #ruby
jambolina has quit [Ping timeout: 264 seconds]
ringaring has joined #ruby
OffTheRails has quit [Ping timeout: 276 seconds]
duggiefresh has quit [Ping timeout: 240 seconds]
heftig has quit [Quit: Quitting]
Advocation has joined #ruby
dwayhs has quit [Ping timeout: 252 seconds]
synfin has quit [Quit: leaving]
synfin has joined #ruby
jprovazn is now known as jprovazn_afk
sunya7a has quit [Ping timeout: 240 seconds]
bluenemo has quit [Remote host closed the connection]
pu22l3r_ has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
axl_ has quit [Ping timeout: 252 seconds]
axl__ has joined #ruby
kaspergr_ has joined #ruby
combusean has quit [Ping timeout: 264 seconds]
alexju has quit [Remote host closed the connection]
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
andrewjanssen has joined #ruby
meatherly has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
chipotle has joined #ruby
niharvey|brb is now known as Coolhand
OffTheRails has joined #ruby
Coolhand is now known as niharvey
timonv has quit [Ping timeout: 255 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<maxamillion>
pontiki: .add will let me add a new attribute but not update one that's already there
duggiefr_ has joined #ruby
duggiefresh has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
atzorvas has quit [Ping timeout: 240 seconds]
<pontiki>
yes it will
<pontiki>
it does for me, anyway
alexju has joined #ruby
danjordan has left #ruby [#ruby]
memorozovm has quit [Ping timeout: 255 seconds]
zB0hs has joined #ruby
zB0hs has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby
atzorvas has joined #ruby
tkuchiki has quit [Remote host closed the connection]
VTLob has joined #ruby
atzorvas is now known as Guest56687
maletor has joined #ruby
<sarkyniin>
How do I require a gem in a shoes app?
DaniG2k has quit [Quit: leaving]
<pontiki>
require 'gem_name
<pontiki>
' doesn't work?
<pontiki>
sorry bout that
pgmcgee has quit [Ping timeout: 245 seconds]
sunya7a has joined #ruby
dwayhs has joined #ruby
Xeago has joined #ruby
dwayhs has joined #ruby
smathieu has joined #ruby
<akemrir>
havenwood: 2.1.1
zB0hs has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
Squarepy has quit [Ping timeout: 252 seconds]
<akemrir>
havenwood: when I put pstore transaction in new Thread, works fine
<bricker`LA>
sarkyniin: "gem 'gemname'"
t0rc has quit [Quit: WeeChat 0.4.3]
<zB0hs>
seeing some behavior i dont expect in my rails controller... if i have a binding.pry at the beginning of my controller and later in the method set the params hash equal to something else (for some unknown reason), params evaluates to nil at the pry breakpoint even though im not reassigning it until later in the method
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
<bricker`LA>
zB0hs: how are you getting to that method?
<zB0hs>
its a rails controller
zigomir has quit [Remote host closed the connection]
<zB0hs>
i edited some stuff out but was trying to keep the basic idea
<akemrir>
havenwood: I have checked backtrace. This error is raised when thread safety is not provided. Hmm
senayar has quit [Remote host closed the connection]
michael_lee has quit [Ping timeout: 255 seconds]
<bricker`LA>
zB0hs: are you getting to it from a test? Which test framework? Or you're just using rails server and clicking around?
<zB0hs>
bricker`LA: rails server
<bricker`LA>
zB0hs: if you remove everything else from that method, is the behavior the same?
<bricker`LA>
zB0hs: everything except binding.pry I mean
benzrf|offline is now known as benzrf
bmcorser has joined #ruby
olivier_bK has quit [Ping timeout: 265 seconds]
<zB0hs>
if i remove the params = "blah" params evaluates to {"controller"=>"blah", "action"=>"blah"} at the pry breakpoint as i would expect
<zB0hs>
if i remove the pry, it works as expected
<zB0hs>
for example if i do a puts instead
<akemrir>
havenwood: Pstore have Mutex used to provide lock on transactions.
<zB0hs>
so it definitely has to do with pry
<benzrf>
zB0hs: pry has mysterious fx
<benzrf>
nobody truly understands it
<ericwood>
yeah...
<benzrf>
not even banisterfiend
<ericwood>
lol
<zB0hs>
benzrf: thats what i figured haha
ji0n has joined #ruby
<benzrf>
once, pry started talking to me
<benzrf>
i told it to shut up
wallerdev has quit [Read error: Connection reset by peer]
<zB0hs>
what its doing seems very similar to hoisting in javascript
nanoyak_ has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
andrewjanssen has quit [Ping timeout: 265 seconds]
<bricker`LA>
zB0hs: are you sure the method is only being called once? i.e. when you get to the breakpoint, if you type `exit` does the program continue to execute, or do you get to the breakpoint again? The thought being that maybe you're getting an OPTIONS request to that method first
<zB0hs>
only once bricker`LA
<bricker`LA>
zB0hs: :(
* bricker`LA
googles
amarks has joined #ruby
<zB0hs>
yeah i probably will eventually
<zB0hs>
ive avoided it for now by not actually wiping away the params hash
<amarks>
I have the log4r gem installed, but I receive this error: "kernel_require.rb:135:in `require': cannot load such file -- log4r" when running vagrant. Can someone point me in the right direction?
kitak has quit [Remote host closed the connection]
<bricker`LA>
zB0hs: maybe your example is missing something important. Remember that binding.pry returns nil, so perhaps that's causing a problem
axl__ has quit [Quit: axl__]
lethjakman has quit [Ping timeout: 276 seconds]
<zB0hs>
bricker`LA inside the pry console is where im checking the value of params and getting it to be nil
OffTheRails has quit [Read error: No route to host]
subbyyy has quit [Ping timeout: 258 seconds]
lolmaus has joined #ruby
j_mcnally has joined #ruby
axl_ has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
blackmesa has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
Advocation has quit [Quit: Advocation]
Guest12241 has quit [Quit: leaving]
canton7-mac has quit [Remote host closed the connection]
b1205 has quit [Ping timeout: 240 seconds]
banister has joined #ruby
lobstah has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
JoeGaudet has joined #ruby
obs has quit [Remote host closed the connection]
LekeFly has quit [Ping timeout: 255 seconds]
jblack has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
timonv_ has quit [Remote host closed the connection]
<pontiki>
zB0hs: does it make a difference that inside a controller, params is a method?
<jblack>
oh man, I'm looking at a method witha flog score of 566
<pontiki>
as is params=
lobstah has joined #ruby
reference has joined #ruby
<zB0hs>
pontiki im thinking it has something to do with params
agarie has joined #ruby
Spami has joined #ruby
<terrellt>
Anyone have a quick programming problem that can be solved on a whiteboard if necessary? Just for some fun with some student workers.
<pontiki>
it is just referencing a memoized @_params instance var
deric_skibotn has joined #ruby
<zB0hs>
pontiki yes
<pontiki>
terrellt: insert and delete from a singly linked list
<terrellt>
Quick ruby problem.
<pontiki>
that's pretty quick
yfeldblum has quit [Ping timeout: 255 seconds]
<benzrf>
terrellt: O(1) solution for travelling salesman
<benzrf>
should be a fun challenge :^)
<terrellt>
Lol
<terrellt>
Not trying to get any PHDs here.
pablovilas_ has joined #ruby
b1205 has joined #ruby
chipotle has quit [Quit: cya]
<pontiki>
these are CS students?
<benzrf>
terrellt: disprove the 4-color theorem
chrisseaton has quit []
<terrellt>
pontiki: Might as well be. They're active developers.
akonny has quit [Quit: akonny]
s2013 has joined #ruby
<workmad3>
terrellt: O(1) wouldn't be a phd... it would be a nice, cleane $1000000 in the bank!
<workmad3>
*clean
<pontiki>
there's so many
jhulten has joined #ruby
amarks has left #ruby ["WeeChat 0.4.3"]
mjsmith2 has joined #ruby
reference has quit [Ping timeout: 264 seconds]
pablovilas has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
papercode has joined #ruby
jambolina has joined #ruby
sunya7a has quit [Ping timeout: 240 seconds]
<benzrf>
workmad3: how about a nice kleene 1M
<benzrf>
;)
<terrellt>
For instance, one we've done in the past is "given a string, count how many instances of each word's length there is."
magri has quit [Ping timeout: 240 seconds]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjsmith2 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
Es0teric has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
ctp has joined #ruby
the_f0ster has joined #ruby
phracker has joined #ruby
lbwski has quit [Ping timeout: 264 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
simoz1114 has quit [Ping timeout: 276 seconds]
koderok has joined #ruby
flak has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
senayar has quit [Ping timeout: 240 seconds]
mjsmith2 has joined #ruby
jprovazn_afk has quit [Quit: Odcházím]
rippa has quit [Ping timeout: 265 seconds]
kaleido has joined #ruby
kaleido has quit [Changing host]
kaleido has joined #ruby
AlSquire has joined #ruby
smathieu has quit [Remote host closed the connection]
AlSquire has quit [Client Quit]
x1337807x has joined #ruby
smathieu has joined #ruby
MrWharfsnort has joined #ruby
chrisja has joined #ruby
Advocation has joined #ruby
smathieu has quit [Remote host closed the connection]
ryannielson has joined #ruby
smathieu has joined #ruby
terrell_t has quit [Remote host closed the connection]
<ryannielson>
What's the best Markdown parsing gem that's written in pure ruby. Don't wanna have to worry about installing c extensions and native stuff?
<wallerdev>
i had issues with performance in markdown parsing when i was using it for a website and parsing things on demand
andrewjanssen has joined #ruby
<wallerdev>
it can get pretty slow
terrellt has joined #ruby
x1337807x has quit [Ping timeout: 276 seconds]
aboudreault has joined #ruby
Advocation has quit [Ping timeout: 240 seconds]
eka has quit [Ping timeout: 276 seconds]
<aboudreault>
any idea why I have this error: Could not find rake-10.3.1 in any of the sources (Bundler::GemNotFound)? rake is in my Gemfile and bundle install is done
<xybre>
I don't know if any keyboard with » either.
<xybre>
All that taken into consideration, Perl6 is pretty neat. It's sorta like the ultimate dagwood sandwich of languages. No one is going to eat it, but it sure looks cool in tourist photos.
ptierno has joined #ruby
ptierno has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
<Hanmac>
my keyboard layout as »«
aspires has quit []
Bira has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
deol has joined #ruby
<xybre>
Hanmac: Whats your keyboard layout?
<benzrf>
xybre: i like your metaphor
<benzrf>
*simile
lbwski has quit [Ping timeout: 252 seconds]
jimbow has joined #ruby
<jimbow>
what is the syntax for rails new?
<xybre>
rails new appname
<centrx>
rails new or bundle exec rails new
<theRoUS>
is this a better place to ask about yard usage than #yard (which seems very quiet) ?
<xybre>
Or `rails new --help`
<havenwood>
jimbow: #rubyonrails
<jimbow>
thanks havenwood
fantazo has joined #ruby
<havenwood>
theRoUS: yeah, probably
<xybre>
theRoUS: Depends on your question, so ask.
timonv has joined #ruby
<theRoUS>
here goes..
<theRoUS>
is there a way to tell @see to 'link to #sectionname' ? i can't use a full URI because it's internal to the document, and just using '@see #sectionname descript' or '@see sectionname descript' doesn't work
Advocation has joined #ruby
<theRoUS>
@see also doesn't honour markup in the descriptive text
Hanmac1 has joined #ruby
<theRoUS>
is there any way to localise an @example to a particular section? my class docco has several section headings that expound on some of the terminology and assumptions in the class, and i'd like to put examples in each. however, all of the sections need to be part of a single comment block or yard ignores most of them, and it puts all the examples at the end, not where they occur
Royalb15 has joined #ruby
<theRoUS>
i'm using '--markup markdown' in .yardopts, and labeling the section headings with '## <a name="headingname">Heading Title</a>'
ldnunes has joined #ruby
<xybre>
Hmm, did you check the documention for @see?
<theRoUS>
xybre: yeah. @see has *too much* built-in intelligence
Hanmac has quit [Ping timeout: 265 seconds]
setra has quit [Ping timeout: 240 seconds]
goganchic has quit []
<theRoUS>
i want to have all the expository sections in the main class file rather than in README.md
aspires has joined #ruby
OffTheRails has joined #ruby
<theRoUS>
yard will only include the comment-block immediately preceding the 'class' keyword, though; if there are multiple blocks, only the last one is included in the output.
<xybre>
theRoUS: Yeah and for a documentation framewor the documentation seems lacking.
thesheff17 has joined #ruby
<theRoUS>
otherwise the @example stuff *might* be localised better
<theRoUS>
xybre++
Advocation has quit [Ping timeout: 265 seconds]
psycho_one has joined #ruby
<theRoUS>
mukka assumptions in the yard docco about how much you already know, and more docco on the dsl than the end-user stuff
<xybre>
Oddly enough we were just talking about how the yard developer seems to be hermit.
psycho_one has left #ruby [#ruby]
lbwski has joined #ruby
<theRoUS>
however, i like it better than rdoc. plus i've heard yard is gaining traction over rdoc, which latter is supposedly considered pretty much 'feature-complete'
michaeldeol has quit []
<theRoUS>
(and no, i can't point to where i 'heard' those hearsay items)
deol is now known as michaeldeol
maletor has joined #ruby
axilla has joined #ruby
<xybre>
I get the impression that Yard is a non-regular language, so it may be difficult to determine its behaviour when that behaviour isn't documented. It might involved looking at the parser. *cringe*
omosoj has quit [Ping timeout: 252 seconds]
senayar has joined #ruby
<havenwood>
oh sea of grey, i cannot see the method boats through your mists
senayar has quit [Remote host closed the connection]
chrisseaton has quit []
axilla has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
agjacome has joined #ruby
robbyoconnor has joined #ruby
<theRoUS>
*cringe* indeed
pu22l3r_ has joined #ruby
ikaros has quit [Quit: Ex-Chat]
endash has quit [Ping timeout: 265 seconds]
b1205 has quit [Ping timeout: 276 seconds]
Bira has joined #ruby
senayar has joined #ruby
Lightsword has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
sdelmore has joined #ruby
<xybre>
Having looked at many Ruby parsers, they get pretty hairly. Though I think that goes for most parsers.
senayar has quit [Remote host closed the connection]
<sdelmore>
I have a fat object being passed around, with about 100 methods. I want to replace it in a particular use case with a slimmer object, but don't know exactly which methods it needs. Is there an easy way to profile an instance of an object and see what methods are called on it?
senayar has joined #ruby
tjsousa_____ has quit [Quit: Computer has gone to sleep.]
JasmeetQA1 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Xeago_ has joined #ruby
endash has joined #ruby
<terrellt>
sdelmore: Few things. A) AAAAAAAAAAAAAHHHHHH B) Time to redesign. C) It's ruby, everything's a pointer - are you sure the object method-count is effecting anything at all?
<yxhuvud>
sdelmore: I'd try to rewrite the fat object instead.
wldcordeiro_work has quit [Read error: Connection reset by peer]
JasmeetQA has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
<terrellt>
100 methods is if my Rails application was just class RailsApplication; # stuff end;
Bira has quit [Ping timeout: 240 seconds]
<sdelmore>
The fat object is needed in some places, but not all places. While I am refactoring I am sorely missing types but realized that if I could capture the public messages sent to this object I could determine which methods to group together into a smaller object I could compose with the fatter one.
alex88 has joined #ruby
<terrellt>
Your fat object is 300% doing too much.
Nogbit has joined #ruby
<sdelmore>
So the issue isn't really that I need a smaller object, it is that for a particular use case I need a subset of the object, and am trying to identify the shape of the smaller thing.
aspires has quit []
<sdelmore>
Breaking up is hard to do.
saarinen has joined #ruby
<LadyRainicorn>
Create a wrapper object that stores a method:callers mapping.
<Nogbit>
I have a custom gem located on github (private), Im consuming it from a plain old ruby script, bundle install in that script directory works, but running the script says it cant load it
<sdelmore>
That sounds about right. So it would basically delegate all calls made to it to the wrapped object, and save them somewhere?
Martxel has joined #ruby
<Nogbit>
if I manually install the gem that works, it looks like bundler put the gem to /home/marc/.rvm/gems/ruby-2.0.0-p353/bundler/gems/testgem-f676b5b721dc
<terrellt>
Nogbit: At the top, require 'gem'
<terrellt>
Otherwise bundle exec yourstuff
Xeago has quit [Ping timeout: 264 seconds]
brunops has quit [Ping timeout: 255 seconds]
upsell5 has left #ruby [#ruby]
<LadyRainicorn>
Yep, then just print them somewhere at the END
smathieu has quit [Remote host closed the connection]
brunops has joined #ruby
smathieu has joined #ruby
<sdelmore>
Thanks for the tips.
platzhirsch has left #ruby [#ruby]
<Nogbit>
terrellt: I just tried that in the consumer and it didnt change anything
blackmesa has quit [Quit: WeeChat 0.4.3]
SCommette has quit [Quit: SCommette]
lbwski has quit [Ping timeout: 276 seconds]
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Nogbit>
strange, looking at this path the only things in there are my custom gems (gemname-sha) ~/.rvm/gems/ruby-2.0.0-p353/bundler/gems/
<Nogbit>
should I be doing something else to make sure they get installed into the same place as everything else? strange
eka has quit [Ping timeout: 264 seconds]
SCommette has joined #ruby
chrisseaton has joined #ruby
Xeago has joined #ruby
cocotton has joined #ruby
mjs2600 has quit [Remote host closed the connection]
Guest56687 has quit [Quit: Lost terminal]
toastynerd has quit [Remote host closed the connection]
sambao21 has joined #ruby
Lightsword has joined #ruby
cocotton has quit [Remote host closed the connection]
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
Xeago_ has quit [Ping timeout: 240 seconds]
jimbow has left #ruby [#ruby]
chrisseaton has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nogbit>
bundle install --path .....defaults to the same place as "gem install", but in my case its not, has anyone had this problem before?
_Andres has quit [Read error: Connection reset by peer]
eka has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
jonahR has joined #ruby
lbwski has joined #ruby
roolo has joined #ruby
jottr has joined #ruby
benzrf is now known as benzrf|offline
robbyoconnor has quit [Read error: Connection reset by peer]
<slash_nick>
Not that you won't get help here, but I'd ask in #bundler Nogbit ...
sheperson has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
mjs2600 has joined #ruby
Bira has joined #ruby
monkegjinni has joined #ruby
cocotton has joined #ruby
_Andres has joined #ruby
gf3_ is now known as gf3
maestrojed has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #ruby
SHyx0rmZ has joined #ruby
noop has quit [Ping timeout: 240 seconds]
Bira has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby
ProjectBarks has joined #ruby
<ProjectBarks>
Hey guys does this make any sense to you. Its some kind of puzzle or trick question. The first line is the title and the rest is content. I am not sure what the answer would be but it wants an answer http://pastebin.com/sw2G8gzU
Lightsword has quit [Ping timeout: 240 seconds]
<slash_nick>
it doesn't look like a question
<centrx>
Complete the sequence
alexju has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Remote host closed the connection]
brunops has quit [Ping timeout: 265 seconds]
<ProjectBarks>
Its not 9 I know that
tvw has quit []
<slash_nick>
#11
<slash_nick>
J is what, the tenth letter?
<segfalt>
j is the 9th index of the alphabet
<segfalt>
in an array
<segfalt>
lol
Rahul_Roy has quit [Ping timeout: 264 seconds]
bjeanes has quit [Ping timeout: 264 seconds]
james_d_h has joined #ruby
<slash_nick>
so why is the 9th position J... instead of the 8th position being I or the 10th being K?
toastynerd has joined #ruby
sheperson has quit [Ping timeout: 255 seconds]
dingus_khan has quit [Ping timeout: 240 seconds]
smathieu_ has joined #ruby
<segfalt>
i have the same question
bjeanes has joined #ruby
Rahul_Roy has joined #ruby
lbwski has quit [Ping timeout: 252 seconds]
<slash_nick>
I wonder if ignoring "Number One Fan" is a mistake
<segfalt>
it has to be relevant
<segfalt>
just thinking about that
smathieu has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
rm_ has quit [Remote host closed the connection]
aspires has joined #ruby
axilla has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
* LadyRainicorn
read map(&:ord) as sort(&:ord) repeatedly.
<ProjectBarks>
Has anyone figured it out
<LadyRainicorn>
:x
g0bl1n has quit [Ping timeout: 240 seconds]
rocket has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
JumpMast3r has quit [Ping timeout: 252 seconds]
<slash_nick>
Don't think so ProjectBarks
rocket is now known as Guest48008
Bira has quit [Ping timeout: 255 seconds]
bradhe has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
dingus_khan has joined #ruby
Guest48008 has quit [Client Quit]
sepp2k has joined #ruby
try has joined #ruby
s3ri0us has joined #ruby
cocotton has quit [Remote host closed the connection]
niharvey is now known as niharvey|brb
<try>
i started getting errors with rvm today. first line of error output begins with 'bash: __rvm_select_version_variables: line 1: syntax error near unexpected token `('
<try>
can't find anything on google...
senayar has quit [Remote host closed the connection]
cocotton has joined #ruby
tier has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
SCommette has quit [Quit: SCommette]
kenneth has joined #ruby
postmodern has joined #ruby
setra has joined #ruby
sambao21 has joined #ruby
Hobogrammer has quit [Quit: WeeChat 0.4.3]
xrq has quit [Ping timeout: 276 seconds]
tier has joined #ruby
Hobogrammer has joined #ruby
kenneth has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
Lucky_ has joined #ruby
b1205 has joined #ruby
fantazo has quit [Ping timeout: 252 seconds]
rm__ has joined #ruby
pu22l3r has joined #ruby
s2013_ has quit [Ping timeout: 255 seconds]
kenneth has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
Bira has joined #ruby
yacks has quit [Ping timeout: 276 seconds]
frosgy has joined #ruby
niharvey|brb is now known as niharvey
senayar has joined #ruby
pu22l3r_ has quit [Ping timeout: 276 seconds]
Bira has quit [Ping timeout: 252 seconds]
kaneda^ has joined #ruby
frogssgy has quit [Ping timeout: 264 seconds]
<kaneda^>
hey all, i was wondering if someone could point me to a way of iterating over attributes in an object from an array of strings or symbols
spider-mario has quit [Remote host closed the connection]
samuel02 has quit [Remote host closed the connection]
Zenigor has quit [Remote host closed the connection]
andrewjanssen has quit [Quit: Leaving...]
lethe has quit [Ping timeout: 255 seconds]
tier has quit []
mois3x has joined #ruby
Advocation has joined #ruby
ericmathison has joined #ruby
paulfm has quit []
toordog has joined #ruby
brunops has quit [Ping timeout: 240 seconds]
mjsmith2 has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 265 seconds]
andimrob has joined #ruby
Advocation has quit [Ping timeout: 252 seconds]
cina has quit [Ping timeout: 240 seconds]
akonny has joined #ruby
ctp_ has joined #ruby
benzrf is now known as benzrf|offline
ctp_ has quit [Client Quit]
<apeiros>
maletor: sure, but pointless if the receiver is self
VTLob has quit [Quit: VTLob]
alexju has quit [Remote host closed the connection]
<maletor>
apeiros: truth
<apeiros>
unless you actually want to restrict it to publicly available methods
<maletor>
apeiros: more truth
fantazo has joined #ruby
<apeiros>
maybe my "pointless" was premature. I should have mentioned public_send. thank you maletor :)
Shidash has joined #ruby
ctp has quit [Ping timeout: 265 seconds]
pablovilas_ has quit [Quit: Leaving]
rm__ has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
andimrob has quit [Quit: andimrob]
pu22l3r_ has joined #ruby
aspires has quit [Read error: No route to host]
aspires has joined #ruby
cocotton has quit [Remote host closed the connection]
mikehaas763 has joined #ruby
larissa has quit [Quit: Leaving]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
andimrob has joined #ruby
cocotton has joined #ruby
lw has quit [Quit: s]
<mikehaas763>
In my vagrantfile I have a line like config.vm.network "private_network", ip: params['ip'] but my IDE (intellij) says at the id: part "Expected: ; or end of line". Is this because it's not a 100% true rb file or is there actually some syntax issue there?
pu22l3r has quit [Ping timeout: 276 seconds]
<mikehaas763>
My vagrantfile works it's just kind of annoying seeing the error in my IDE
terrell_t has joined #ruby
pu22l3r_ has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
Nogbit has quit [Ping timeout: 240 seconds]
x1337807x has quit [Ping timeout: 240 seconds]
kpshek has joined #ruby
terrell_t has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
pragmatism has quit [Quit: Peace.]
terrellt has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
terrellt has joined #ruby
jrhorn424 is now known as zz_jrhorn424
raja has joined #ruby
simoz1115 has joined #ruby
raja is now known as Guest15211
x1337807x has joined #ruby
SHyx0rmZ has quit [Ping timeout: 258 seconds]
simoz1116 has joined #ruby
brisbin has left #ruby ["WeeChat 0.4.3"]
simoz1117 has joined #ruby
vpretzel|1440 is now known as vpretzel
acrussell has quit [Quit: Leaving.]
setra has quit [Ping timeout: 258 seconds]
duggiefr_ has quit [Remote host closed the connection]
senayar has joined #ruby
Arkaniad has joined #ruby
simoz1115 has quit [Ping timeout: 240 seconds]
jblack has quit [Ping timeout: 255 seconds]
Martxel has quit [Read error: Connection reset by peer]
simoz1116 has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
phinfonet has joined #ruby
eka has quit [Read error: Connection reset by peer]
eka has joined #ruby
aef_ has quit [Remote host closed the connection]
aef has joined #ruby
dwayhs has quit [Quit: Computer has gone to sleep.]
simoz1118 has joined #ruby
terrellt has quit [Remote host closed the connection]
OffTheRails has quit [Ping timeout: 252 seconds]
simoz1117 has quit [Ping timeout: 240 seconds]
<kaneda^>
apeiros: just out of a meeting, implemented it with respond_to? and send, thanks man :)
floridaelago has quit [Ping timeout: 252 seconds]
alpha123 has quit [Ping timeout: 258 seconds]
sambao21 has joined #ruby
blackmesa has joined #ruby
failshel_ has joined #ruby
simoz1119 has joined #ruby
axilla has quit [Ping timeout: 255 seconds]
dingus_khan has joined #ruby
simoz11110 has joined #ruby
gigetoo has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 258 seconds]
gigetoo has joined #ruby
simoz11111 has joined #ruby
danshultz has quit [Remote host closed the connection]
failshel_ has quit [Ping timeout: 240 seconds]
ryannielson has quit [Remote host closed the connection]
danshultz has joined #ruby
simoz1118 has quit [Ping timeout: 252 seconds]
Vaporware has quit [Quit: Page closed]
zigomir has joined #ruby
simoz1119 has quit [Ping timeout: 240 seconds]
dacamp has joined #ruby
meatherly has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
einarj has joined #ruby
robbyoconnor has joined #ruby
simoz11110 has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
jblack has joined #ruby
kyb3r_ has joined #ruby
CorpusCallosum has quit [Read error: Connection reset by peer]
simoz11112 has joined #ruby
ce_afk is now known as cescalante
terrellt has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
simoz11113 has joined #ruby
ldnunes has quit [Quit: Leaving]
rm__ has quit [Remote host closed the connection]
simoz11114 has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
keen____ has joined #ruby
banister has joined #ruby
agent_white has joined #ruby
keen___ has quit [Ping timeout: 240 seconds]
simoz11111 has quit [Ping timeout: 240 seconds]
<agent_white>
Afternoon folks
klaut has quit [Remote host closed the connection]
banister has quit [Client Quit]
<pontiki>
good evening, agent white. what have you to report?
simoz11112 has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
rm__ has joined #ruby
pietr0 has joined #ruby
simoz11113 has quit [Ping timeout: 240 seconds]
<agent_white>
pontiki: Today I kept the peace on this planet. This planet is very peaceful. Over and out!
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
james_d_h has joined #ruby
<pontiki>
Good work, agent!
sinkensabe has joined #ruby
simoz11115 has joined #ruby
<agent_white>
:D
_Andres has joined #ruby
chipotle has quit [Quit: cya]
simoz11116 has joined #ruby
LastWhisper has quit [Ping timeout: 240 seconds]
terrellt has quit [Remote host closed the connection]
moneydouble has joined #ruby
simoz11114 has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 255 seconds]
simoz11117 has joined #ruby
aspires has quit []
endash has quit [Quit: endash]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
endash has joined #ruby
terrellt has joined #ruby
aspires has joined #ruby
endash has quit [Client Quit]
simoz11115 has quit [Ping timeout: 240 seconds]
jblack has quit [Ping timeout: 264 seconds]
simoz11116 has quit [Ping timeout: 240 seconds]
aspires has quit [Client Quit]
dblessing_ has quit [Quit: dblessing_]
aspires has joined #ruby
simoz11117 has quit [Ping timeout: 240 seconds]
simoz11117 has joined #ruby
brunops has joined #ruby
lobstah has quit [Ping timeout: 255 seconds]
banister has joined #ruby
KAO has joined #ruby
eka has quit [Read error: Connection reset by peer]
aspires has quit [Client Quit]
shock_one has quit [Ping timeout: 258 seconds]
ericmathison has quit [Ping timeout: 264 seconds]
brunops has quit [Changing host]
brunops has joined #ruby
axilla has joined #ruby
mg^afk is now known as mg^
simoz11118 has joined #ruby
Mdgd has joined #ruby
eka has joined #ruby
<Mdgd>
Yo guys
aspires has joined #ruby
DEA7TH has quit [Ping timeout: 265 seconds]
simoz11119 has joined #ruby
<Mdgd>
So I'm getting a really weird error in Rails and after putting in about 6~8 or so hours I'm still not getting anywhere.
skysploit has joined #ruby
skysploit has joined #ruby
saarinen has joined #ruby
<Mdgd>
I honestly have no idea where to start debugging anymore so let me describe the sitch:
<Mdgd>
Okay so let me just toss it out here, I'm willing to consult #php at this point
simoz11117 has quit [Ping timeout: 255 seconds]
<Mdgd>
I've honestly stripped all code I've actually written myself and any POST requests to this route keep yielding the same error - undefined method `options' for {}:Hash
tvw has joined #ruby
<Mdgd>
Like I've got this set up as a blank controller with a blank view and no template at this point and still, this.
nateberkopec has quit [Quit: Leaving...]
axilla has quit [Ping timeout: 276 seconds]
NukePuppy has quit [Ping timeout: 276 seconds]
mjs2600 has joined #ruby
simoz11118 has quit [Ping timeout: 255 seconds]
s2013_ has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
smathieu_ has quit [Remote host closed the connection]
marr has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
simoz111110 has joined #ruby
Advocation has quit [Ping timeout: 276 seconds]
<the_f0ster>
is attr_internal_accessor for private class members? I want do something like.. MyClass.method only has access to the instance var on the calss
simoz111111 has joined #ruby
ktun has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Ping timeout: 252 seconds]
simoz11119 has quit [Ping timeout: 255 seconds]
yubrew has quit [Remote host closed the connection]