davasaurous has quit [Remote host closed the connection]
cndiv has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
lavaman has joined #ruby
r0bby_ has joined #ruby
robbyoconnor has quit [Ping timeout: 246 seconds]
gattie has quit [Quit: Leaving...]
jimmyhoughjr has joined #ruby
lemur has quit [Ping timeout: 258 seconds]
echevemaster has joined #ruby
hmsimha has joined #ruby
shock_one has quit [Ping timeout: 272 seconds]
nobitanobi has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
lavaman has left #ruby [#ruby]
davasaurous has joined #ruby
gccostab_ is now known as gccostabr
Wolland has joined #ruby
j_mcnally has quit [Ping timeout: 258 seconds]
nobitanobi has quit [Remote host closed the connection]
nobitano_ has quit [Ping timeout: 258 seconds]
renderful has joined #ruby
renderful has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 272 seconds]
jrhe_ has quit [Quit: Connection closed for inactivity]
binaryhat has joined #ruby
odlox_ has quit []
Wolland has quit [Ping timeout: 255 seconds]
JoshGlzBrk has joined #ruby
mocfive has quit [Remote host closed the connection]
moted has quit [Ping timeout: 245 seconds]
unclouded has joined #ruby
Juzdan has joined #ruby
mocfive has joined #ruby
skammer has quit [Ping timeout: 250 seconds]
axsuul has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
phutchin1 has joined #ruby
mikepack has joined #ruby
Cecen_ is now known as Cecen
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
Juzdan has quit [Ping timeout: 255 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
mocfive has quit [Ping timeout: 272 seconds]
phutchins has quit [Disconnected by services]
phutchin1 is now known as phutchins
Kricir_ has joined #ruby
sevvie has joined #ruby
nobitanobi has joined #ruby
thumpba has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
andrewjanssen has joined #ruby
Cheezebox has quit [Remote host closed the connection]
mikeg has quit [Ping timeout: 245 seconds]
Cheezebox has joined #ruby
tkuchiki has joined #ruby
lolmaus_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
tokik has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
thumpba has quit [Ping timeout: 245 seconds]
deric_skibotn has quit [Ping timeout: 246 seconds]
Cheezebox has quit [Ping timeout: 260 seconds]
sevenseacat has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
andrewjanssen has quit [Quit: Leaving...]
davasaurous has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
reset has joined #ruby
choke has quit [Quit: Leaving]
djbkd has quit [Quit: My people need me...]
mkaesz has joined #ruby
sectionme has joined #ruby
mary5030 has joined #ruby
axsuul has joined #ruby
<hmsimha>
So I noticed that any time I use a command-line tool installed as a gem package, I get the error "fatal: Not a git repository (or any of the parent directories): .git" beforehand
<hmsimha>
I reproduced this with rubocop and sass
matchaw has quit [Read error: Connection reset by peer]
shosti has quit [Ping timeout: 246 seconds]
matchaw has joined #ruby
<hmsimha>
Does anyone have an idea why I might be seeing this?
davasaurous has joined #ruby
phutchins has quit [Remote host closed the connection]
easier has quit [Quit: easier]
klmlfl has joined #ruby
reset has quit [Ping timeout: 258 seconds]
nfk has quit [Quit: yawn]
sectionme has quit [Ping timeout: 250 seconds]
<shevy>
hmsimha you have bundler installed?
<shevy>
normal gem commands alone won't try to call git
mkaesz has quit [Ping timeout: 245 seconds]
<hmsimha>
shevy: I do, but I haven't installed sass through bundler.. or rather, I probably have it as a dependency in projects where I use bundler, but I tried to install it globally
<hmsimha>
gem install sass
<shevy>
yeah, I guess bundler is trying to check for git stuff
kobain has quit [Ping timeout: 250 seconds]
<hmsimha>
shevy: hmmm.. why would bundler affect globally installed gems? Is there a way to prevent this?
<shevy>
hmsimha I dunno, I don't use bundler myself, but some days ago, a guy here showed code where one line was
<shevy>
if defined? Bundler
<shevy>
# do bla
<shevy>
and calls Bundler
<hmsimha>
shevy: thanks. That must be what's happening then
rkalfane has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
<shevy>
I had a look into sass
<shevy>
the Rakefile has this line:
<shevy>
require 'bundler/gem_tasks'
<shevy>
and some more, like:
<shevy>
"bundle install & "
yetanotherdave has quit [Ping timeout: 260 seconds]
<shevy>
but it is weird that bundler is used as part of the project
<shevy>
actually, it should be listed as a Development Dependency
<shevy>
because that rakefile should fail if bundler is not installed, I think, due to the require 'bundler/gem_tasks' line
Pzzn has joined #ruby
mbwe1 is now known as mbwe
Tricon has quit [Quit: Leaving...]
mbwe has quit [Quit: WeeChat 0.4.2]
mbwe has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir_ has quit [Remote host closed the connection]
charliesome has joined #ruby
mocfive has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 245 seconds]
<hmsimha>
shevy: I'm not using rake though. Or does the sass cl tool invoke rake?
einarj has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
<shevy>
hmm
<shevy>
I am not really familiar with sass
doritostains has joined #ruby
<shevy>
I am however quite sure that that git checkout is somehow related to bundler, because bundler can use github-based projects, and I think gem alone can not use github-based projects
nobitanobi has quit [Remote host closed the connection]
stunder has quit [Quit: Screw you guys I'm going home]
<shevy>
with which other command-line tools do you notice this behaviour btw?
<hmsimha>
rubocop
<zwischenzug>
hello, i'm trying to add hex characters to a binary string, but adding the characters changes the encoding of the original string
mocfive has quit [Remote host closed the connection]
<Phrogz>
ericwood: The same could be said of Ruby ^_^
<Phrogz>
if my_string.end_with?(…)
havenwood has joined #ruby
GriffinHeart has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jkline has quit [Quit: jkline]
tachibana has joined #ruby
melik_ has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
cndiv has joined #ruby
kobain has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
Cheezebox has joined #ruby
JBreit has left #ruby ["Leaving"]
<benzrf>
Phrogz: my_string, do you end_with?
benzrf is now known as benzrf|offline
<agent_white>
Hm. I'm having some wierd unicode issue -- in pry, I can print a unicode character in a terminal I have open, opened a new terminal and it won't display. http://imgur.com/J2LOrRO
St_Marx has joined #ruby
bmurt has quit []
<agent_white>
I diff'ed each term's `printenv` and `export` but got no differences between the two.
amystephen has quit [Quit: amystephen]
grokdancer has joined #ruby
mkaesz has joined #ruby
grenierm has joined #ruby
lsone has joined #ruby
emmesswhy has joined #ruby
sinkensabe has joined #ruby
emmesswhy has quit [Max SendQ exceeded]
[kr]_park has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
[kr]_park has left #ruby [#ruby]
braincrash has quit [Quit: bye bye]
emmesswhy has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Cheezebox has quit [Remote host closed the connection]
Cheezebox has joined #ruby
mkaesz has quit [Ping timeout: 258 seconds]
<Phrogz>
benzrf|offline: Hadn't considered that. Thanks.
emmesswhy has quit [Max SendQ exceeded]
emmesswhy has joined #ruby
Vile` has quit [Remote host closed the connection]
adironduck has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
patrick99e99 has joined #ruby
braincrash has joined #ruby
adironduck has quit [Client Quit]
tlarevo has joined #ruby
davasaurous has joined #ruby
Cheezebox has quit [Ping timeout: 272 seconds]
zeroNones has joined #ruby
shock_one has joined #ruby
niklasb has joined #ruby
chrishough has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
klmlfl has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
lxsameer has joined #ruby
lxsameer has joined #ruby
teddyp1cker has joined #ruby
mrsolo has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
tlarevo has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
tlarevo has joined #ruby
emocakes__ has joined #ruby
tlarevo has quit [Remote host closed the connection]
jhc76 has joined #ruby
tlarevo has joined #ruby
teddyp1c_ has quit [Ping timeout: 250 seconds]
Tomme has quit [Ping timeout: 246 seconds]
Tricon has quit [Ping timeout: 260 seconds]
b00stfr3ak has quit [Ping timeout: 272 seconds]
emocakes has quit [Ping timeout: 245 seconds]
uzo_ has joined #ruby
armyriad has joined #ruby
InhalingPixels has joined #ruby
mkaesz has joined #ruby
Wolland has joined #ruby
sinkensabe has joined #ruby
uzo_ has quit [Client Quit]
awc737 has quit [Ping timeout: 245 seconds]
Mars__ has joined #ruby
InhalingPixels has quit [Ping timeout: 246 seconds]
mkaesz has quit [Ping timeout: 245 seconds]
Juzdan has joined #ruby
avi__ has left #ruby [#ruby]
karupa has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
tmba has joined #ruby
mikepack has quit [Remote host closed the connection]
<agent_white>
Basically, I'm wanting to read a keypress on the arrow-keys pad. Trying to avoid using some outside gem to do it.
Juzdan has quit [Ping timeout: 245 seconds]
Waheedi has joined #ruby
jarjar_prime has joined #ruby
spectator has joined #ruby
kireevco1 has quit [Quit: Leaving.]
duncannz has joined #ruby
<tmba>
Hi guys, I've got an issue. I have been doing RoR programming for a few years but do not consider myself master of Ruby or RoR still. Anyhow, I am now looking for jobs in the space after a few successful projects, and was asked to do an assignement kind of project as a test. I did the test in OOP style and got back that it did NOT pass their conditions. I'm really unsure as to what the problem is with my coding, and would surely appreciate any tips on
<sevenseacat>
why dont you ask them what their conditions were?
<tmba>
I have tested the code and dont think there are any bugs
<tmba>
The conditions are it needs to be OOP style
<tmba>
I get the feeling that there are some conventions I have broken
<Hanmac>
i think i need to rewrite it to a class ... but i can already image what will happen like " Description: Avoid classes longer than 100 lines of code." ... i mean serously? good that it does not work for my c++ projects ... i mean some of my classes has nearly that much attributes ... and then i does not count the real code lines ...
hiyosi has quit [Ping timeout: 255 seconds]
spectator has joined #ruby
KnownSyntax has joined #ruby
wallerdev has quit [Quit: wallerdev]
Spami has joined #ruby
Juzdan has joined #ruby
Juzdan has quit [Remote host closed the connection]
mocfive has quit [Ping timeout: 272 seconds]
Juzdan has joined #ruby
spectator has quit [Read error: Connection reset by peer]
Juzdan has quit [Remote host closed the connection]
spectator has joined #ruby
tcrypt has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
InhalingPixels has quit [Ping timeout: 272 seconds]
cheeti has quit [Ping timeout: 246 seconds]
kiki_lam1 is now known as kiki_lamb
Wolland has joined #ruby
Vile` has quit [Read error: Connection reset by peer]
cina has quit [Quit: leaving]
p0sixpscl has quit [Quit: bye]
dopie has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0]
davasaurous has joined #ruby
mary5030 has quit [Remote host closed the connection]
zeroNones has joined #ruby
cirn0 has joined #ruby
mocfive has joined #ruby
Wolland_ has quit [Ping timeout: 258 seconds]
moritzschaefer has joined #ruby
Tomme has joined #ruby
codecop has joined #ruby
davasaurous has quit [Ping timeout: 260 seconds]
cirn0 has quit [Ping timeout: 250 seconds]
zorak8 has quit [Ping timeout: 246 seconds]
awestroke has joined #ruby
bal has joined #ruby
dapz has joined #ruby
synergyz has joined #ruby
aganov has joined #ruby
charliesome has joined #ruby
JoshGlzBrk has joined #ruby
davasaurous has joined #ruby
krisquigley has joined #ruby
Vile` has joined #ruby
yeboot has joined #ruby
kaspergrubbe has joined #ruby
<yeboot>
hi, I'm trying to display simple graphics in ruby, someone recommended ruby-sdl but the API for that looks exactly the same as the C api, in terms of the number of calls
AlexRussia_ has quit []
JoshGlzBrk has quit [Client Quit]
IceDragon has quit [Quit: Space~~~]
<yeboot>
just wondering what my options are, in your guys' opinion
sparrovv has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
maestrojed has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Wolland has quit [Remote host closed the connection]
HelperW has joined #ruby
pu22l3r has quit [Ping timeout: 246 seconds]
spectator has quit [Remote host closed the connection]
tectonic has quit []
timonv_ has joined #ruby
sectionme has joined #ruby
apeiros has joined #ruby
HelperW has quit [Remote host closed the connection]
HelperW has joined #ruby
adironduck has joined #ruby
skammer has joined #ruby
mtncode has quit [Ping timeout: 260 seconds]
spectator has joined #ruby
skammer has quit [Ping timeout: 272 seconds]
<davasaurous>
I haven't used it but Gosu for ruby might be worth a shot
<p0sixpscl>
Rails added support for hstore in PostgreSQL, you can store real ruby-hashes in Postgre
<Hanmac>
... real ruby hashs inside Postgre? i think there are some limitations, otherwise it might getting "funky" ;P
<siwica>
I am using Grape to build an API and I need to access a common object between requests. As I want to focus on other parts of the app first I am looking to a database that basically accepts any ruby object and takes care of the serialization itself.
a_ has quit [Ping timeout: 250 seconds]
<siwica>
I will optimize that whole process later on
enriclluelles has joined #ruby
<p0sixpscl>
Hanmac: I just flew over the reddit post. I haven't used hstore myself. I also don't think they are real ruby objects :D.
<p0sixpscl>
well if you're not using rails you should be able to create a wrapper which uses YAML.dump before saving to DB and YAML.load when reading from DB. depends on your code really.
arup_r_ has quit [Remote host closed the connection]
<Hanmac>
siwica: for storing you could also use Marshal dump, or try to write your own format with using Array#pack
zakiazigazi has quit []
arup_r has quit [Ping timeout: 246 seconds]
Advocation has joined #ruby
hiyosi has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
jdj_dk_ has joined #ruby
siwica has quit [Quit: siwica]
jdj_dk_ has quit [Remote host closed the connection]
sparrovv has joined #ruby
sk87 has joined #ruby
siwica has joined #ruby
<siwica>
Marshal dump
<siwica>
Maybe I explain a little more what I have. There is one object that is pretty much a list of objects of type "Feature" for which I have written a XML serialization. Don't know if that helps...
<p0sixpscl>
so you want to store the serialized objects (which after serialization is a basic XML string) to the database. right?
<siwica>
p0sixpscl: yes
hiyosi has quit [Ping timeout: 246 seconds]
cajone has joined #ruby
<siwica>
p0sixpscl: Actually I dont know if there is a better way, as I would have to parse all the XML again at each request
<p0sixpscl>
mh you can use: https://github.com/ohler55/ox to dump objects to XML and parse objects from XML. just store the XML in your DB and load it using Ox.parse_obj(xml).
<siwica>
That seems like a lot of wasted time?!
<p0sixpscl>
it is.
sparrovv has quit [Ping timeout: 258 seconds]
kenneth has joined #ruby
<p0sixpscl>
you can load the XML at runtime and keep the data in memory and save it whenever a change happens. Maybe use a different approach instead of XML.
oponder has joined #ruby
* Hanmac
currently thinks about a Time#waste function ;P
sparrovv has joined #ruby
<siwica>
p0sixpscl: that's what I thought, but the use of global variables seems to be discouraged with Grape
<p0sixpscl>
I used to put a lot of sleep-calls in my code so people think: wow this tool does heavy calculations.. lul
<siwica>
I don't know what the canonical way of doing this is
<siwica>
Since I am pretty new to this
sparrovv has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
grokdancer has joined #ruby
sinkensabe has joined #ruby
<p0sixpscl>
I'd create a database with fields matching the attributes of your ruby objects and read the database whenever a request comes in. databases are much faster than rubys serialization.
Xeago has joined #ruby
<siwica>
So what database would you recommend with a Rack Application?
mskaesz has quit [Read error: Connection reset by peer]
roolo has joined #ruby
saarinen has quit [Quit: saarinen]
<p0sixpscl>
you can use any database. Maybe start with SQLite and move to a different DB as soon as sqlite doesn't suit your need anymore.
<siwica>
ok
mikecmpbll has joined #ruby
<siwica>
Maybe this is a good idea
InhalingPixels has joined #ruby
cajone has quit [Remote host closed the connection]
endash has joined #ruby
ta has joined #ruby
cajone has joined #ruby
kalusn has joined #ruby
grokdancer has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has joined #ruby
ptrrr has joined #ruby
charliesome has quit [Quit: zzz]
<siwica>
p0sixpscl: what do you think of mongoDB as I have read this as a recommendation somewhere else?!
cndiv has joined #ruby
InhalingPixels has quit [Ping timeout: 250 seconds]
mkaesz has joined #ruby
Juanchito has joined #ruby
<p0sixpscl>
if your building an API i'd not choose mongoDB because it's not comparable with sql databases like MySQL or SQLite (in terms of speed).
sinkensabe has quit [Remote host closed the connection]
carraroj has joined #ruby
endash has quit [Ping timeout: 272 seconds]
jack_rabbit has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
zaki has joined #ruby
zaki has quit [Client Quit]
amystephen has joined #ruby
dumdedum has quit [Ping timeout: 260 seconds]
qualiabyte has quit [Quit: Leaving]
krisquigley has joined #ruby
dingus_khan has quit []
Takle has joined #ruby
cougarten has quit [Ping timeout: 250 seconds]
zakiazigazi has joined #ruby
jds__ is now known as jds
zakiazigazi has quit [Client Quit]
ndrei has joined #ruby
maniacal_ has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
<_lazarevsky_>
hey guys
<_lazarevsky_>
a bit off topic
<Hanmac>
hm if a channel is named #offtopic or similar, wouldnt be talking offtopic be topic again?
Advocation has quit [Quit: Advocation]
W0rmDr1nk has quit [Ping timeout: 258 seconds]
<tobiasvl>
/r/showerthoughts
<mozzarella>
no
<ddv>
i like mozzarella pizza
<mozzarella>
because offtopic channels are not about offtopicness
Advocation has joined #ruby
dumdedum has joined #ruby
shevy has quit [Ping timeout: 260 seconds]
cndiv has quit [Ping timeout: 272 seconds]
skammer has joined #ruby
Waheedi has joined #ruby
<Hanmac>
ddv because you always did say how shitty my code at gemtree was i did try to check them with rubocop ... the bad thing is that some stuff is not so easy fixable ... because sometimes if i fix one thing two new things will appear ... and that it does already makes problems when a function does have more than 5 parameters is a bit stupid ...
elaptics`away is now known as elaptics
rdark has joined #ruby
PanPan has joined #ruby
aspiers has joined #ruby
sinkensabe has joined #ruby
marr has joined #ruby
<hmsimha>
Trying to figure out what's going on here. Any command-line tool that was installed through 'gem install' outputs "fatal: Not a git repository (or any of the parent directories): .git" twice before running
<hmsimha>
(and otherwise works fine)
<hmsimha>
so far I've tried with 'rails', 'rake', 'sass', and 'rubocop'
<ddv>
Hanmac: you can do a lot to improve your code (always), for example try to model out a couple of classes to group similar behaviour, give a methods a clearly defined task so a method has only one responseability. You could try watching some Uncle Bob videocasts or reading some books (for example classics such as code complete etc)
<hmsimha>
all seem to work, but output that error twice beforehand
poulet_a has joined #ruby
shevy has joined #ruby
<ddv>
Hanmac: it's not always avoidable but 98% of the time when a method is longer than 10-15 lines you're a doing something wrong
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.1/20140911151253]]
fabrice31 has joined #ruby
enriclluelles has quit [Remote host closed the connection]
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
MasterPiece has quit [Quit: Leaving]
eivindml has joined #ruby
MasterPiece_ is now known as MasterPiece
end_guy has quit [Remote host closed the connection]
qba73 has quit [Remote host closed the connection]
end_guy has joined #ruby
kaspertidemann has joined #ruby
elstif has joined #ruby
qba73 has joined #ruby
francisfish has joined #ruby
Insanity133 has quit [Ping timeout: 258 seconds]
sigurding has quit [Quit: sigurding]
KC9YDN has joined #ruby
niklas123 has joined #ruby
agjacome has quit [Ping timeout: 258 seconds]
alex88 has quit [Remote host closed the connection]
agjacome has joined #ruby
Tomasso has joined #ruby
yfeldblum has joined #ruby
fabrice31 has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
alex88 has joined #ruby
helpa has quit [Remote host closed the connection]
SpaceKookie has quit [Ping timeout: 260 seconds]
phrozen77 has quit [Ping timeout: 260 seconds]
kith has quit [Read error: Connection reset by peer]
W0rmDr1nk has quit [Ping timeout: 272 seconds]
sigurding has joined #ruby
easier has quit [Ping timeout: 255 seconds]
Insanity133 has joined #ruby
edwardly has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 258 seconds]
kith_ has joined #ruby
nemish has quit [Ping timeout: 250 seconds]
<Tomasso>
i cant pass a regular expression as a parameter in a 'string'.gsub!(/s/) { |match| puts match } I tried using a to_regexp gem to convert the string variable to a regex , I tried using .gsub!(/#{ var.to_s}/) , i try setting a regex a = /myregex/ and the .gsub!(a) and none of them work, why is that ? this is frustrating..
agjacome has quit [Ping timeout: 272 seconds]
helpa has joined #ruby
SpaceKoo- has joined #ruby
<Tomasso>
the only that works is to pass the regex inline /regex/ ,i cant pass it as a variable..
francisfish has quit [Remote host closed the connection]
fabrice31 has joined #ruby
nemish has joined #ruby
Guest53152 has quit [Ping timeout: 250 seconds]
hiyosi has quit [Ping timeout: 255 seconds]
a has joined #ruby
enriclluelles has joined #ruby
sk87 has joined #ruby
W0rmDr1nk has joined #ruby
a is now known as Guest58422
LiohAu has quit [Quit: LiohAu]
agjacome has quit [Ping timeout: 246 seconds]
grokdancer has joined #ruby
cryptoca has joined #ruby
Advocation has quit [Quit: Advocation]
lxsameer has quit [Quit: Leaving]
Advocation has joined #ruby
InhalingPixels has joined #ruby
grokdancer has quit [Ping timeout: 272 seconds]
narcan has joined #ruby
qqw has joined #ruby
drawingthesun has quit [Ping timeout: 260 seconds]
decoponio has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
InhalingPixels has quit [Ping timeout: 260 seconds]
techsethi has joined #ruby
francisfish has joined #ruby
francisfish has quit [Remote host closed the connection]
<Macaveli>
how do you remove hash options[:style] from options?
patrick99e99 has joined #ruby
Takle has quit [Remote host closed the connection]
mattp_ has quit [Read error: Connection reset by peer]
<maasha>
delete
neersighted has quit [Quit: Updating details, brb]
LiohAu has joined #ruby
claw_ has quit [Read error: Connection reset by peer]
<maasha>
Hash#delete
qohelet_ has joined #ruby
claw_ has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
neersighted has joined #ruby
toretore has joined #ruby
Advocation has quit [Quit: Advocation]
BRMatt has joined #ruby
mattp_ has joined #ruby
Takle has joined #ruby
patrick99e99 has quit [Ping timeout: 255 seconds]
KC9YDN has quit [Ping timeout: 258 seconds]
awestroke has quit [Remote host closed the connection]
qohelet_ has quit [Client Quit]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
cirn0 has joined #ruby
arup_r has quit [Remote host closed the connection]
phutchins has joined #ruby
mattp_ has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
dmitrykorotkov has joined #ruby
dmitrykorotkov has quit [Remote host closed the connection]
cirn0 has quit [Ping timeout: 260 seconds]
zorak8 has joined #ruby
Takle has quit [Remote host closed the connection]
hiyosi has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
Dwarf has quit [Ping timeout: 260 seconds]
jottr_ has joined #ruby
j4jackj has quit [Ping timeout: 272 seconds]
tmba has quit [Quit: Lost terminal]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
Aaaal has joined #ruby
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
Takle has joined #ruby
shock_one has joined #ruby
heftig has quit [Ping timeout: 260 seconds]
Rollabunna has joined #ruby
heftig has joined #ruby
Xeago has joined #ruby
j4jackj has joined #ruby
j4jackj is now known as Guest57787
Xeago has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
Xeago has joined #ruby
kaspergrubbe has joined #ruby
browndawg has joined #ruby
Lewix has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 245 seconds]
mityaz has quit [Quit: Leaving]
larissa has joined #ruby
Advocation has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
phoo1234567 has joined #ruby
Dwarf has joined #ruby
emocakes__ has joined #ruby
britneywright has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
Xeago_ has joined #ruby
rimenes has joined #ruby
fsapo has joined #ruby
emocakes has quit [Ping timeout: 255 seconds]
emocakes__ is now known as emocakes
Xeago has quit [Read error: Connection reset by peer]
Wolland_ has quit [Remote host closed the connection]
mattp_ has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
cougarten has joined #ruby
PierreRambaud has joined #ruby
vesuvious has joined #ruby
Jake232 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<PierreRambaud>
Hi, I just write function with a begin / rescue block, but rubocop always say "Redundant begin block detected.", What can I do to fix this error? I need my begin / rescue :/
poulet_a has joined #ruby
<toretore>
PierreRambaud: code code code show us your code code code
timonv_ has quit [Ping timeout: 258 seconds]
<toretore>
and stop using stupid crap like rubocop
Guest58422 has quit [Ping timeout: 250 seconds]
<PierreRambaud>
toretore, not sure rubocop is a stupid crap... and my problem is a checkstyle problem, not a syntax or anything else
<toretore>
i don't see any code
<toretore>
show me the code
<wasamasa>
show me your moves
<shevy>
show me your ass
<wasamasa>
that escalated quickly
<PierreRambaud>
wasamasa, can I only show my ass instead useless move? :)
<shevy>
well if he does not show the code
<shevy>
he has to show something else
<shevy>
PierreRambaud come on man, pastie.org or anywhere else!
<shevy>
mapping a full language into a database model is kinda weird
<arup_r>
true
<arup_r>
right..right
techsethi has joined #ruby
browndawg has quit [Ping timeout: 272 seconds]
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
larissa has quit [Quit: Leaving]
bjornar has quit [Ping timeout: 272 seconds]
tanath has quit [Remote host closed the connection]
tanath has joined #ruby
amystephen has joined #ruby
dblessing has joined #ruby
tlarevo_ has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
techsethi has quit [Ping timeout: 246 seconds]
bjornar has joined #ruby
timgauthier has joined #ruby
DaniG2k has quit [Ping timeout: 272 seconds]
matty1234 has joined #ruby
tlarevo has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
redlegion has joined #ruby
zorak8 has quit [Ping timeout: 272 seconds]
xcv has quit [Remote host closed the connection]
sailias has joined #ruby
sk87 has quit [Ping timeout: 255 seconds]
jespada has joined #ruby
patrick99e99 has quit [Ping timeout: 272 seconds]
jeremy04 has joined #ruby
koderok has joined #ruby
Guest95597 is now known as j4jackj
j4jackj is now known as Guest61389
oleo has joined #ruby
tanath has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
arup_r has quit []
jerius has quit []
wwalker_ has joined #ruby
yxhuvud has quit [Remote host closed the connection]
Hanmac has joined #ruby
flowerhack has joined #ruby
HelperW_ has quit [Remote host closed the connection]
silkfox has joined #ruby
Guest__ has joined #ruby
redlegion has quit [Quit: I quit.]
HelperW_ has joined #ruby
Rollabunna has quit [Remote host closed the connection]
yfeldblum has joined #ruby
tanath has joined #ruby
orolo has joined #ruby
<Tomasso>
how do i obligate a 13 characters string to have digits from 0-9 appart from a-z characters ?
chth0n has quit [Ping timeout: 260 seconds]
<Tomasso>
my current expression is ( [[0-9][a-z]]{13}\s)
yfeldblum has quit [Ping timeout: 240 seconds]
<Tomasso>
excuseme /( [[0-9][a-z]]{13}\s)/
<Tomasso>
but it matches also xxxxxxxxxxxxx and i need it matches a string with a digit in any position
<Tomasso>
at least one digit in any position i meant
sleepee has quit [Quit: Leaving]
benzrf|offline is now known as benzrf
<maasha>
Tomasso: playing with rubylar?
<maasha>
rubular even
<Hanmac>
Tomasso: i dont think its possible what you want with one regexp
hmsimha has quit [Ping timeout: 272 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Tomasso>
maasha: yesss
sigurding has quit [Quit: sigurding]
p0sixpscl has quit [Read error: Connection reset by peer]
p0sixpscl has joined #ruby
sepp2k has joined #ruby
Advocation has joined #ruby
Cheezebox has joined #ruby
<apeiros>
Tomasso: you can't nest character classes
kiagyc has joined #ruby
zeroNones has joined #ruby
<apeiros>
I'm surprised it doesn't raise because of ]]
<Tomasso>
apeiros: you mean the double optional ?
<Tomasso>
it works xD
<apeiros>
I mean the [[char-class][char-class]]
<apeiros>
it definitively does not work the way you think it does :)
<maasha>
methinks you normally write the range as [0-9a-z]{13} ?
ta has quit [Remote host closed the connection]
<maasha>
or is that just Perl
<apeiros>
maasha: no, same for ruby
abdulsattar has quit [Ping timeout: 272 seconds]
<Tomasso>
but have no idea how to validate a 13 length string has at least one digit
webguynow has joined #ruby
<maasha>
Tomasso: you should look into forward looking assertion
<Hanmac>
Tomasso & maasha [0-9a-z] => \w
<maasha>
or forward lookahead
<eam>
>> "foo]bar" =~ /(foo[]]bar)/; $1
<eval-in_____>
eam => /tmp/execpad-438eee70d364/source-438eee70d364:2: warning: character class has ']' without escape: /(foo[]]bar)/ ... (https://eval.in/194206)
<apeiros>
Hanmac: \w also includes _
<apeiros>
and A-Z
<Hanmac>
apeiros: oh yeah :/
<apeiros>
hm… now I wonder whether oniguruma indeed folds nested char classes…
<maasha>
however, in my mind you should stay away from lookahead and lookbehind since they are utterly confusing - better use two regexes :o)
<eam>
apeiros: I believe it's flat
<eam>
but the nesting has no effect
<mikecmpbll>
as you can see it sets the attributes for each new subclass too
<mikecmpbll>
is there a way i can set accessors for the subclass only?
heath has quit [Remote host closed the connection]
<mikecmpbll>
not sure if that makes any sense tbh.
heath has joined #ruby
<Tomasso>
Hanmac: i tried smth like that, it will accept strings with digits and lower case, but will also accept 13 length strings without one or more digits
<apeiros>
eam: it looks like it accepts it and interprets the [] not as part of the "outer" char class
<apeiros>
unexpected
jottr_ has quit [Quit: WeeChat 1.0]
<Hanmac>
apeiros: did you read yesterday what i did say about Regexp named chapture group in combine with /..|../ regexp? ;P
<eam>
apeiros: ah you're right
Insanity133 has joined #ruby
RandyT has joined #ruby
<apeiros>
Tomasso: ok, I stand corrected. you can nest char classes. however, [[0-9][a-z]] is identical to [0-9a-z]
drawingthesun has quit [Ping timeout: 272 seconds]
codecop has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
leehambley has joined #ruby
starless has quit [Quit: Leaving]
<leehambley>
sorry Hanmac, Rails 4.1, Ruby 2.1.2
lkba has quit [Ping timeout: 272 seconds]
<leehambley>
seems like the file is in a rails engine (like archeology here)
nanoyak has joined #ruby
<Hanmac>
with rails it might be the problem that autoload does fuck it up
<rdark>
\quit
rdark has quit [Quit: leaving]
<leehambley>
yeah, it seems to be, the engine gem's "lib" is on $:
Tricon has quit [Quit: Leaving...]
rdark has joined #ruby
<leehambley>
but not the engines "app" where the file resides
<Hanmac>
otherwise i would prefer to use "require" for external stuff and require_relative for internal
mocfive has joined #ruby
<leehambley>
hrm, maybe that's something I can try, I can force require the gem/engine early, and then force require a fiel with any name to reopen the class
<leehambley>
afaik rails expects that to be done in application.rb, rught
<leehambley>
right*
nanoyak has quit [Client Quit]
RickyGreen has joined #ruby
<RickyGreen>
Evening all :D
manzo has joined #ruby
<Hanmac>
leehambley: for rails questions prefer #rubyonrails ... they did it, now they need to pay the price
JoshGlzBrk has joined #ruby
<leehambley>
yeah
matchaw has quit [Read error: Connection reset by peer]
<leehambley>
thanks for the pointer
<momomomomo>
leehambley: come into #ror and I’ll introduce you to documentation; sounds like you haven’t added it to your engine config
<leehambley>
momomomomo: i saw the paths[], thing
<leehambley>
see you there
aspiers has quit [Ping timeout: 246 seconds]
nanoyak has joined #ruby
<leehambley>
btw Hanmac - not from Hamburg, Germany are you ?
HelperW__ has quit [Remote host closed the connection]
HelperW has joined #ruby
renderful has quit [Remote host closed the connection]
nanoyak has quit [Client Quit]
matchaw has joined #ruby
nanoyak has joined #ruby
<Hanmac>
leehambley: Saxony Dresden
Aaaal has quit [Quit: Aaaal]
linojon has quit [Quit: linojon]
<leehambley>
Hanmac: I worked with a Hannes Maac in Hamburg last year
<leehambley>
thought that would be a v.small world: )
arup_r has joined #ruby
<Hanmac>
hm nope as far as i remember that is not me ;P
<leehambley>
:D
Aaaal has joined #ruby
<leehambley>
grüße aus Hamburg sowieso
timgauthier has joined #ruby
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p0sixpscl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellangel7 has quit [Remote host closed the connection]
Aaaal has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
hiyosi has joined #ruby
shosti has joined #ruby
Insanity133 has joined #ruby
tlarevo_ has quit [Read error: Connection reset by peer]
Tomme has joined #ruby
tlarevo has joined #ruby
shackleford has joined #ruby
matchaw has quit [Remote host closed the connection]
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
Smujo has quit [Read error: Connection reset by peer]
Waheedi has joined #ruby
matchaw has joined #ruby
guyz is now known as digifiv5e
wchun has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
nobitanobi has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
tachibana has quit [Remote host closed the connection]
Insanity133 has quit [Ping timeout: 258 seconds]
Norrin has quit [Excess Flood]
multi_io has quit [Ping timeout: 260 seconds]
Smujo has joined #ruby
multi_io has joined #ruby
RickyGreen has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 272 seconds]
tachibana has joined #ruby
chihhsin_cloud has quit [Read error: Connection reset by peer]
natewalck has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Read error: Connection reset by peer]
paulog__ has quit [Read error: Connection reset by peer]
incomprehensibly has quit [Read error: Connection reset by peer]
rfv has quit [Read error: Connection reset by peer]
TieSoul is now known as nick___
nick___ is now known as TieSoul
paulog__ has joined #ruby
finges has quit [Ping timeout: 272 seconds]
starless has joined #ruby
rfv_ has joined #ruby
mostlybadfly has joined #ruby
kirun has quit [Ping timeout: 272 seconds]
Waheedi has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
qpls has quit [Ping timeout: 272 seconds]
incomprehensibly has joined #ruby
chihhsin_cloud has joined #ruby
natewalck_ has joined #ruby
Waheedi has joined #ruby
Rollabunna has joined #ruby
<leehambley>
it's magic…
gattie has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
premiumnode has joined #ruby
zorak8 has quit [Quit: Leaving]
shackleford has quit [Ping timeout: 272 seconds]
zorak8 has joined #ruby
<leehambley>
the autoloader in the engine has a different pathset (those of the engine) to the rest of the app, so only if something from the engine which *is* in ./lib/ includes something which isn't, it works
gattie has joined #ruby
jonathanwallace_ is now known as jonathanwallace
sambao21 has quit [Quit: Computer has gone to sleep.]
qpls has joined #ruby
matchaw has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 250 seconds]
<premiumnode>
Anyone willing to answer a twitter gem question? (-_-)
mercwith1mouth has quit [Ping timeout: 260 seconds]
fmcgeough has joined #ruby
gattie has quit [Ping timeout: 240 seconds]
Rollabunna has quit [Ping timeout: 260 seconds]
jds has quit [Quit: Connection closed for inactivity]
tlarevo has quit [Ping timeout: 272 seconds]
muhammadn has quit [Ping timeout: 272 seconds]
grokdancer has quit [Quit: Leaving.]
<wasamasa>
nobody in here is ever willing to do anything
<wasamasa>
please move over to #ruby-paid-support after cashing a check
havenwood has joined #ruby
jrhorn424 is now known as zz_jrhorn424
zz_jrhorn424 is now known as jrhorn424
<premiumnode>
ok
sectionme has quit [Ping timeout: 240 seconds]
Norrin has joined #ruby
GhettoJava has joined #ruby
gattie has joined #ruby
rezzack has quit [Quit: Leaving.]
Tricon has joined #ruby
jrhorn424 is now known as zz_jrhorn424
zz_jrhorn424 is now known as jrhorn424
<miah>
ask a question; rather than asking if you can ask a question (which is a question itself)
<premiumnode>
meh. seriously, so I'm trying to post using twitter gem... posting tweet + image is good when image is of course a file in the server. I want to post using a URL.. so what typically is the gem to use for this? Like..Should it be downloaded and then tweeted?
<premiumnode>
ok sorry about that i am new to this freenode thingy
ursooperduper has joined #ruby
<wallerdev>
if you post a tweet with like a jpg link in it, twitter will inline the image anyway
<wallerdev>
unless you want it hosted on twitter's server
<premiumnode>
ahh ya.. i want it hosted on twitter's server cos thats the only way it is gonna be displayed explicitly
jrhorn424 is now known as zz_jrhorn424
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zz_jrhorn424 is now known as jrhorn424
<wallerdev>
then yeah youd have to download it and upload it
<recurrence>
thanks centrx , this is close to what I want!
mityaz_ has joined #ruby
mityaz_ has quit [Client Quit]
andrewjanssen has joined #ruby
fabrice31 has joined #ruby
yfeldblu_ has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
HelperW has quit [Ping timeout: 260 seconds]
<Lewix>
hi
<wallerdev>
hi
andrewjanssen has quit [Quit: Leaving...]
mikepack has quit [Remote host closed the connection]
<Lewix>
How are you wallerdev
<wallerdev>
really tired
<wallerdev>
feeling kinda sick too
<wallerdev>
you?
yfeldblum has quit [Ping timeout: 255 seconds]
<Lewix>
wallerdev: you shouldn't be on the computer then =)
<Lewix>
I'm great
<wallerdev>
haha well ill take my lunch break soon
<wallerdev>
hopefully ill feel better after some food
Aranshada|W has joined #ruby
yfeldblu_ has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Ping timeout: 260 seconds]
robustus has joined #ruby
jkline has quit [Quit: jkline]
mikepack has joined #ruby
claudiop has joined #ruby
sigurding has quit [Quit: sigurding]
mikeg has joined #ruby
tlarevo has quit [Ping timeout: 245 seconds]
m8 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
andrewjanssen has joined #ruby
xcv has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
<claudiop>
Hi. I am looking to get some experience with ruby since i've learn a lot of theory but did nothing with it, and I am forgetting everything that i've learned. My idea (which is something that i really need right now) i a basic application that runs hidden, controllable from the tray, which limits eg. the daily time on steam
drawingthesun has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<claudiop>
The problem is that i've got to use a graphical framework
<claudiop>
I had previous experience with GTK on python. But its docs are miles away from ruby's GTK docs
tobago has quit [Remote host closed the connection]
<wallerdev>
what os are you on
<Luyt>
claudiop: You state three different problems, and suggest a solution at the same time. 1) Don't learn any stuff you won't need anyway, 2) Writing an app is the best way to learn a language, and 3) a 'tray' is highly desktop specific
<claudiop>
I am on Gnu/Linux. I am a Gnome user, so gtk would be preferable
BBBThunda has quit [Quit: Leaving]
Xiti has quit [Quit: Leaving]
PeterBoy has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Luyt>
Now I'm interested. Doesn't Gnome implement some kind of desktop standard for icons on the desktop, tray icons, etc?
<Luyt>
What is this standard called?
matty1234 has quit [Quit: Connection closed for inactivity]
<eam>
Luyt: gtk
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
<eam>
the gnome toolkit
<Luyt>
eam, no, it was something different, independent of what GUI toolkit one uses
<eam>
there's no such standard
darkxploit has quit [Read error: Connection reset by peer]
<Luyt>
like having a ./Desktop folder with shortcut files
alexherbo2 has quit [Quit: WeeChat 1.0]
<Luyt>
yes yes there is
<claudiop>
Yes, but other toolkits also work on it. It doesn't needs to be gtk. It is *best* for a gnome user. I am not looking for the best, i am looking for something with good docs
thomaslnx has quit [Quit: Saindo]
<claudiop>
I didn't quite understood
Insanity133 has joined #ruby
Xiti has joined #ruby
<claudiop>
Oh, i didn't meant desktop icons. And no, in gnome we're not really supposed to have desktop icons. I mean the "taskbar"(windows language) ones
<Luyt>
I remember seeing desktop softwares advertised as 'XYZ' compliant, which means they can handle stuff in the ~/Desktop directory and have some messaging in place for taskbar icons etc
<claudiop>
But any toolkit has those i think
saarinen has joined #ruby
sinkensabe has quit [Remote host closed the connection]
kobain has quit [Ping timeout: 258 seconds]
<claudiop>
Ok, forget about the desktop part. Let's shorten the question. "A ruby graphical toolkit gem with good, easy documentation."
icarus has joined #ruby
sinkensabe has joined #ruby
sambao21 has joined #ruby
agent_white has joined #ruby
Tomme has quit [Quit: Leaving]
<centrx>
claudiop, Have you looked at Ruby Shoes?
Insanity133 has quit [Ping timeout: 272 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
<agent_white>
I wear them daily!
<agent_white>
Afternoon folks
<claudiop>
centrx, no, i didn't, but i will :)
emmesswhy has joined #ruby
starless has quit [Quit: Leaving]
nobitano_ has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has joined #ruby
sinkensabe has quit [Ping timeout: 272 seconds]
<premiumnode>
hello! what's the best tool to use if I want to run a simple job (it's just tweeting something) once a day...? I've read: resque, delayed_job, rufus-scheduler, Sidekiq, whenever
<premiumnode>
I've read that delayed_job is the simplest for beginners or simple tasks..what can you suggest?
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
<failshell>
is there a tool to document a gem's code bad on its methods, classes, comments, etc into a markdown file?
rgcouk has joined #ruby
<failshell>
s/bad/based
DivineEn1ity has quit [Quit: Lost terminal]
premiumnode has quit [Quit: Page closed]
<claudiop>
Luyt, thanks. Looking into it. Thanks for your help :)
Pumukel has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0/20140830210550]]
klaas has quit [Remote host closed the connection]
<Luyt>
claudiop: You're welcome. I'm also interested in this stuff myself, since I'm developing an utility to make desktop shortcuts reflect better their origins.
<claudiop>
Best of luck in your development ;)
Aaaal has joined #ruby
<Luyt>
claudiop: Thanks. I think I'll be good, since I already know how to develop software ;-)
darkxploit has joined #ruby
hiyosi has quit [Ping timeout: 260 seconds]
leehambley has joined #ruby
<claudiop>
Yes, that's a small advantage over newbies :b
<Luyt>
claudiop: But you know, it's just like about people bitch about 'young persons' doing things, as if youth is an impediment.
Rollabunna has joined #ruby
mark_locklear has quit [Ping timeout: 260 seconds]
ghr has joined #ruby
<Luyt>
If age is really an issue, and being too young is an disadvantage, then, that disadvantage becomes less every day ;-)
saarinen has quit [Quit: saarinen]
kobain has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
mocfive has quit [Remote host closed the connection]
<Luyt>
claudiop: Same goes for the so-called 'n00bs'... They might not know as much as the incrowd, but their knowlegdge gains every hour and day they're working on their code. And many (so-called) noobs often have a fresh view on problems, which can be beneficial.
<agent_white>
Ruby is 2 days 2 years younger than me. I am old!
kalusn has quit [Remote host closed the connection]
mocfive has joined #ruby
<centrx>
agent_white has exposed his secret agent birthday
<agent_white>
:o !
* adrenaline_
is a N00b
Aranshada|W has joined #ruby
<agent_white>
agent_not_so_secret_white!
<Luyt>
agent_white: Hehe, of course, the language in which you express yourself is totally irrelevant to the so-called 'noob problem' ;-)
sectionme has joined #ruby
nobitanobi has joined #ruby
<Luyt>
Hell, I'm a Haskell noob
kamilc__ has quit [Quit: Leaving...]
MeltedLux has quit [Ping timeout: 272 seconds]
<ineb>
everyone is a noob. claiming otherwise only restricts one in thinking ;)
<agent_white>
Haskell... I will learn after I take a hieroglyphics class!
sinkensabe has joined #ruby
<Luyt>
but I watched an OCAML video last night which had quite some interesting views on concurrency
edoceo has joined #ruby
RickyGreen has quit [Quit: Leaving...]
Insanity133 has joined #ruby
<Luyt>
I mean, a computer language could be decoupled from the concepts it implements
Rollabunna has quit [Ping timeout: 260 seconds]
<edoceo>
Hey, ruby noob here - when I see rubygems.rb:1264 - cannot load such file -- rubygems/defaults/operating_system - that means bundler from my Gemfile directory?
<Luyt>
That's why I'm learning Clojure right now. I think it has a place in the future
<agent_white>
Luyt: I did see a good quote about that... "current issues are the results of current thinking..." followed by something-something 'so use new thinking!' ... you get the gist of it. ;)
<lolmaus__>
Is there a non-destructive `array.delete`? That returns a new array rather than modifying existing one?
<agent_white>
lolmaus__: You mean to pop the last element off the array?
<Luyt>
YouTube is so full of fantastic lectures about computer programming issues that I even don't watch TV anymore. I watch those lectures.
<Luyt>
I haven't watched the News or CNN in ages... just technical lectures on YouTube
<centrx>
Latest news is: "TV is for old people"
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
tcrypt_ has joined #ruby
<agent_white>
Like me!
sectionme has quit [Ping timeout: 258 seconds]
<lolmaus__>
agent_white: no, i want to remove given object from the array and to have the resulting array returned, without modifying the original array.
kiwnix has quit [Read error: Connection reset by peer]
nDuff has joined #ruby
b00stfr3ak has joined #ruby
PeterBoy has joined #ruby
<centrx>
lolmaus__, Array#reject
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
<centrx>
lolmaus__, requires slightly lengthier syntax than #delete though
RyanV has joined #ruby
Insanity133 has quit [Remote host closed the connection]
eivindml has joined #ruby
<agent_white>
Or map if you're wanting to fill that slot with nil
tcrypt has quit [Read error: Connection reset by peer]
<Luyt>
centrx: When I enter my local Supermarket, I walk past the newspaper stand, and I quickly glance the headlines... that is enough to inform me what is going on in the World...
<lolmaus__>
centrx: it's exactly what i need, thank you.
nDuff has left #ruby [#ruby]
nanoyak has joined #ruby
<Luyt>
and it's always the same and never changes. I've given up on being globally aware. For the rest, I only read HackerNews.
mark_locklear has joined #ruby
SCHAAP137 has joined #ruby
<Luyt>
not Reddit or Slashdot, but HackerNews
MeltedLux has joined #ruby
diegoviola has joined #ruby
<toretore>
Luyt: do you have a link to the ocaml video?
grokdancer has quit [Quit: Leaving.]
<Luyt>
toretore: Search YouTube for 'ocaml trading'
<Luyt>
The guy who gives the talk is very energetic and enthusiastic about Ocaml
<Luyt>
toretore: I'm currently at a workstation which doesn't allow me to watch YouTube, so I can't confirm your link
mleone has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
linojon has quit [Quit: linojon]
KC9YDN has joined #ruby
<toretore>
"cml trading - experiences with functional programming on wall street"
<toretore>
caml*
<Luyt>
yeah that could be the one, it was about wallstreet
<toretore>
k thx brah
davispuh has joined #ruby
<Luyt>
I found his talk enlightening, but it didn't win me over to the ML camp (yet)
sambao21 has quit [Quit: Computer has gone to sleep.]
fsapo has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby
emmesswhy has quit [Client Quit]
fold has joined #ruby
<Luyt>
At the moment I'm more concerned about harnessing the powers of multiple cores
<Luyt>
Because I think that's the future
<Luyt>
Rich Hickey's approach to that development is really stirring my interest
benzrf|offline is now known as benzrf
<Luyt>
Software Transactional Memory, and that kind of stuff
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
i like haskell
livingstn has joined #ruby
<benzrf>
haskell... it's so good
ItSANgo has joined #ruby
<Luyt>
benzrf: I think knowledge of Haskell could really benefit your efficacy as a developer
<centrx>
What is the secret code name of Haskell?
sigurding has joined #ruby
<centrx>
ruby -> rubby
blackmesa has joined #ruby
<centrx>
go -> goo
Aaaal has quit [Quit: Aaaal]
<havenwood>
php -> nooooo
<Luyt>
Just like LISP can... I think it's really beneficial for a developer to disover paradigms outside one's usual languages and habits.
qmfnp has joined #ruby
Mars___ has quit [Remote host closed the connection]
<Luyt>
omg PHP I have to do that from time to time too, I don't hate or love it, I just accept it as a fate of life.
<ineb>
i started learning haskell and then i stopped because i couldnt come up with an idea to use it for a project.
Mars___ has joined #ruby
<agent_white>
brainfuck -> ./...++<>,
fmcgeough has quit [Quit: fmcgeough]
<Luyt>
ineb: You have a point there. You can't really learn a language if you don't have to write serious stuff in it
lemur has joined #ruby
<centrx>
brainfuck -> wtfuck
<Luyt>
hehe ;-)
<agent_white>
hahah
<benzrf>
ineb: write a scheme interpreter in it :y
<benzrf>
scheme interpreters are to haskell as blogs are to web frameworks
PeterBoy has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
n_blownapart has joined #ruby
darkxploit has quit [Ping timeout: 260 seconds]
<Luyt>
Well my lovely friends, excuse me as I'm going to leave the channel, enriched with new viewpoints, but I feel I'm going to shoot some enemies in Battlefield 2: Vietnam now ;-)
adironduck has joined #ruby
<Luyt>
If you want to shoot me, I'll be on the servers.
<benzrf>
play tf2 instead
glebm has joined #ruby
<Luyt>
Huh what? tf2? What's that?
<centrx>
The sequel to Team Fortress Classic
<Luyt>
Isn't that Quake?
<benzrf>
Luyt: team fortress 2
<benzrf>
it's sweet as ufck
<Luyt>
I played a lot of Quake III Arena
<benzrf>
2 teams 9 classes
Mars___ has quit [Ping timeout: 258 seconds]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
php's secret name is "I hear your teenage kid is good with websites"
adironduck has quit [Client Quit]
dc__ has quit [Remote host closed the connection]
<benzrf>
shoot the other team or set up a sentry to shoot them or turn invisible and stab them inna back or launch rockets at em or
<centrx>
Luyt, TF is more strategic and team-oriented, with different player classes who have strengths and weaknesses
<Luyt>
eam: And he's working from his attic for just $10 an hour!
<benzrf>
eam: as a teenage kid semi-good with websites i resent your implication
<ineb>
Luyt is at a workstation, cant watch youtube videos, but playin BF2 is fine.
<benzrf>
Luyt: i'd kill for 10 an hour
p0sixpsc_ has joined #ruby
linojon has joined #ruby
<agent_white>
benzrf: Come make pizzas with me!
shinobi_one has joined #ruby
<benzrf>
agent_white: for programming d:
postmodern has joined #ruby
<eam>
benzrf: pre-teen then
Stalkr_ has joined #ruby
<Luyt>
ineb: I play games not on this scruffy workstation, but on my Gaming Rig which is next to me on my desk!
grokdancer has joined #ruby
<benzrf>
eam: in that case
<benzrf>
yes
<eam>
#preeteens
<agent_white>
benzrf: So I like the pretend the pepperonis are my classes...
lemur has quit [Ping timeout: 240 seconds]
<benzrf>
eam: i was a php user in my preteens ;-;
<Lewix>
agent_white: I want some!
lxsameer has quit [Quit: Leaving]
<agent_white>
s/the/to/
<benzrf>
agent_white: ( ͡° ͜ʖ ͡°)
<eam>
benzrf: I was a pascal user in my preteens
<agent_white>
Lewix: CLASSES FOR ALL. We just need to think of what the cheeze it.
p0sixpscl has quit [Read error: Connection reset by peer]
<agent_white>
s/it/is/icannotspelltoday/
<benzrf>
i was a BASIC user in my prepreteens!
<eam>
also basic, both GW and quick
mikeg has quit [Remote host closed the connection]
<agent_white>
I modified CS 1.6 hacks in my pre-teens!
<havenwood>
what we need is a batch web framework
Stalkr_ has quit [Remote host closed the connection]
<agent_white>
havenwood: Let's call it "Soup"
carraroj has quit [Quit: Konversation terminated!]
wchun has quit [Read error: Connection reset by peer]
wchun has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dda has quit [Remote host closed the connection]
nanoyak_ has joined #ruby
sigurding has quit [Quit: sigurding]
eivindml has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gattie_ has joined #ruby
vallieres_ has joined #ruby
vallieres_ has quit [Max SendQ exceeded]
dc__ has joined #ruby
aspires has joined #ruby
fbernier has quit [Ping timeout: 245 seconds]
nanoyak has quit [Ping timeout: 258 seconds]
gattie_ has quit [Read error: Connection reset by peer]
vallieres_ has joined #ruby
gattie_ has joined #ruby
r4v5 has left #ruby [#ruby]
Spami has joined #ruby
hiyosi has joined #ruby
gattie has quit [Ping timeout: 240 seconds]
<omosoj>
must there be a third part of a ternary construction? is "a ? b" enough?
eshy has joined #ruby
cibs has joined #ruby
<centrx>
omosoj, third part is required
benlieb has quit [Quit: benlieb]
<centrx>
omosoj, if you don't want the third part, just use: b if a
Avahey_ has quit [Quit: Connection closed for inactivity]
<omosoj>
awesome. thanks
aspiers has joined #ruby
noopq has quit [Ping timeout: 255 seconds]
gvenkat has quit [Quit: This computer has gone to sleep]
fbernier has joined #ruby
<omosoj>
how does that work in the hardware? is the condition performed or held in memory until the condition?
jimms has joined #ruby
<treehug88>
if there weren't three parts required... it wouldn't be ternary!
Mars__ has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
Xaitec has joined #ruby
tonybird has quit [Ping timeout: 255 seconds]
<centrx>
omosoj, Logically, it checks the if expression first
<omosoj>
treehug88, heh
<omosoj>
ok, thanks, centrx!
<treehug88>
it probably expands to some sort of if/then/else logic :)
<centrx>
omosoj, As far as the hardware, CPUs sometimes follow all branches of an if-statement ahead of time, for performance
<treehug88>
yeah implementation bets are off
matchaw_ has joined #ruby
<ericwood>
predictive branching :D
matchaw has quit [Read error: Connection reset by peer]
cirn0 has joined #ruby
<omosoj>
my app isn't too big so i wont worry about it too much. i just thought the ternary operator would be better b/c it wouldn't go all the way if the condition wasn't met
kaspergrubbe has joined #ruby
diegoviola has joined #ruby
GinoMan has joined #ruby
<treehug88>
don't preoptimize
<omosoj>
why not?
<treehug88>
oh man
<omosoj>
lol
ringarin has joined #ruby
<wallerdev>
if you preoptimize you end up writing harder to read code to counteract a problem that might never exist
Jackneill has quit [Read error: Connection reset by peer]
blandflakes has quit [Quit: Page closed]
GinoMan has quit [Ping timeout: 240 seconds]
<TeresaP>
If I'm using Ruby on the command line and 'requiring' a bunch of files that contain classes, is there a reason that comes to mind as to why I'm unable to access the classes' static objects?
<wallerdev>
you put the class inside file "okay.rb"
<shevy>
I remember some months ago, some guy complained about a problem - it turned out that RubyMine had some extra step that caused issues, whereas ruby itself worked just fine
fabrice31 has joined #ruby
<wallerdev>
then require 'okay'; Okay.wow
arup_r has joined #ruby
<wallerdev>
make sure the second file is in the right directory
hmsimha has joined #ruby
<TeresaP>
So basically on Terminal I've launched this test framework tool called the Calabash console
<TeresaP>
My class looks something like that "Okay" class
<shevy>
I want a Cabbage console too
<TeresaP>
haha
PeterBoy has joined #ruby
<shevy>
you can start irb from that directory
<wallerdev>
try using the full path in require
<shevy>
then try require 'name' or require './name'
jottr has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
<shevy>
skfax you understood the code very quickly. I assume you have been using either ruby or another language for a longer while?
adac has quit [Ping timeout: 245 seconds]
aclearman037 has quit []
jottr has joined #ruby
<skfax>
shevy: very fresh with ruby, but know c++ and a little python
<shevy>
aha!
awc737 has joined #ruby
<shevy>
shsh hShshs hsszshs?
<shevy>
the python guys don't understand my dialect :(
<skfax>
haha
<shevy>
how do you find the documentation of ruby or rails compared to python (and, I dunno... django or something)
paulfm has quit []
aspires_ has joined #ruby
aspires has quit [Read error: Connection reset by peer]
DarthGandalf has quit [Quit: Bye]
<skfax>
shevy: i don't know either ruby or python enough to compare fairly, but the overall rails documentation is pretty great. lots of official guides + nice API documentation. most popular gems also seem to be documented fairly well. the ruby docs have also been very helpful :) still, you gotta use it a bit to grok stuff
eivindml has joined #ruby
eivindml has quit [Max SendQ exceeded]
Avahey_ has joined #ruby
eivindml has joined #ruby
nfk has quit [Quit: yawn]
bmurt has quit []
bking39116 has joined #ruby
mikepack has quit [Remote host closed the connection]
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tesaf has quit [Quit: Lost terminal]
<agent_white>
You gotta pry to know why!
TheNet has joined #ruby
xcv has joined #ruby
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
<ericwood>
they need that as their tagline
<lsone>
ericwood: I agree completely
Paul_McFreely has joined #ruby
omosoj has quit [Ping timeout: 260 seconds]
Beoran has quit [Ping timeout: 272 seconds]
manzo has joined #ruby
ringarin has quit [Quit: Leaving]
aspires_ has quit [Remote host closed the connection]
Ankhers has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
aspires has joined #ruby
slester has quit [Quit: slester]
kedare has quit [Ping timeout: 245 seconds]
Takle_ has joined #ruby
bking39116 has quit [Quit: bking39116]
Soda has joined #ruby
Takle has quit [Read error: Connection reset by peer]
oleo has quit [Ping timeout: 260 seconds]
<agent_white>
agent_white is no longer to make pizzas for a living! \o/
* agent_white
dances
JohnFord_ has quit [Ping timeout: 260 seconds]
shacklef_ has joined #ruby
olekenneth has quit [Ping timeout: 260 seconds]
krisquigley has joined #ruby
ldnunes has quit [Quit: Leaving]
oleo has joined #ruby
saarinen has quit [Quit: saarinen]
mark_locklear has quit [Ping timeout: 258 seconds]
shackleford has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
mleone has quit [Ping timeout: 258 seconds]
<wallerdev>
agent_white: switched to calzones?
<agent_white>
wallerdev: Pretty much! :D
livingstn has quit []
<agent_white>
Got an offer for a UX designer for interactive displays, like those big touch screen ones in hotels to flight-info ones in airports.
<agent_white>
I'll ask if I can still make calzones though.
<wallerdev>
awesome
<wallerdev>
where at?
aspires has quit []
sailias has quit [Read error: Connection reset by peer]
mleone has joined #ruby
Beoran has joined #ruby
gattie_ has quit [Remote host closed the connection]
<agent_white>
Oh no shit? It's a nice place I think! Been here since birth at least :P
<wallerdev>
yeah we had kind of a falling out though
<wallerdev>
startup pressure haha
<agent_white>
I could punch him for you if you want
<agent_white>
I accept dogecoin
<wallerdev>
that would be great
<wallerdev>
lol
<agent_white>
And high-fives
<agent_white>
:D
gattie has quit [Read error: Connection reset by peer]
<wallerdev>
how big is this company?
gattie has joined #ruby
b00stfr3ak has quit [Quit: leaving]
mr-foobar has quit [Quit: Leaving...]
Mars__ has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
<agent_white>
Well basically this is a new branch they just started building up, so they have 5 designers right now and I'll be in the next group of 5 added to the team :)
hiyosi has joined #ruby
<agent_white>
The other half is IT recruiting
Mars__ has joined #ruby
<agent_white>
And I think they have ~8 recruiters
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
bwilson has joined #ruby
bking39116 has joined #ruby
bking39116 has quit [Client Quit]
codecop has quit [Remote host closed the connection]
jheg has joined #ruby
olekenneth has joined #ruby
endless_walrus has joined #ruby
p0sixpsc_ has quit [Quit: bye]
cocotton_ has joined #ruby
bking39116 has joined #ruby
sailias has joined #ruby
freerobby has quit [Quit: Leaving.]
ursooperduper has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mars__ has quit [Ping timeout: 245 seconds]
icarus has joined #ruby
hiyosi has quit [Ping timeout: 258 seconds]
sanadora has joined #ruby
thams has joined #ruby
TeresaP has left #ruby [#ruby]
failshel_ has joined #ruby
ryanleesipes has quit [Remote host closed the connection]
Rollabunna has joined #ruby
cocotton has quit [Ping timeout: 246 seconds]
nanoyak_ has quit [Read error: Connection reset by peer]
Vile` has quit [Remote host closed the connection]
<sanadora>
Hi! Is rubymonk a good resource for learning? Im also searching for a book on epub format, if possible
nanoyak has joined #ruby
hiyosi has joined #ruby
failshell has quit [Ping timeout: 245 seconds]
<agent_white>
sanadora: Yes, I found it awesome!
failshel_ has quit [Ping timeout: 246 seconds]
m8 has quit [Quit: Sto andando via]
Rollabunna has quit [Ping timeout: 245 seconds]
_lexjm has joined #ruby
silkfox has quit [Ping timeout: 258 seconds]
<sanadora>
agent_white: thanks!
jheg has quit [Quit: jheg]
cocotton_ has quit [Remote host closed the connection]
threesixes has joined #ruby
cocotton has joined #ruby
Vile` has joined #ruby
wallerdev has quit [Quit: wallerdev]
cocotton has quit [Remote host closed the connection]
<centrx>
Lewix, Two major divisions of "lead dev" would be project management and people management
phutchins has quit [Ping timeout: 260 seconds]
<Lewix>
centrx: thanks 'lll check it out
thams has joined #ruby
davasaurous has joined #ruby
sinkensabe has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
momomomomo has joined #ruby
perrier___ has quit [Read error: Connection reset by peer]
<palantir>
Ruby documentation (http://www.ruby-doc.org/core-2.1.2/Proc.html#method-i-yield) seems to indicate that calling a proc with my_proc.call(params) is equivalentto my_proc(params), but this doesn't seem to be the case in practice, I get wrong number of arguments for something like: def stuff(x) Proc.new { x }. So how do I call a proc without using call as it states in the documentation?
<benzrf>
palantir this is not Javascript
<benzrf>
palantir: foo() is ALWAYS calling the foo method on the current object
<benzrf>
palantir: methods and variables do not share a namespace
<benzrf>
ruby is a lisp-2
Pumukel has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0.1/20140911151253]]
nhhagen has quit [Remote host closed the connection]
<palantir>
benzrf: OK, that makes sense, thanks. The documentation listed call(), prc(), and () together so I thought they were equivalent
mleone has joined #ruby
<benzrf>
nope
snath has joined #ruby
<benzrf>
prc?
mikepack has quit [Remote host closed the connection]
icebourg has quit []
b00stfr3ak has joined #ruby
phoo1234567 has quit [Quit: Leaving]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
perrier has joined #ruby
perrier has quit [Remote host closed the connection]
<multi_io>
zenspider: does rbenv also support using the same ruby with disjoint sets of gems?
<zenspider>
rubygems supports it, so yes
<zenspider>
you just set GEM_HOME and/or GEM_PATH
<zenspider>
GEM_HOME is the only one who can write (install/remove)
iamsaitam has quit [Remote host closed the connection]
<multi_io>
OK, I see
pencilcheck has joined #ruby
<multi_io>
but rbenv doesn't seem to set those
thams has quit [Quit: thams]
rp__ has joined #ruby
<shevy>
multi_io it should not be necessary or? if it installs into your home directory anyway
<multi_io>
afaics it essentially prepends the bin/ directory of the ruby you're using (i.e. ~/.rbenv/versions/ruby-xxx/bin) to $PATH, which then leads ruby to set $: accordingly, so it'll find the installed gems
icarus has quit [Remote host closed the connection]
slester has quit [Quit: Quitte]
saarinen has quit [Read error: Connection reset by peer]
ixti has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
kireevco1 has quit [Quit: Leaving.]
kireevco has joined #ruby
cndiv has quit [Ping timeout: 245 seconds]
Rollabunna has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
sanadora has quit [Quit: sanadora]
GriffinHeart has joined #ruby
chrishough has quit [Ping timeout: 245 seconds]
orolo has quit [Quit: This computer has gone to sleep]
tvw has quit []
ixti has joined #ruby
jhass has quit [Ping timeout: 255 seconds]
chrishough has joined #ruby
skammer has joined #ruby
jhass has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
fold has joined #ruby
chipotle has joined #ruby
silkfox has joined #ruby
Mars__ has quit [Read error: Connection reset by peer]
Mars__ has joined #ruby
<zenspider>
multi_io: rbenv doesn't need to. It handles one thing and handles it well. If something else handles something (like ruby-build) rbenv doesn't do it
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
mikeg has quit [Remote host closed the connection]
<zenspider>
multi_io: I would be wary of merging tho... binary gems will crash on you if you're not really careful
Rollabunna has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 272 seconds]
twobit__ has quit [Ping timeout: 272 seconds]
saarinen has quit [Read error: Connection reset by peer]
<zenspider>
but doing something like `export GEM_PATH=~/.gem/shared` and ensuring you ONLY ever install pure-ruby gems in there should be mostly OK
jottr has joined #ruby
<zenspider>
version specific syntax shit aside
orolo has joined #ruby
codeurge has joined #ruby
skammer has quit [Ping timeout: 272 seconds]
SCHAAP137 has quit [Remote host closed the connection]
doritostains has joined #ruby
emocakes__ has joined #ruby
rimenes has joined #ruby
lolmaus__ has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 272 seconds]
lolmaus__ has joined #ruby
twobit has joined #ruby
emocakes has quit [Ping timeout: 255 seconds]
saarinen has joined #ruby
linojon has quit [Quit: linojon]
saarinen has quit [Client Quit]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Helos has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
vieq has quit [Ping timeout: 272 seconds]
cndiv has joined #ruby
Helos has left #ruby [#ruby]
stunder has quit [Remote host closed the connection]
linojon has joined #ruby
sirene has quit [Quit: Saliendo]
fold has quit [Ping timeout: 246 seconds]
northfurr has joined #ruby
perrier has quit [Read error: Connection reset by peer]
cougarten_ has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 260 seconds]
melik_ has quit [Quit: Computer has gone to sleep.]
mrsolo has quit [Ping timeout: 258 seconds]
jaygen_ has joined #ruby
diegoviola has joined #ruby
ixti has joined #ruby
easier has quit [Remote host closed the connection]
erts has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
<multi_io>
zenspider: so if GEM_PATH isn't set, does it default to $: or something?
anaeem1 has quit [Remote host closed the connection]
mikeg has joined #ruby
<zenspider>
multi_io: it's much more complicated than that. rubygems overrides `require` and will go look across installed gems if the initial require has a load error
<multi_io>
and what about if GEM_HOME isn't set?
<multi_io>
zenspider: ah
<zenspider>
GEM_HOME and GEM_PATH just extends where it looks when that load error happens
Lewix has quit [Remote host closed the connection]
<multi_io>
that's interesting, I had been wondering about that earlier
vieq has joined #ruby
jaygen has quit [Ping timeout: 255 seconds]
kaspergrubbe has quit [Remote host closed the connection]
RyanV has quit [Quit: Computer has gone to sleep.]