havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
centrx has joined #ruby
tyang has quit [Read error: Connection reset by peer]
Guest48640 is now known as ged
ged is now known as Guest27946
JeanCarloMachado has quit [Ping timeout: 264 seconds]
porfa has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
blackmes1 has joined #ruby
enterprisey has joined #ruby
Rodya_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
centrx has quit [Ping timeout: 252 seconds]
centrx_ has joined #ruby
marxarelli has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
centrx_ has quit [Ping timeout: 256 seconds]
davee_ has joined #ruby
Rutix has quit [Read error: Connection reset by peer]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
Alayde has quit [Quit: WeeChat 1.5]
zipace has joined #ruby
marxarelli has joined #ruby
marxarelli has quit [Client Quit]
kht has quit [Ping timeout: 240 seconds]
dhollinger has quit [Ping timeout: 240 seconds]
zipace has quit [Disconnected by services]
zipace has joined #ruby
zipace has quit [Read error: Connection reset by peer]
enterprisey has quit [Ping timeout: 255 seconds]
zipace has joined #ruby
drewr has joined #ruby
JeanCarloMachado has joined #ruby
Guest40 has joined #ruby
marxarelli|afk has joined #ruby
hightower2 has joined #ruby
Guest40 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower3 has quit [Ping timeout: 240 seconds]
drewr has quit [Remote host closed the connection]
Rutix has quit [Read error: Connection reset by peer]
drewr has joined #ruby
FastJack has quit [Ping timeout: 240 seconds]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
FastJack has joined #ruby
gusrub__ has joined #ruby
JoshS has joined #ruby
pwnd_nsfw has quit [Ping timeout: 256 seconds]
gusrub has quit [Ping timeout: 240 seconds]
Tempesta has quit [Quit: See ya!]
marxarelli|afk is now known as marxarelli
bmurt has joined #ruby
Ropeney has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
dkings has joined #ruby
blackmes1 has quit [Ping timeout: 258 seconds]
FastJack_ has joined #ruby
FastJack has quit [Ping timeout: 240 seconds]
FastJack_ is now known as FastJack
Rutix has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
dhollinger has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Tempesta has joined #ruby
mjs2600 has joined #ruby
drewr has quit [Remote host closed the connection]
drewr has joined #ruby
JoshS has quit [Quit: Leaving]
duckpupp1 has quit [Ping timeout: 255 seconds]
drewr has quit [Remote host closed the connection]
dezren39 has joined #ruby
dkings has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has quit [Quit: WeeChat 1.6]
ehjax has quit [Quit: Leaving]
arescorpio has joined #ruby
alexar_ has quit [Remote host closed the connection]
_fg has quit [Ping timeout: 256 seconds]
username_ has quit [Ping timeout: 248 seconds]
jackjackdripper has joined #ruby
Definity has quit [Quit: Nettalk6 - www.ntalk.de]
gheegh has quit [Ping timeout: 240 seconds]
dhollinger has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
dezren39 is now known as ketket
enterprisey has joined #ruby
ketket is now known as ketsif
CloCkWeRX has joined #ruby
ketsif is now known as drewrypope
gusrub__ has quit [Remote host closed the connection]
drewrypope is now known as drewpope
TheWhip has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
whathappens has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
drewpope is now known as dezren39
Guest27946 is now known as ged
ged is now known as Guest84809
ianmethyst has quit [Quit: WeeChat 1.6]
Xentil has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
enyo_ has joined #ruby
djbkd has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 276 seconds]
tmtwd has joined #ruby
hightower2 has joined #ruby
enyo_ has quit [Ping timeout: 245 seconds]
_joes_ has quit [Ping timeout: 258 seconds]
_joes__ is now known as _joes_
Guest40_ has joined #ruby
kht has joined #ruby
<zenspider> rawr
_fg has joined #ruby
markholmes has quit [Remote host closed the connection]
StoneCyp1er has quit [Ping timeout: 240 seconds]
dhollinger has joined #ruby
csk has joined #ruby
Tempesta has quit [Quit: See ya!]
jackjackdripper has quit [Quit: Leaving.]
Tempesta has joined #ruby
marxarelli is now known as marxarelli|afk
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
saneax-_-|AFK is now known as saneax
marr has quit [Ping timeout: 252 seconds]
irondocwatson has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
irondocwatson has quit [Ping timeout: 255 seconds]
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 256 seconds]
brent__ has quit [Ping timeout: 256 seconds]
_fg has quit [Ping timeout: 240 seconds]
kht has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
chouhoulis has joined #ruby
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ruby
whathappens has joined #ruby
kht has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
whathappens has quit [Client Quit]
harai has joined #ruby
jhack has joined #ruby
cdg has quit [Remote host closed the connection]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
herbmillerjr has quit [Remote host closed the connection]
herbmillerjr has joined #ruby
nofxx has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
Guest84809 is now known as ged
ged is now known as Guest13412
TheWhip has quit [Remote host closed the connection]
gusrub has joined #ruby
SeepingN has quit [Ping timeout: 264 seconds]
tvw has quit [Ping timeout: 255 seconds]
kht has quit [Ping timeout: 252 seconds]
antoniobeyah has quit [Quit: Connection closed for inactivity]
hanmac has quit [Ping timeout: 276 seconds]
JeanCarloMachado has quit [Ping timeout: 256 seconds]
kht has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
patarr_ has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 276 seconds]
d^sh has joined #ruby
patarr_ has quit [Ping timeout: 240 seconds]
harai has quit [Ping timeout: 255 seconds]
JoshS has joined #ruby
jhack has quit [Quit: jhack]
hanmac has joined #ruby
jrafanie has joined #ruby
ramfjord has joined #ruby
StoneCypher has joined #ruby
gloscombe has quit [Quit: gloscombe]
duckpupp1 has joined #ruby
dgarstang has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
mjs2600 has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Ping timeout: 260 seconds]
harai has joined #ruby
duderonomy has quit [Ping timeout: 255 seconds]
optiz0r has quit [Ping timeout: 252 seconds]
duckpupp1 has quit [Ping timeout: 252 seconds]
bruce_lee has quit [Ping timeout: 276 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
y2mq37 has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
y2mq37 has quit [Max SendQ exceeded]
y2mq37 has joined #ruby
Channel6 has joined #ruby
y2mq37 has quit [Max SendQ exceeded]
y2mq37 has joined #ruby
enyo_ has joined #ruby
harai has quit [Ping timeout: 255 seconds]
gusrub has quit [Remote host closed the connection]
enyo_ has quit [Ping timeout: 264 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
segy has joined #ruby
tmtwd has quit [Ping timeout: 240 seconds]
safetypin has joined #ruby
TheWhip has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has joined #ruby
douglascorrea has quit [Ping timeout: 255 seconds]
saneax is now known as saneax-_-|AFK
tmtwd has joined #ruby
kht has quit [Ping timeout: 252 seconds]
AndBobsYourUncle has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gajus has quit [Quit: Connection closed for inactivity]
skweek has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
Guest13412 is now known as ged
ged is now known as Guest2797
a-109-107 has quit [Ping timeout: 240 seconds]
a-109-107 has joined #ruby
gusrub has joined #ruby
kht has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
segy has quit [Quit: ZNC - http://znc.in]
harfangk has joined #ruby
marxarelli|afk has quit [Read error: No route to host]
davee_ has quit [Quit: Leaving]
AndBobsY_ has joined #ruby
davezd has joined #ruby
dgarstang has joined #ruby
duderonomy has joined #ruby
AndBobsY_ has quit [Client Quit]
dcluna has quit [Ping timeout: 245 seconds]
dgarstang has quit [Ping timeout: 276 seconds]
harai has joined #ruby
dcluna has joined #ruby
irondocwatson has joined #ruby
irondocwatson has quit [Ping timeout: 258 seconds]
saneax-_-|AFK is now known as saneax
<zacts> *mew*
<adam12> o/
duckpupp1 has joined #ruby
davezd is now known as davezd_
dcluna has quit [Ping timeout: 255 seconds]
centrx has quit [Remote host closed the connection]
segy has joined #ruby
sarbs has quit [Read error: Connection reset by peer]
centrx has joined #ruby
enterprisey has quit [Remote host closed the connection]
segy has quit [Client Quit]
<zacts> Ƭ̵̬̊
<zacts> ^ the artist formerly known as prince btw
<zacts> anyway, back to #ruby
<zacts> :-P
dcluna has joined #ruby
jackjackdripper has joined #ruby
kht has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
jackjackdripper has quit [Client Quit]
segy has joined #ruby
jackjackdripper has joined #ruby
enterprisey has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarbs has joined #ruby
dcluna has quit [Ping timeout: 245 seconds]
segy has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
duckpupp1 has quit [Ping timeout: 260 seconds]
sebastiansier has quit [Remote host closed the connection]
jphase has joined #ruby
segy has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
Cohedrin_ has joined #ruby
dezren39 has quit [Quit: Leaving]
cyberarm_ has left #ruby ["Kidnapped by swan."]
dezren39 has joined #ruby
amclain has quit [Quit: Leaving]
pilne has quit [Quit: Quitting!]
gix has quit [Ping timeout: 240 seconds]
optiz0r has joined #ruby
ketket has joined #ruby
dez has joined #ruby
gix has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dez has quit [Remote host closed the connection]
ketket has quit [Remote host closed the connection]
ruby-lang495 has joined #ruby
dezren39 has quit [Quit: Leaving]
<ruby-lang495> guys i am about to learn rails
dezren39 has joined #ruby
<ruby-lang495> would you guys recommend me to learn both html & css along with rails together?
<ruby-lang495> ?
BB has joined #ruby
Guest2797 is now known as ged
hobodave has joined #ruby
ged is now known as Guest61862
xall has joined #ruby
dezren39 has quit [Remote host closed the connection]
dezren39 has joined #ruby
NeverTired has joined #ruby
ketket has joined #ruby
dez has joined #ruby
ketket has quit [Remote host closed the connection]
dezren39 has quit [Remote host closed the connection]
dez has quit [K-Lined]
csk has quit [Quit: ZZZzzz…]
BB has quit [Remote host closed the connection]
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 276 seconds]
harai has quit [Ping timeout: 256 seconds]
<adam12> ruby-lang495: That's a lot of stuff to learn, as you're learning SQL too.
duckpupp1 has joined #ruby
gusrub has joined #ruby
<adam12> ruby-lang495: And without HTML/CSS knowledge, Rails will be like 75% useless to you, unless you're building an API which my guess is you're not.
gusrub has quit [Client Quit]
frewsxcv_ is now known as frewsxcv_old
<adam12> ruby-lang495: I say you learn HTML, then HTML+Sinatra, then HTML+CSS+Sinatra, then Rails... or just add a database layer to Sinatra.
ruby-lang495 has quit [Ping timeout: 260 seconds]
enyo has joined #ruby
<adam12> *sigh*
Technodrome has joined #ruby
vali_ has joined #ruby
duckpupp1 has quit [Ping timeout: 245 seconds]
TheWhip has joined #ruby
duckpupp1 has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
ruby-lang811 has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
Guest40_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
testingrag has joined #ruby
tmtwd has quit [Ping timeout: 255 seconds]
nanoz has joined #ruby
centrx has quit []
Coldblackice has joined #ruby
dcluna has joined #ruby
duckpupp1 has joined #ruby
Channel6 has quit [Quit: Leaving]
aidalgol has joined #ruby
duckpupp1 has quit [Ping timeout: 248 seconds]
djbkd_ has quit [Remote host closed the connection]
djbkd has joined #ruby
_djbkd has joined #ruby
redhedded1 has quit [Quit: Leaving]
miggr has joined #ruby
duckpupp1 has joined #ruby
<miggr> i'm so confused about what i can do with ruby
<miggr> i am a novice and i don't know what i can use it in besides ruby on rails
<adam12> You can do anything you want - why would you think otherwise?
<miggr> i don't know
<adam12> At one point in time there was a guy flying Drone's with Ruby
<adam12> And some people make games
tmtwd has joined #ruby
<adam12> I made a tiny script today to remove duplicate lines from a 3000 line file ...
armyriad has quit [Read error: Connection reset by peer]
<adam12> miggr: What did you want to do with Ruby?
<miggr> did you use regex?
arescorpio has quit [Quit: Leaving.]
djbkd has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
<miggr> or did you use a sorting algorithm and then check if the previous line is identical to the current?
<adam12> miggr: I used a Set, walking each line to check if the line already existed in the set. I can show you if you want
<miggr> interesting
<adam12> See - not even that complicated, mr fancy pants
<miggr> lol
<miggr> i'm not a good programmer
<miggr> i'm very bad at it
<ruby-lang811> is it wise to learn html && css together?
<miggr> yes
<miggr> if you just learn html you will be sort of confused
<adam12> ruby-lang811: Yes.
<ruby-lang811> i am using agile web development
<adam12> miggr: It's like everything else - experience makes you better
<ruby-lang811> with rais 5
<miggr> ruby-lang811: what you need to learn from css very well is: layout and box model
<adam12> miggr: Chef's don't start out being fantastic cooks. They burn a bunch of food first.
<ruby-lang811> the book doesen't teach you step by step
TheWhip has quit [Ping timeout: 248 seconds]
<miggr> from html you need to learn different tags and why they're used
<ruby-lang811> unlike like ruby they teach you step by step
<ruby-lang811> that's why i can understand ruby
<ruby-lang811> haha
tsunamie has quit [Ping timeout: 240 seconds]
<miggr> basically you have to memorize all the common html tags and always ask yourself what the content in that area of the site describes
<miggr> html you have to describe
<miggr> css you have to describe too, but you describe the appearance
<miggr> layout is very important
duckpupp1 has quit [Ping timeout: 240 seconds]
<adam12> miggr: Here's what I made. Told you it wasn't complicated: https://gist.github.com/adam12/8329b4caff43e8266a05923353c2d2a3
<ruby-lang811> ya my instinct is always questioning on the erb template page
nchambers has quit [Ping timeout: 258 seconds]
<kspencer> and then if you only learn css, you end up going 'where the hell am i going to use this'
<miggr> layout means where you want the html elements on your page(top right a little more right a little more left centered etc)
<ruby-lang811> basically i need to know my html && csss well
<miggr> before not knowing how layout works i felt worthless
fumk has quit [Ping timeout: 252 seconds]
<miggr> and i felt like css is way too hard
<ruby-lang811> oh is it?
<ruby-lang811> controllers only use ruby code right?
<miggr> so i recommend you learn layout and html tags and elements
Guest98986 has quit [Ping timeout: 245 seconds]
sarbs has quit [Ping timeout: 276 seconds]
mr_rich101 has quit [Ping timeout: 240 seconds]
<miggr> ruby-lang811: you can use javascript for controllers as seen in react or angular
<ruby-lang811> @miggr html and css design and build websites good book?
armyriad has quit [Ping timeout: 255 seconds]
<miggr> yes i have it
<miggr> i will rate it a 3/5 because the authors made mistakes on the examples
nchambers has joined #ruby
tsunamie has joined #ruby
<ruby-lang811> i am using that for html and rails is agile web development rails 5
armyriad has joined #ruby
<ruby-lang811> is it ok?
<miggr> and lazily copied code that is incorrect
Rabbit_ has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
<miggr> i think any framework or language is great
<ruby-lang811> ok thx
<miggr> people tell you to not memorize methods, but i say do it
<ruby-lang811> oh
fumk has joined #ruby
<miggr> memorize the different methods in ruby and understand how they work
<ruby-lang811> when i flip the rails book, is the html tag i alwasy come across
<miggr> it will make you create things a lot faster
mr_rich101 has joined #ruby
<ruby-lang811> ya i know ruby confortable
<ruby-lang811> :)
<miggr> well ruby is put in a templating language such as erb
<ruby-lang811> i thought put in controller as well?
<miggr> you can
<miggr> you can tell it to put your values in between the <%= %> tags i think
<miggr> i haven't touched ruby on rails since a tutorial i did a year ago
Fire-Dragon-DoL has joined #ruby
<miggr> but yeah learn layout and how the box model works
<miggr> it took me forever to realize how simple the box model is
ur5us has quit [Remote host closed the connection]
sarbs has joined #ruby
giraffe has joined #ruby
ur5us has joined #ruby
<miggr> basically you have margin border padding and your content
<ruby-lang811> ok
<miggr> the border sits between the margin and padding
giraffe is now known as Guest35314
<ruby-lang811> <%= %> is that erb template page only
<miggr> every html element is a box
<miggr> it has margin border padding
duckpupp1 has joined #ruby
<ruby-lang811> ok thx i will learn both rails and html at the same time
<miggr> if you want to shift content inside of that box you touch padding
<ruby-lang811> yup
<miggr> if you want to shift content outside of it you use margin
<miggr> the difference between margin and padding is that if you touch the margin it will move the whole element wherever you want
enterprisey has joined #ruby
<miggr> and if you touch padding it will only move it inside of that box
<miggr> do you have a business card or a rectangle of some sort?
<ruby-lang811> nope
<miggr> i'm just trying to help you visualize the box model
<ruby-lang811> oh i see
Rabbit_ has joined #ruby
<ruby-lang811> the book i mention html
<miggr> i'm talking about css now
ur5us has quit [Ping timeout: 240 seconds]
<ruby-lang811> is dam solid book coz they used images to teach
<ruby-lang811> oh kk
<miggr> pretend you have a coin inside of a business card
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ruby-lang811> ok?
dgarstang has joined #ruby
duckpupp1 has quit [Ping timeout: 245 seconds]
<miggr> if you want to move the content inside of the business card without moving the business card you use padding
<miggr> if you want to move the whole business card you use margin
<ruby-lang811> oh i see
<miggr> i hope this makes sense
<ruby-lang811> thx
<miggr> the border is between the margin and the padding
<miggr> that's like the border around your coin inside of the business card
<miggr> that's basically the box model
<miggr> for layout you have different options
<miggr> i recommend you read the html and css book and if you have questions ask away
<miggr> it's a great book but the editor did a horrible job and the writer is a lazy writer because he didn't proofread the pages he wrote lol
aupadhye has joined #ruby
<miggr> we're both talking about the john duckett book right?
<ruby-lang811> ok thx man
<ruby-lang811> yup
<ruby-lang811> haha
<ruby-lang811> great book with images
<ruby-lang811> i loved it :)
<miggr> the images are good but i wish there was more content
dionysus69 has joined #ruby
<miggr> don't forget to download the example code on the book's website
<ruby-lang811> i usually type out the code
<ruby-lang811> i prefer to type
<miggr> you can download it and then type it out
renchan has joined #ruby
<ruby-lang811> i meant i go through every single page and type it out
<miggr> what you can do for an extra challenge is download the code and then look at the book to create that same thing visually
<miggr> then read the docs and go on google to search for what you want to do
dgarstang has quit [Ping timeout: 255 seconds]
<miggr> memorize the concept of each chapter
<ruby-lang811> when you finished the book, how're better off at rails right
<miggr> and then create mock pages
<miggr> it didn't help me with rails
<miggr> it helped me with my confidence as a web developer
<miggr> because before i couldn't make sites right
irondocwatson has joined #ruby
Guest61862 is now known as ged
<miggr> i just used layouts and didn't know how they worked and always had trouble
<ruby-lang811> then?
<miggr> then i still learned a lot
TheWhip has joined #ruby
ged is now known as Guest23670
<miggr> i'm still learning
<miggr> i moved on from rails to learning javascript because it's what is hot right now
<ruby-lang811> i meant after you learn the book, you comfortable with rails correct?
<miggr> i want to go back to rails and master it
<miggr> i'm not that comfortable with rails as i'm still new to programming
<ruby-lang811> lol
<miggr> i did build an app with active record
<miggr> but that doesn't really count
<ruby-lang811> oh
<miggr> active record is sort of cheating in my opinion lol
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
irondocwatson has quit [Ping timeout: 240 seconds]
nanoz has quit [Read error: Connection reset by peer]
ruby-lang811 has quit [Ping timeout: 260 seconds]
Kug3lis_off is now known as Kug3lis
enyo has joined #ruby
aryaching_ has joined #ruby
xall has quit [Ping timeout: 276 seconds]
aryaching has quit [Ping timeout: 240 seconds]
nofxxx has joined #ruby
Yali has joined #ruby
Yali has quit [Remote host closed the connection]
blackbom2 has quit [Ping timeout: 276 seconds]
nofxx has quit [Ping timeout: 240 seconds]
govg has joined #ruby
glspi has joined #ruby
cibs has quit [Ping timeout: 255 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
cibs has joined #ruby
Kug3lis is now known as Kug3lis_off
ifctj has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
teclator has joined #ruby
hutch34_ has quit [Ping timeout: 256 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Remote host closed the connection]
ur5us has joined #ruby
zipace has quit [Disconnected by services]
ziprar has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
CloCkWeRX has joined #ruby
anisha has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k|work has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 240 seconds]
cgibsonmm has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
xall has joined #ruby
testingrag has quit [Quit: testingrag]
jenrzzz has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
dgarstang has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
agit0 has joined #ruby
markholmes has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
harai has joined #ruby
LoneHerm_ has joined #ruby
tmtwd has quit [Ping timeout: 258 seconds]
Madper|dyslexia is now known as Clojure|dyslexia
miggr has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
andikr has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
Clojure|dyslexia is now known as Madper|dyslexia
jameser has joined #ruby
brent__ has joined #ruby
tvw has joined #ruby
Guest23670 is now known as ged
ged is now known as Guest72712
brent__ has quit [Ping timeout: 255 seconds]
Macaveli has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Macaveli has quit [Client Quit]
jameser has joined #ruby
aufi has joined #ruby
jameser has quit [Client Quit]
lubekpl has joined #ruby
jameser has joined #ruby
UserJosh has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
agit0 has quit [Quit: zzzZZZ….]
jshjsh has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
Xentil has joined #ruby
hutch34_ has joined #ruby
jameser has quit [Client Quit]
jenrzzz has quit [Ping timeout: 264 seconds]
Ishido has joined #ruby
hightower2 has quit [Ping timeout: 256 seconds]
bocaneri has joined #ruby
lubekpl has quit [Ping timeout: 258 seconds]
TheWhip has quit [Remote host closed the connection]
dgarstang has quit [Ping timeout: 245 seconds]
Xentil has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
SteenJobs has joined #ruby
hutch34_ has quit [Ping timeout: 276 seconds]
gagrio has joined #ruby
sneakerhax has quit [Ping timeout: 245 seconds]
xall has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 240 seconds]
blaxter has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
gix has joined #ruby
blackwind_123 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
patarr has joined #ruby
cats has quit [Ping timeout: 260 seconds]
conta has joined #ruby
blackwind_123 has joined #ruby
raul782 has quit [Ping timeout: 255 seconds]
aganov has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
glspi has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 256 seconds]
jameser has joined #ruby
agit0 has joined #ruby
jameser has quit [Client Quit]
cats has joined #ruby
nowz has joined #ruby
redhedded1 has joined #ruby
ta__ has joined #ruby
duckpupp1 has joined #ruby
conta1 has joined #ruby
tekacs has quit [Ping timeout: 252 seconds]
rprimus has quit [Ping timeout: 260 seconds]
chee has quit [Ping timeout: 258 seconds]
Drakevr has quit [Ping timeout: 240 seconds]
ammar_ has quit [Ping timeout: 264 seconds]
mahlon has joined #ruby
Takumo has quit [Ping timeout: 258 seconds]
kaspergrubbe has quit [Ping timeout: 258 seconds]
contradictioned_ has joined #ruby
lucas_ has quit [Ping timeout: 246 seconds]
voker57 has quit [Ping timeout: 252 seconds]
heftig_ has joined #ruby
Rush_ has joined #ruby
majoh has quit [Ping timeout: 258 seconds]
yosafbridge` has joined #ruby
Rush_ is now known as Guest84972
gsingh93- has joined #ruby
Freijo has joined #ruby
AustinIncognito has joined #ruby
Kero_ has joined #ruby
volix_ has joined #ruby
_vircung_ has joined #ruby
PaulePan1er is now known as PaulePanter
cibs_ has joined #ruby
Drakevr has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
duckpupp1 has quit [Ping timeout: 255 seconds]
soahccc has joined #ruby
MadWasp_ has joined #ruby
ghormoon_ has joined #ruby
bazz_ has joined #ruby
lucas has joined #ruby
TheWhip has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
Imiteme has joined #ruby
Silthias1 has joined #ruby
Imiteme_ has joined #ruby
cjk101010 has joined #ruby
rideh- has joined #ruby
gigetoo has joined #ruby
zenguy_pc2 has joined #ruby
chee has joined #ruby
jokester_ has joined #ruby
ta has quit [Read error: Connection reset by peer]
conta has quit [Remote host closed the connection]
gsingh93 has quit [Ping timeout: 240 seconds]
Hobbyboy has quit [Ping timeout: 240 seconds]
nicoulaj has quit [Quit: Ping timeout (120 seconds)]
Sammichmaker has quit [Read error: Connection reset by peer]
cjk101010_ has quit [Ping timeout: 240 seconds]
yosafbridge has quit [Quit: Leaving]
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
Rush has quit [Remote host closed the connection]
heftig has quit [Remote host closed the connection]
jokester has quit [Ping timeout: 240 seconds]
sentriz has quit [Ping timeout: 240 seconds]
Guest98819 has quit [Ping timeout: 240 seconds]
rideh has quit [Ping timeout: 240 seconds]
ghormoon has quit [Ping timeout: 240 seconds]
ptx0 has quit [Ping timeout: 240 seconds]
vircung has quit [Ping timeout: 240 seconds]
zenguy_pc has quit [Ping timeout: 240 seconds]
bazzy has quit [Ping timeout: 240 seconds]
MadWasp has quit [Ping timeout: 240 seconds]
SuperTux88 has quit [Ping timeout: 240 seconds]
Fraeon has quit [Ping timeout: 240 seconds]
Kero has quit [Ping timeout: 240 seconds]
volix has quit [Ping timeout: 240 seconds]
AustinMatherne has quit [Ping timeout: 240 seconds]
soahccc_ has quit [Ping timeout: 240 seconds]
voker57_ has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
ndrst has quit [Ping timeout: 240 seconds]
ammar has joined #ruby
leah2 has quit [Ping timeout: 240 seconds]
sorah___ has quit [Ping timeout: 240 seconds]
StoneCypher has joined #ruby
dellavg has quit [Ping timeout: 240 seconds]
MadWasp_ is now known as MadWasp
gsingh93- is now known as gsingh93
conta1 is now known as conta
tekacs has joined #ruby
aviraldg has quit [Ping timeout: 240 seconds]
G has quit [Ping timeout: 240 seconds]
SuperTux88 has joined #ruby
G has joined #ruby
Silthias has quit [Ping timeout: 276 seconds]
majoh has joined #ruby
enyo has joined #ruby
rprimus has joined #ruby
irondocwatson has joined #ruby
rprimus is now known as Guest26208
lucas has quit [Ping timeout: 240 seconds]
xall has joined #ruby
aviraldg has joined #ruby
Hobbyboy has joined #ruby
leah2 has joined #ruby
sorah___ has joined #ruby
lucas has joined #ruby
ptx0 has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
ghormoon has joined #ruby
Macaveli has joined #ruby
ghormoon_ has quit [Quit: ZNC - http://znc.in]
dellavg has joined #ruby
ifctj has quit [Ping timeout: 276 seconds]
enyo has quit [Ping timeout: 258 seconds]
irondocwatson has quit [Ping timeout: 264 seconds]
xen0fon has quit [Ping timeout: 240 seconds]
kaspergrubbe has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
blackmes1 has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
Mortomes|Train has joined #ruby
Derperperd has joined #ruby
gigetoo has joined #ruby
nofxxx has quit [Ping timeout: 252 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
blaxter has quit [Quit: foo]
harai has quit [Ping timeout: 258 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
Imiteme has quit [Quit: Page closed]
vondruch has joined #ruby
govg has quit [Ping timeout: 240 seconds]
<zacts> hi rubyists
gigetoo has quit [Ping timeout: 255 seconds]
Guest72712 is now known as ged
LoneHermit has joined #ruby
Imiteme_ has quit [Ping timeout: 260 seconds]
ged is now known as Guest81788
gigetoo has joined #ruby
johnny56_ has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
dgarstang has joined #ruby
last_staff has joined #ruby
Rodya_ has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 240 seconds]
<dionysus69> any particular reason rvm wrapper may not be generated for some gems but is generated for some ?
<dionysus69> oh btw I had this problem for 2 days and just figured it out
aryaching has joined #ruby
<dionysus69> gems installed from Gemfile with bundler don't get wrappers created. only if u do "gem install someGem".
<dionysus69> sounds like a bug
dgarstang has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
blackmes1 has joined #ruby
enyo has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
aryaching_ has quit [Ping timeout: 276 seconds]
johnny56_ has joined #ruby
gigetoo has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
Burgestrand has joined #ruby
gigetoo has joined #ruby
mark_66 has joined #ruby
xberg has joined #ruby
_geoff_ has quit [Read error: Connection reset by peer]
_geoff has joined #ruby
hogetaro has quit [Read error: Connection reset by peer]
nchambers has quit [Ping timeout: 240 seconds]
shortdudey123 has quit [Ping timeout: 240 seconds]
hogetaro has joined #ruby
russt has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
vali_ has joined #ruby
SuperLag has quit [Ping timeout: 240 seconds]
SuperLag has joined #ruby
gigetoo has quit [Ping timeout: 252 seconds]
gigetoo has joined #ruby
russt has joined #ruby
nchambers has joined #ruby
Mortomes|Train has quit [Ping timeout: 260 seconds]
shortdudey123 has joined #ruby
Sammichmaker has joined #ruby
aryaching_ has joined #ruby
xberg has quit []
aryaching has quit [Ping timeout: 240 seconds]
<a-109-107> is there a general cause for an application to report "can't load library /usr/lib/.../.../lib.so (file not found)" but when I go to that place, I clearly see the file being there?
<apeiros> you might not have read rights
<apeiros> or the file might be corrupt
<apeiros> or any number of reasons
<a-109-107> apeiros excluding corruption, I assume that I have read pemissions because I didn't place the lib myself and I see that I have 'r' permissions in 'ls -lah'
Burgestrand has quit [Quit: Textual IRC Client: www.textualapp.com]
gigetoo has quit [Ping timeout: 258 seconds]
Burgestrand has joined #ruby
matp has quit [Remote host closed the connection]
matp has joined #ruby
gigetoo has joined #ruby
xen0fon has joined #ruby
aryaching_ has quit [Ping timeout: 240 seconds]
AnoHito has quit [Quit: Leaving]
mikecmpbll has quit [Quit: inabit. zz.]
xen0fon has quit [Read error: Connection reset by peer]
xen0fon has joined #ruby
markholmes has quit [Quit: Leaving]
auzty has joined #ruby
Kug3lis_off is now known as Kug3lis
testuser2 has joined #ruby
<testuser2> hi
<testuser2> how to limit this output Digest::SHA1.hexdigest([Time.now, rand].join).upcase to 10 chars only?
<apeiros> Digest::SHA1.hexdigest([Time.now, rand].join)[0,10].upcase
xen0fon has quit [Ping timeout: 245 seconds]
<apeiros> actually: SecureRandom.hex 5
<apeiros> almost certainly better than your custom generator
gigetoo has quit [Ping timeout: 245 seconds]
<testuser2> ok!
matp has quit [Remote host closed the connection]
gigetoo has joined #ruby
matp has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mikecmpbll has joined #ruby
faces has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
hightower2 has joined #ruby
flying has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
raldu has quit [Ping timeout: 240 seconds]
faces has joined #ruby
flying has quit [Remote host closed the connection]
z4j5 has quit [Ping timeout: 256 seconds]
jsrn_ has joined #ruby
raldu has joined #ruby
TheWhip has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
blackwind_123 has quit [Ping timeout: 252 seconds]
flying has joined #ruby
gigetoo has joined #ruby
harai has joined #ruby
hahuang61 has joined #ruby
noregret_ has quit [Quit: leaving]
blackmes1 has quit [Ping timeout: 252 seconds]
g_maeda has joined #ruby
xen0fon has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
g_maeda has quit [Client Quit]
heyguys has joined #ruby
<heyguys> hey guys umm can i ask a ruby question
heyguys has joined #ruby
heyguys has quit [Changing host]
pjaspers has quit [Ping timeout: 240 seconds]
tekacs has quit [Ping timeout: 276 seconds]
<manveru> no?
irondocwatson has joined #ruby
<manveru> it's not like this channel is called #ruby or anything
leah2 has quit [Ping timeout: 240 seconds]
<heyguys> :P
<manveru> but nobody really knows anything about minerals
pjaspers has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
leah2 has joined #ruby
tekacs has joined #ruby
<heyguys> when i try to open a .rb file it wont open like the interpreter opens for a split second and closes just as fast
jameser has joined #ruby
hutch34_ has joined #ruby
<heyguys> ruby interpreter cui 2.3.3 p222 x64mingw32
jameser has quit [Client Quit]
gigetoo has quit [Read error: Connection reset by peer]
agit0 has quit [Ping timeout: 258 seconds]
daveyboi[m] has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
daveyboi[m] has joined #ruby
frozengeek__ has joined #ruby
<Burgestrand> manveru you joke, but I actually had a gemstone enthusiast at a fairly recent meetup
<manveru> heyguys: you need to do it from the comandline
<manveru> i think on windows also .rbw files open a terminal that doesn't close immediately
<Burgestrand> manveru a very confusing first two hours for this person until we talked and realized they were probably in the wrong place (but were very welcome to stick around anyway!)
hutch34_ has quit [Ping timeout: 252 seconds]
<manveru> :D
<manveru> two hours man
harai has quit [Ping timeout: 245 seconds]
jameser has joined #ruby
Guest81788 is now known as ged
Kug3lis is now known as Kug3lis_off
ged is now known as Guest49520
Guest26208 has quit [Ping timeout: 276 seconds]
<Burgestrand> haha, yes :)
<manveru> oh well, it's like my boss who gets confused as hell when i start talking about gem names
rprimus has joined #ruby
majoh has quit [Ping timeout: 258 seconds]
<Burgestrand> in their defense we did start off with sandwiches and random mingling, but nobody thought to question their profession of "I'm a miner" until much later
<Burgestrand> manveru haha
ruby-lang601 has joined #ruby
rprimus is now known as Guest22916
tomphp has joined #ruby
chee has quit [Ping timeout: 248 seconds]
majoh has joined #ruby
ruby-lang601 has quit [Client Quit]
lucas has quit [Ping timeout: 264 seconds]
lucas has joined #ruby
Python has joined #ruby
dhollinger has quit [Ping timeout: 252 seconds]
chee has joined #ruby
dhollinger has joined #ruby
ziprar has quit [Ping timeout: 240 seconds]
SesMan has joined #ruby
gigetoo has quit [Ping timeout: 276 seconds]
Guest93002 has joined #ruby
<Python> p Net::Ping::TCP.new('91.121.108.50', 'http').ping
<Python> p Net::Ping::TCP.new('91.121.108.50', 'http').ping? = true
Fernando-Basso has joined #ruby
Shashikant86 has joined #ruby
Python has quit [Quit: Page closed]
<heyguys> manveru: ruby interpreter doesnt work on windows? i gotta do stuff through cmd?
<manveru> heyguys: cmd is part of windows
Xbox_Live_Gamer has joined #ruby
patarr has joined #ruby
<manveru> and yes, until you write a graphical user interface, your program will only know how to output to a terminal
<Xbox_Live_Gamer> it will
<Xbox_Live_Gamer> im so confused
<Xbox_Live_Gamer> are we talking about .rbw
mburns has quit [Read error: Connection reset by peer]
<Xbox_Live_Gamer> cause CLI
<manveru> .rbw is a special file extension used for ruby on windows so you don't have to open cmd, cd to your program, and run it
<manveru> it does that for you
<heyguys> rbw didnt open anything for me
<heyguys> just trying to open a hello world file
matp_ has joined #ruby
<Xbox_Live_Gamer> rbw is for gui applicatons if you combine it with glyde
<manveru> oh, damn
<manveru> other way round, sorry
matp has quit [Read error: Connection reset by peer]
<manveru> haven't used windows in years ^^;
<manveru> so with rbw you get no terminal, but with rb you do
<Xbox_Live_Gamer> Yeah
<manveru> if you want to keep the terminal open, try this: `puts "Hello World"; gets`
<manveru> so it waits until you press return
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has joined #ruby
<Xbox_Live_Gamer> I uasually do wait = gets
<Xbox_Live_Gamer> whuch gets the variable string
<Xbox_Live_Gamer> *which
<manveru> yeah, but why put it in a variable if you just throw it away
<heyguys> yay it worked now :D
gigetoo has joined #ruby
<heyguys> didnt close instantly
patarr has quit [Ping timeout: 240 seconds]
<Xbox_Live_Gamer> Just the way i do it ;-)
tdy has quit [Quit: WeeChat 1.7]
xen0fon has quit [Quit: xen0fon]
Mortomes|Work has joined #ruby
xen0fon has joined #ruby
<Xbox_Live_Gamer> anyone still on
<heyguys> yes
<heyguys> but im a noob
<Xbox_Live_Gamer> nice to meet you noob
<Xbox_Live_Gamer> ;-)
govg has joined #ruby
Beams has joined #ruby
djbkd has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckpupp1 has joined #ruby
djbkd has joined #ruby
elena_ has joined #ruby
<Xbox_Live_Gamer> p Net::Ping::TCP.new('8.8.8.8', 'http').ping?
<manveru> why ping 8.8.8.8 with http?
<manveru> isn't it dns only?
marr has joined #ruby
jshjsh has joined #ruby
Shashikant86 has joined #ruby
ndrst has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
ndrst is now known as Guest72006
djbkd has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
Xbox_Live_Gamer has quit [Ping timeout: 260 seconds]
UserJosh has quit [Ping timeout: 248 seconds]
p has joined #ruby
<p> p Net::Ping::TCP.new('127.0.0.1', 'http').ping?
StoneCypher has joined #ruby
p is now known as Guest62683
StoneCypher has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jphase has quit [Read error: Connection reset by peer]
ferr1 has joined #ruby
jphase has joined #ruby
gigetoo has joined #ruby
LoneHermit has joined #ruby
Kug3lis has joined #ruby
Gasher has joined #ruby
MadWasp has quit [Ping timeout: 255 seconds]
MadWasp has joined #ruby
heyguys has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
LoneHermit has quit [Ping timeout: 245 seconds]
blackmes1 has joined #ruby
xen0fon has quit [Quit: xen0fon]
xen0fon1 has joined #ruby
CloCkWeRX has joined #ruby
triangles2 has joined #ruby
xen0fon1 is now known as xen0fon
blackmes1 has quit [Read error: Connection reset by peer]
triangles has quit [Ping timeout: 240 seconds]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
<testuser2> I started to get unexperted token tConstant for all values / hash values which are inside ''. If i replace it with "" then error goes.
<testuser2> what am I missintg?
<testuser2> its everywhere in my file.
<testuser2> now.
gigetoo has joined #ruby
<dminuoso> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<testuser2> nmv.
<testuser2> one string was not closed properly with ' at some point in file.
<dminuoso> You now owe me 10 keypresses.
Guest62683 has quit [Quit: Page closed]
dgarstang has joined #ruby
<testuser2> :-D
teclator has quit [Ping timeout: 240 seconds]
<testuser2> ?gist = 5 only
teclator_ has joined #ruby
<dminuoso> Sorry, I meant 11.
<dminuoso> [alt]+[2][shift][?][g][i][s][t][enter][alt]+[7]
<dminuoso> [alt]+[2][shift]+[?][g][i][s][t][enter][alt]+[7]
UserJosh has joined #ruby
xen0fon has quit [Quit: xen0fon]
xen0fon has joined #ruby
aidalgol has quit [Quit: zZzZZzzzz]
dgarstang has quit [Ping timeout: 255 seconds]
jshjsh has quit [Ping timeout: 240 seconds]
kratec has joined #ruby
gigetoo has quit [Ping timeout: 258 seconds]
gigetoo has joined #ruby
<testuser2> :-)
toretore has joined #ruby
xall has quit [Ping timeout: 245 seconds]
DoubleMalt has quit [Ping timeout: 255 seconds]
gregf_ has joined #ruby
saneax is now known as saneax-_-|AFK
Guest49520 is now known as ged
ged is now known as Guest61094
chee is now known as tigrmesh
tigrmesh is now known as chee
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
sepp2k has joined #ruby
ledestin has joined #ruby
<testuser2> how can i delete . in number ? 1500.00 => 150000
<dminuoso> &ri String#delete
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* dminuoso pokes adaedra
<apeiros> testuser2: (num*100).round
<dminuoso> o_o
<apeiros> one is 1500, the other is 150000
jaruga____ has joined #ruby
<apeiros> it's not really "deleting a dot".
<dminuoso> apeiros: Who knows. Maybe its just a local issue.
<testuser2> :-)
<dminuoso> locale
<dminuoso> Speaking of locale
<apeiros> unless you misrepresented your problem
<dminuoso> apeiros: oracle locale is the most annoying ever.
xen0fon has quit [Quit: xen0fon]
<testuser2> apeiros: i want to delete . . E.g. if its "Ten" then I want 1000
<dminuoso> Horrid documentation, horrid syntax..
<apeiros> and meant to say: how can I delete a . in a string? "1500.00" => "150000"
<testuser2> 10.00 USD = 1000 UDS
<dminuoso> testuser2: Are you asking how to multiply by a hundred?
<testuser2> NO.
<dminuoso> ...
<dminuoso> ?xz
<ruby[bot]> dminuoso: I don't know anything about xz
<dminuoso> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<testuser2> No.
<apeiros> testuser2: yeah, from ten to thousand is multiply by 100
<apeiros> and you might want to take a look at the money gem
Kug3lis has joined #ruby
* apeiros hopes it has good documentation about best practices too…
amarsharma has joined #ruby
<testuser2> The amount of the transaction, expressed in the smallest currency unit. The amount must not
<testuser2> contain any decimal points, thousands separators or currency symbols. For example, $12.50 is
<testuser2> expressed as 1250.
gigetoo has quit [Read error: Connection reset by peer]
<testuser2> how to do that?
gigetoo has joined #ruby
<apeiros> testuser2: how much repeating of the same info do you need?
<testuser2> ok. i will just multiply.
<testuser2> :-(
<apeiros> why ":-("?
<testuser2> 12.50 * 100 = 1250.0 . Expected is 1250
<apeiros> testuser2: yeah, well, if you don't read what I write, then I can't help
jameser has joined #ruby
<apeiros> 11:43 apeiros: testuser2: (num*100).round
* apeiros now off to lunch
<testuser2> Thanks all!
Snickers has joined #ruby
pandaant has joined #ruby
Burgestrand has quit [Quit: Closing time!]
douglascorrea has joined #ruby
xall has joined #ruby
TheWhip has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
gigetoo has joined #ruby
Fernando-Basso has quit [Ping timeout: 255 seconds]
Guest93002 has quit [Ping timeout: 245 seconds]
brent__ has joined #ruby
cdg has joined #ruby
douglascorrea has quit [Ping timeout: 248 seconds]
amarsharma has quit [Remote host closed the connection]
tinti has joined #ruby
xen0fon has joined #ruby
Xentil has joined #ruby
tinti is now known as Guest7360
brent__ has quit [Ping timeout: 255 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Derperperd has quit [Ping timeout: 240 seconds]
DoubleMalt has joined #ruby
hahuang61 has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
xen0fon has quit [Ping timeout: 255 seconds]
gigetoo has joined #ruby
tdy has joined #ruby
TheWhip has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
xen0fon has joined #ruby
z4j5 has joined #ruby
teclator_ has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teclator has joined #ruby
hutch34_ has joined #ruby
Fernando-Basso has joined #ruby
amarsharma has joined #ruby
Technodrome has joined #ruby
Technodrome has quit [Client Quit]
dmaj has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch34_ has quit [Ping timeout: 255 seconds]
JoshS has joined #ruby
Kug3lis has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
aef has quit [Ping timeout: 240 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
UserJosh has quit [Ping timeout: 248 seconds]
Shashikant86 has joined #ruby
jaequery has joined #ruby
charliesome has joined #ruby
xall has quit [Ping timeout: 256 seconds]
charliesome has quit [Client Quit]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
z4j5 has quit [Ping timeout: 264 seconds]
dmaj has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
CloCkWeRX has quit [Quit: Leaving.]
patarr has joined #ruby
wezaui has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 248 seconds]
koneko has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Mortomes|Work has joined #ruby
gigetoo has joined #ruby
xen0fon has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 245 seconds]
_fg has joined #ruby
Guest61094 is now known as ged
ged is now known as Guest13571
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
z4j5 has joined #ruby
duckpupp1 has joined #ruby
T-Co_ has joined #ruby
gigetoo has quit [Ping timeout: 245 seconds]
duckpupp1 has quit [Ping timeout: 264 seconds]
gigetoo has joined #ruby
lxsameer has joined #ruby
Technodrome has joined #ruby
rakesh_verma has joined #ruby
<T-Co_> Hello! I have 0 experience with ruby and gems. I'm trying to install a logstash plugin and the plugin manager apparently uses gems in the background. For some reason I get An error occurred while installing rest-client (2.0.0), and Bundler cannot continue. Make sure that `gem install rest-client -v '2.0.0'` succeeds before bundling.
StoneCypher has joined #ruby
<T-Co_> Even though I installed the rest client I still get the same error message...
<rakesh_verma> has_many :duplicate_agents_email, class_name: "TravelAgent", primary_key: :email, foreign_key: :email
<rakesh_verma> has_many :duplicate_agents_phone, class_name: "TravelAgent", primary_key: :contact_number, foreign_key: :contact_number
<rakesh_verma> Can I merge these two into one?
hightower3 has joined #ruby
T-Co_ is now known as T-Co
StoneCypher has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
teclator has quit [Ping timeout: 255 seconds]
teclator has joined #ruby
immune has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
psychicist__ has joined #ruby
Beams has quit [Quit: .]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
saneax-_-|AFK is now known as saneax
Derperperd has joined #ruby
govg has quit [Ping timeout: 264 seconds]
z4j5 has quit [Ping timeout: 255 seconds]
a-109-107 has left #ruby ["WeeChat 1.0.1"]
duckpupp1 has joined #ruby
hightower2 has joined #ruby
Derperperd has quit [Ping timeout: 245 seconds]
hightower3 has quit [Ping timeout: 240 seconds]
georgie has joined #ruby
enyo has quit [Ping timeout: 260 seconds]
z4j5 has joined #ruby
JoshS has quit [Ping timeout: 240 seconds]
hightower3 has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
hightower2 has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
bob_f has quit [Changing host]
bob_f has joined #ruby
henriknj has joined #ruby
Ropeney has joined #ruby
xen0fon has joined #ruby
xen0fon has quit [Remote host closed the connection]
Ropeney has quit [Client Quit]
mim1k|work has joined #ruby
xen0fon has joined #ruby
cdg has quit [Remote host closed the connection]
pandaant has quit [Quit: Lost terminal]
neuraload has joined #ruby
Beams has joined #ruby
milardovich has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
jameser_ has joined #ruby
jameser has quit [Read error: Connection reset by peer]
elena_ has quit [Ping timeout: 264 seconds]
flying has quit [Read error: Connection reset by peer]
flying has joined #ruby
valeth has joined #ruby
koldbrutality has quit [Ping timeout: 240 seconds]
nadir has joined #ruby
henriknj has quit [Quit: Lost terminal]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
rakesh_verma has quit [Ping timeout: 260 seconds]
dgarstang has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
milardovich has quit [Ping timeout: 276 seconds]
sebastiansier has joined #ruby
T-Co has left #ruby [#ruby]
volix_ is now known as volix
teclator has quit [Ping timeout: 255 seconds]
volix has quit [Changing host]
volix has joined #ruby
teclator has joined #ruby
dgarstang has quit [Ping timeout: 240 seconds]
koneko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gheegh has joined #ruby
jrafanie has joined #ruby
enterprisey has joined #ruby
Burgestrand has quit [Quit: Closing time!]
milardovich has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
LoneHermit has joined #ruby
Kug3lis has joined #ruby
Kug3lis has quit [Client Quit]
gigetoo has joined #ruby
chussenot has joined #ruby
Guest13571 is now known as ged
ged is now known as Guest89371
jenrzzz has quit [Ping timeout: 240 seconds]
z4j5 has quit [Ping timeout: 264 seconds]
LoneHermit has quit [Ping timeout: 255 seconds]
Kug3lis has joined #ruby
j0bk_ is now known as j0bk
j0bk has quit [Changing host]
j0bk has joined #ruby
Derperperd has joined #ruby
jameser_ has quit [Read error: Connection reset by peer]
jameser has joined #ruby
enterprisey has quit [Quit: Leaving]
Derperperd has quit [Ping timeout: 258 seconds]
jameser has quit [Client Quit]
bmurt has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
gigetoo has joined #ruby
ogabito has joined #ruby
jschoolcraft has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroi_ has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
DoubleMalt has quit [Ping timeout: 248 seconds]
synthroid has quit [Ping timeout: 276 seconds]
DoubleMalt has joined #ruby
jameser has joined #ruby
elena_ has joined #ruby
hahuang61 has joined #ruby
tk__ has joined #ruby
jschoolcraft has quit [Quit: peace]
gigetoo has quit [Ping timeout: 264 seconds]
csk has joined #ruby
gigetoo has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
hutch34_ has joined #ruby
c355e3b has joined #ruby
millerti has joined #ruby
rippa has joined #ruby
anisha has quit [Quit: Leaving]
nettoweb1 has joined #ruby
milardovich has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Guest40_ has joined #ruby
koneko has joined #ruby
hutch34_ has quit [Ping timeout: 258 seconds]
cgfbee has quit [Quit: cgfbee]
nettoweb has quit [Ping timeout: 240 seconds]
TheWhip has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 240 seconds]
sdothum has joined #ruby
hoov has joined #ruby
chouhoulis has joined #ruby
raul782 has joined #ruby
mim1k|wo1k has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
nodesman has joined #ruby
tyang has joined #ruby
mim1k|work has quit [Ping timeout: 240 seconds]
nodesman has quit [Client Quit]
nodesman has joined #ruby
raul782 has quit [Remote host closed the connection]
jschoolcraft has joined #ruby
enyo has joined #ruby
Guest40_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has joined #ruby
enyo has quit [Client Quit]
TheWhip has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dgarstang has joined #ruby
elena_ has quit [Quit: WeeChat 1.7]
elena_ has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
davezd_ has quit [Quit: Leaving]
<irondocwatson> T-Co_: did you run the command `gem install rest-client -v '2.0.0'`? If so did it succeed?
dgarstang has quit [Ping timeout: 240 seconds]
Kero_ is now known as Kero
Lord_of_Life has quit [Excess Flood]
Burgestrand has quit [Quit: Closing time!]
nodesman has quit [Ping timeout: 264 seconds]
z4j5 has joined #ruby
malconis has joined #ruby
Derperperd has joined #ruby
<irondocwatson> quit
irondocwatson has quit [Quit: WeeChat 1.6]
Lord_of_Life has joined #ruby
LoneHerm_ has joined #ruby
gigetoo has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
irondocwatson has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
vali_ has joined #ruby
StoneCypher has joined #ruby
malconis_ has joined #ruby
gigetoo has joined #ruby
malconis has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
chussenot has quit [Quit: chussenot]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
StoneCypher has quit [Ping timeout: 256 seconds]
Silthias has joined #ruby
elena_ has quit [Ping timeout: 260 seconds]
nettoweb1 has quit [Ping timeout: 240 seconds]
mrfoto has joined #ruby
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias1 has quit [Ping timeout: 264 seconds]
brent__ has joined #ruby
tdy has quit [Read error: Connection reset by peer]
y2mq37 has quit [Quit: Leaving]
jhack has joined #ruby
__Yiota has joined #ruby
mrfoto has quit [Client Quit]
Guest89371 is now known as ged
mrfoto has joined #ruby
ged is now known as Guest14062
jhack has quit [Client Quit]
DoubleMalt has quit [Quit: Leaving]
brent__ has quit [Ping timeout: 260 seconds]
alxs has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
jhack has joined #ruby
blackmes1 has joined #ruby
raul782 has joined #ruby
gigetoo has joined #ruby
cgfbee has joined #ruby
rikkipitt has joined #ruby
alan_w_ has quit [Quit: WeeChat 1.4]
Beams has quit [Quit: .]
Guest40_ has joined #ruby
fiachetti has joined #ruby
cdg has joined #ruby
last_staff has quit [Quit: last_staff]
bmurt has joined #ruby
BB has joined #ruby
ramortegui has joined #ruby
xen0fon has quit [Quit: xen0fon]
xen0fon has joined #ruby
chussenot has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
gigetoo has quit [Read error: Connection reset by peer]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
gigetoo has joined #ruby
saneax is now known as saneax-_-|AFK
chouhoulis has quit [Remote host closed the connection]
jhack has quit [Ping timeout: 276 seconds]
testuser2 has quit [Quit: leaving]
raul782 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
Kug3lis has joined #ruby
Beams has joined #ruby
renojdl has quit [Quit: renojdl]
renojdl has joined #ruby
Burgestrand has joined #ruby
raul782 has quit [Remote host closed the connection]
Burgestrand has quit [Read error: Connection reset by peer]
brain_shim has quit [Quit: WeeChat 0.3.8]
Burgestrand has joined #ruby
raul782 has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
jhack has joined #ruby
gigetoo has joined #ruby
_geoff_ has joined #ruby
walterheck has joined #ruby
jrafanie has joined #ruby
millerti has joined #ruby
patarr has joined #ruby
vali_ has joined #ruby
_geoff has quit [Ping timeout: 264 seconds]
jhack has quit [Ping timeout: 240 seconds]
chussenot has quit [Quit: chussenot]
saslam_ has joined #ruby
chussenot has joined #ruby
patarr has quit [Ping timeout: 245 seconds]
rikkipitt has quit [Remote host closed the connection]
_fg has quit [Ping timeout: 255 seconds]
rikkipitt has joined #ruby
BB has quit [Remote host closed the connection]
flashbang has joined #ruby
rikkipitt has quit [Remote host closed the connection]
rikkipitt has joined #ruby
binaryplease has joined #ruby
SteenJobs has joined #ruby
auzty has quit [Quit: Leaving]
gigetoo has quit [Ping timeout: 255 seconds]
SerialDev has quit [Ping timeout: 245 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
gigetoo has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rikkipit_ has joined #ruby
rikkipitt has quit [Ping timeout: 252 seconds]
chussenot has quit [Quit: chussenot]
koneko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fiachetti has joined #ruby
mrfoto is now known as mr_foto
rikkipit_ has quit [Client Quit]
mr_foto has quit []
mr_foto has joined #ruby
Derperperd has joined #ruby
ocbtec has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saslam_ has quit [Read error: Connection reset by peer]
chussenot has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
saslam_ has joined #ruby
futilegames has joined #ruby
StoneCypher has joined #ruby
xen0fon has quit [Quit: xen0fon]
milardovich has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
_fg has joined #ruby
gigetoo has joined #ruby
gix has quit [Ping timeout: 252 seconds]
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chussenot has quit [Quit: chussenot]
StoneCypher has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
gix has joined #ruby
Snickers has quit [Ping timeout: 255 seconds]
SteenJobs has quit [Quit: SteenJobs]
dionysus69 has quit [Ping timeout: 258 seconds]
dionysus70 is now known as dionysus69
saslam_ has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 255 seconds]
saslam_ has joined #ruby
hutch34_ has joined #ruby
kegster has quit [Quit: Shiner, TX makes good beer.]
kegster has joined #ruby
gigetoo has joined #ruby
z4j5 has quit [Ping timeout: 248 seconds]
raul782 has quit [Remote host closed the connection]
koneko has joined #ruby
z4j5 has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
Mortomes|Work has quit [Ping timeout: 260 seconds]
saslam_ has joined #ruby
Shashikant86 has joined #ruby
peterquil has joined #ruby
anjen has joined #ruby
dsfdsfdsf has joined #ruby
cassianoleal has joined #ruby
bmurt has joined #ruby
Guest14062 is now known as ged
dsfdsfdsf has quit [Read error: Connection reset by peer]
anjen has quit [Client Quit]
amarsharma has quit [Remote host closed the connection]
ged is now known as Guest11840
cassianoleal_ has joined #ruby
cassianoleal has quit [Client Quit]
cassianoleal_ is now known as cassianoleal
cassianoleal has quit [Client Quit]
cassianoleal has joined #ruby
elena_ has joined #ruby
peterquil has left #ruby [#ruby]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyberarm_ has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
znz_jp has quit [Remote host closed the connection]
Kug3lis has joined #ruby
DLSteve has joined #ruby
gigetoo has joined #ruby
Derperperd has joined #ruby
Shashikant86 has quit [Quit: Textual IRC Client: www.textualapp.com]
Kug3lis has quit [Client Quit]
dionysus69 has quit [Ping timeout: 264 seconds]
znz_jp has joined #ruby
chouhoulis has joined #ruby
Shashikant86 has joined #ruby
tdy has joined #ruby
chouhoulis has quit [Remote host closed the connection]
tk__ has quit [Quit: ばいばい]
TheWhip has quit [Remote host closed the connection]
kht has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Snickers has joined #ruby
z4j5 has quit [Ping timeout: 240 seconds]
Kug3lis has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 245 seconds]
leonthemisfit_ has left #ruby ["Leaving"]
mr_foto has quit []
gigetoo has joined #ruby
jud^ has joined #ruby
jhack has joined #ruby
maddmaxx has joined #ruby
conta has quit [Ping timeout: 255 seconds]
psychicist__ has quit [Ping timeout: 255 seconds]
jud has quit [Ping timeout: 256 seconds]
hahuang61 has joined #ruby
heftig_ is now known as heftig
chouhoulis has joined #ruby
psychicist__ has joined #ruby
jhack has quit [Ping timeout: 240 seconds]
walterheck has quit [Ping timeout: 276 seconds]
futilegames has left #ruby [#ruby]
leonthemisfit_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
_fg has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
timmow has quit [*.net *.split]
LoneHermit has joined #ruby
jhack has joined #ruby
timmow has joined #ruby
gigetoo has quit [Ping timeout: 256 seconds]
dgarstang has joined #ruby
Snickers has quit [Quit: Snickers]
gigetoo has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
saslam_ has joined #ruby
LoneHermit has quit [Ping timeout: 245 seconds]
jhack has quit [Ping timeout: 255 seconds]
dgarstang has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
irondocwatson has quit [Quit: WeeChat 1.6]
_fg has joined #ruby
z4j5 has joined #ruby
flashbang has quit [Remote host closed the connection]
flashbang has joined #ruby
chussenot has quit [Client Quit]
aganov has quit [Remote host closed the connection]
gestrella has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
saslam_ has joined #ruby
gigetoo has quit [Ping timeout: 255 seconds]
saslam_ has quit [Read error: Connection reset by peer]
saslam_ has joined #ruby
valeth1 has joined #ruby
georgie has quit [Ping timeout: 256 seconds]
anjen has joined #ruby
gigetoo has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Derperperd has quit [Ping timeout: 240 seconds]
valeth has quit [Ping timeout: 240 seconds]
Silthias has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
anjen has quit [Client Quit]
mark_66 has quit [Remote host closed the connection]
mwlang has joined #ruby
Xentil has joined #ruby
jhack has joined #ruby
<mwlang> I’m running rspec for the carrierwave gem locally and it’s hard-crashing after a bit. The trouble is, I can’t discern *where* in carrierwave’s specs it’s happening from this traceback: https://gist.github.com/mwlang/82ae2187769eef8b80725fe1ca5ecea9 Every line reported is entirely inside the rspec library with no lines from the project/spec noted. Any ideas how to debug further?
StoneCypher has joined #ruby
<dminuoso> mwlang: The following is happening
<dminuoso> mwlang: Some exception is being thrown by a spec, rspec catches it and tries to present the stack trace. While doing it, rspec crashes due to an invalid ASCII codepoint.
jhack_ has joined #ruby
gigetoo has joined #ruby
<dminuoso> mwlang: One less than elegant way to debug this, is to open up the raw gem (/Users/mwlang/.rvm/gems/ruby-2.3.1/gems/rspec-core-3.4.4/lib/rspec/core/source.rb) and drop in a binding.pry - and inspect source
charliesome has joined #ruby
<dminuoso> To see what exactly it's being fed to get an idea.
<mwlang> yeah, I’m monkey patching that now to force encoding without erroring.
gigetoo has quit [Read error: Connection reset by peer]
cdg_ has joined #ruby
<mwlang> Ah. that makes sense what I’m seeing.
hobodave has joined #ruby
jhack has quit [Ping timeout: 248 seconds]
<dminuoso> mwlang: This is definitely an rspec bug the way I see it.
jhack_ is now known as jhack
<dminuoso> mwlang: You can't force encode, as the codepoint is not valid in US-ASCII.
<dminuoso> mwlang: It's probably a byte between 126-255
cdg has quit [Ping timeout: 255 seconds]
patarr has joined #ruby
<mwlang> dminuoso: I was unclear…I just meant I’d do this: source.encode('UTF-8', 'binary', invalid: :replace, undef: :replace, replace: '')
<mwlang> which at least got me past the error and to see what the offending test case is.
hahuang61 has quit [Ping timeout: 276 seconds]
prestorium has joined #ruby
<dminuoso> mwlang: Ah. I'd be very curious as to what the cause it, if you don't mind sharing your findings when you figure it out.
Silthias has joined #ruby
jrafanie_ has joined #ruby
jhack has quit [Ping timeout: 248 seconds]
<mwlang> not entirely sure we landed where expected there…
<dminuoso> mwlang: Can you actually break in that monkey patched rspec class with a binding.pry, and gist the output of source.inspect ?
brent__ has joined #ruby
milardovich has quit [Remote host closed the connection]
<mwlang> dminuoso: yeah, let me do that.
gigetoo has quit [Ping timeout: 240 seconds]
StoneCypher has quit [Ping timeout: 240 seconds]
jrafanie has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
TheWhip has quit [Remote host closed the connection]
nowhere_man has quit [Read error: Connection reset by peer]
petrichorx_ has joined #ruby
<mwlang> dminuoso: check source.output.rb on the updated gist
kht has quit [Ping timeout: 255 seconds]
<dminuoso> mwlang: That is the raw source.inspect (!) output?
<mwlang> yes…well, it was too long within console, so I dumped it to file with File.open('/Users/mwlang/source.out', 'wb'){|f| f.puts source}
hightower2 has joined #ruby
vali_ has joined #ruby
mim1k|wo1k is now known as mim1k|work
<dminuoso> Some conversion must have taken place because that is valid ASCII
<dminuoso> mwlang: Or.. did you drop the binding.pry into the if clause, so that it only triggers when the exception is thrown?
Guest11840 is now known as ged
<dminuoso> Also Im seeing actual newlines
hightower3 has quit [Ping timeout: 255 seconds]
<dminuoso> mwlang: Please puts source.inspect into it
ged is now known as Guest20881
chouhoulis has quit [Remote host closed the connection]
<mwlang> yeah, I dumped it again..this time, encoding with replacing the invalid with “[INVALID]”: https://gist.github.com/mwlang/82ae2187769eef8b80725fe1ca5ecea9#file-source-output-rb-L509-L514
chouhoulis has joined #ruby
aufi has quit [Quit: Leaving]
<dminuoso> mwlang: Do you have a # encoding: us-ascii at the top of your spec file?
lubekpl has joined #ruby
<mwlang> dminuoso: so, this is spec/orm/activerecord_spec.rb and lines 509, 514, 1230, 1235. and no, there’s no encoding us-ascii on the file.
<dminuoso> mmm
gigetoo has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
lubekpl has quit [Client Quit]
gigetoo has joined #ruby
<mwlang> dminuoso: are you involved with the carrierwave project, or just very curious?
<dminuoso> Yes.
chouhoulis has quit [Remote host closed the connection]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* mwlang dumb “OR” conditional question. :-p
<dminuoso> mwlang: The thing that surprises me, is that Ruby by default assumes UTF-8 encoding since 2.0 I believe.
<dminuoso> And last I checked 2.3.1 was newer than 2.0
<dminuoso> But my math could be wrong
<mwlang> LOL
Kug3lis_off is now known as Kug3lis
<mwlang> let me try saving the file with my editor to see if that changes things.
nowhere_man has joined #ruby
<dminuoso> mwlang: No it wont, it has nothing to do with it
<dminuoso> mwlang: There's an obvious work around (adding a magic comment to set the encoding to utf-8) - but that shouldn't be necessary
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
<mwlang> dminuoso: ah, well right you are. My thought was new UTF-8 byte sequence would be written by the editor.
saslam_ has joined #ruby
<mwlang> hold the phone….let me see what Ruby thinks my default encoding should be.
<dminuoso> mwlang: The editor just writes codepoints. There's no way to tell for an outside program what encoding your file is written in.
govg has joined #ruby
<dminuoso> Which is why you either follow convention, or you somehow add metadata so that programs know (magic comments)
<dminuoso> It's a rather poor reality.
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagrio has quit [Quit: Leaving...]
<dminuoso> mwlang: Though some research indicates that this is common with rspec. Just drop a magic comment at the top, specifying the encoding for your file.
<dminuoso> And the spec is fixed.
<mwlang> default external encoding is US-ASCII
<dminuoso> mwlang: That does not seem right.
<dminuoso> That would explain the issue you are experiencing.
saslam_ has quit [Read error: Connection reset by peer]
<dminuoso> Is that Ruby-wide for you?
jrafanie_ has quit [Ping timeout: 240 seconds]
zipace has joined #ruby
<mwlang> I think it is normally US-ASCII
saslam_ has joined #ruby
<mwlang> I’m checking a few other ruby versions and in other projects and it seems consistent.
<dminuoso> mwlang: No, it should be UTF-8
<dminuoso> It's been set as UTF-8 by default since 2.0
<mwlang> wouldn’t rspec files be treated as “external” since it’s really DSL and not “just Ruby”
<dminuoso> It's Ruby DSL.
<dminuoso> It's just pure Ruby code from Ruby's point of view.
pandaant has joined #ruby
<dminuoso> So yeah, that's the issue you have.
<mwlang> dminuoso: ok, not that, then…
<dminuoso> Well, no it *is* the issue.
<dminuoso> mwlang: The external encoding is set to US-ASCII wrongfully somehow, which is why the file is being interpreted as an US-ASCII file.
gigetoo has quit [Ping timeout: 240 seconds]
<mwlang> dminuoso: cyberspace crossing. I agree with you on the encoding issue and agreeing with you that it’s not treating rspec files as “external”
Rodya_ has joined #ruby
<mwlang> the question I’m trying to answer now is why my system is US-ASCII by default….(going to check on a couple of servers...)
gigetoo has joined #ruby
dionysus69 has joined #ruby
<dminuoso> mwlang: Mmm ohh.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dminuoso> mwlang: I mixed up two things. The default setting for *source* files is UTF-8, but external_encoding depends on LANG
gestrella has quit [Remote host closed the connection]
<dminuoso> I guess if you set your locale correctly, rspec will behave
charliesome has joined #ruby
<mwlang> well, that’s getting somewhere… ENV["LANG"]=> "en_US.US-ASCII"
dgarstang has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
<mwlang> on my servers, it’s invariably: ENV["LANG"] => "en_US.UTF-8"
saslam_ has joined #ruby
<dminuoso> mwlang: Guess we found the issue finally. :)
username_ has joined #ruby
<mwlang> to my knowledge, I’ve never set the LANG env explicitly, like ever.
nodesman has joined #ruby
nodesman has quit [Client Quit]
<dminuoso> mwlang: On OSX LANG is indirectly set through System Preferences > Language and Text
<mwlang> but then again, I’ve been on this same mac essentially since 2007, (always upgrading the OS)….
glspi has joined #ruby
<dminuoso> You can of course also just override it in your shell
<dminuoso> Or maybe your terminal?
<dminuoso> Im really not sure, it's a huge big mess on OSX.
pandaant has quit [Remote host closed the connection]
<dminuoso> mwlang: But it's quite amazing how some error in the depts from rspec can be caused by a simple system preference.
<mwlang> dminuoso: I’ll have to dig for this one. more than likely, LANG got set way back in the day when 1.9 was coming around.
dgarstang has quit [Ping timeout: 258 seconds]
<mwlang> indeed. and I did a lot of work in the early days of 1.9 to migrate encoding sensitive gems from 1.8 to 1.9 and 2.x, so it’s probably my own two feet I’m stumbling over at this point.
Takumo has quit [Remote host closed the connection]
vali_ has joined #ruby
<dminuoso> Heh I've been there.
dgarstang has joined #ruby
StoneCypher has joined #ruby
Guest7360 has quit [Ping timeout: 248 seconds]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
senayar has quit []
Bounga has joined #ruby
dgarstang has quit [Ping timeout: 245 seconds]
<mwlang> dminuoso: geez…terminal sets the LANG to UTF-8 while term2 sets it to US-ASCII
<dminuoso> mwlang: I just have the option "set locales automatically"
gajus has joined #ruby
<dminuoso> Whatever that may do..
<dminuoso> But it's magic.
hightower2 has quit [Ping timeout: 258 seconds]
hightower2 has joined #ruby
<mwlang> that’s checked for me as well.
<mwlang> Character Encoding under Emulation is Western (ASCII), though...
<dminuoso> mwlang: Whats your defaults read -g AppleLocale ?
<dminuoso> mwlang: Character Encoding is just for presentation.
<dminuoso> and that means: $ defaults read -g AppleLocale
<dminuoso> btw
<mwlang> dminuoso: en_US
<dminuoso> mwlang: Or maybe that "set locale variables" is the actual problem.. idk
<mwlang> are you sure about “just for presentation”? I just changed that setting to UTF-8 and restarted and now locale is reporting UTF-8 across the board.
<dminuoso> Mmm.
<dminuoso> Guess not.
<dminuoso> iTerm crashing rspec.
<dminuoso> Ill remember this under that title.
<dminuoso> :-)
milardovich has joined #ruby
<mwlang> how I made it all these years with my OSX encoding defaults being different from my servers is completely beyond me.
amclain has joined #ruby
<mwlang> but rspec now works just fine on the activerecord specs now.
<dminuoso> Though honesty locales is a pure mess on Linux too.
gigetoo has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Rodya_ has quit [Remote host closed the connection]
gigetoo has joined #ruby
<mwlang> dminuoso: probably the only reason I’ve avoided issues on Linux is that I usually start with fresh installs with each new hardware upgrade.
<dminuoso> mwlang: Even on fresh Ubuntu installations things dont work right.
<dminuoso> It's fine as long as your Ubuntu is configured with all things US/English in the installer.
<mwlang> whereas my development machine has gone through every OSX upgrade starting with Tiger and just gets super-duped and cloned to each new macbook I buy.
<dminuoso> Its not if you dont.
<mwlang> yeah, I’m US/English all the way in Linux.
milardovich has quit [Ping timeout: 258 seconds]
aupadhye has quit [Ping timeout: 258 seconds]
flying has quit []
<baweaver> 🇺🇸
maddmaxx_ has joined #ruby
Eiam has joined #ruby
matp_ has quit [Ping timeout: 255 seconds]
matp has joined #ruby
jsrn_ has quit [Quit: Leaving]
maddmaxx has quit [Read error: No route to host]
raul782 has joined #ruby
maddmaxx__ has joined #ruby
maddmaxx__ is now known as maddmaxx
Rodya_ has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
maddmaxx_ has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
raul782 has quit [Ping timeout: 248 seconds]
minimalism has joined #ruby
duderonomy has quit [Ping timeout: 248 seconds]
blackmes1 has joined #ruby
z4j5 has quit [Ping timeout: 240 seconds]
z4j5 has joined #ruby
flashbang has quit [Ping timeout: 264 seconds]
antoniobeyah has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has joined #ruby
jaruga____ has quit [Quit: jaruga____]
TheWhip has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
Beams has quit [Quit: .]
alexar has joined #ruby
saslam_ has joined #ruby
<mwlang> dminuoso: had to tweet that one out. I still marvel I haven’t had *more* issues with encoding than I did.
chouhoulis has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
jaruga____ has joined #ruby
saslam_ has joined #ruby
jaruga____ has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 240 seconds]
bum has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vrlogrs has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
<vrlogrs> hi guys
nicoulaj has joined #ruby
gigetoo has joined #ruby
<havenwood> g'mornin'
neuraload has joined #ruby
<vrlogrs> im trying to write a regex that catches all md5's in a string -- but the md5 cannot be surrounded by any character other than space/blank/empty
<vrlogrs> i hope that made sense ^
Snickers has joined #ruby
madsa has quit [Read error: Connection reset by peer]
madsa_ has joined #ruby
harai has joined #ruby
milardovich has joined #ruby
<vrlogrs> you'll see there are 5 matches
<vrlogrs> but i don't want the md5 from the url to be matched
<vrlogrs> the "auth=bc00595440e801f8a5d2a2ad13b9791b" should not be matched
<dminuoso> vrlogrs: use \x instead of [0-9a-f...etc]
<dminuoso> Much much shorter. :-)
<dminuoso> (or [[:xdigit:]] if you prefer POSIX expressions)
<vrlogrs> doesnt work dminuoso :S
<vrlogrs> \b[\x]{32}\b
<vrlogrs> wont catch hex, which is what im looking for
jackjackdripper has joined #ruby
duderonomy has joined #ruby
Derperperd has joined #ruby
<vrlogrs> or am i doing something wrong? :S
saslam_ has quit [Read error: Connection reset by peer]
madsa_ has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
saslam_ has joined #ruby
markholmes has joined #ruby
Guest20881 is now known as ged
gusrub has joined #ruby
<dminuoso> vrlogrs: You can't use \b for your case, so just be explicit about what must or must not be in front of it.
bum has quit [Quit: Bye]
nowz has quit [Quit: Leaving]
<dminuoso> As apparently = is considered a word boundary.
ged is now known as Guest12618
<havenwood> \h
JoshS has joined #ruby
<dminuoso> havenwood: My mind said \h, my fingers typed \x :(
<StoneCypher> dminuoso: have ... you ever found a word with an equals sign in its spelling?
benlieb has joined #ruby
<havenwood> dminuoso: i figured! my mind is similarly mischievous
Silthias has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 260 seconds]
hahuang61 has joined #ruby
<dminuoso> StoneCypher: I cannot possibly argue as to what the logic behind it was. Either it must be how perl works, or nobu had too much sake.
<dminuoso> Or a combination of both.
gigetoo has joined #ruby
<dminuoso> StoneCypher: Perhaps it's an inverted logic, where most special characters don't make much sense inside a word..
<mwlang> I think regex101 needs to update their explanation…”\h{64} matches any horizontal whitespace character (equal to [[:blank:]])”
<dminuoso> StoneCypher: I mean, how many words have you read that have an equal sign "=" in the middle of them?
<dminuoso> So from that perspective, it makes a lot of sense already
haylon has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
madsa has joined #ruby
harai has quit [Ping timeout: 245 seconds]
koldbrutality has joined #ruby
frozengeek__ has quit [Quit: frozengeek__]
madsa has quit [Read error: Connection reset by peer]
madsa has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PaulCapestany has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
milardovich has quit [Ping timeout: 240 seconds]
binaryplease has quit [Ping timeout: 255 seconds]
hightower3 has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
flashbang has joined #ruby
skweek has quit [Ping timeout: 248 seconds]
SteenJobs_ has joined #ruby
madsa has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
hightower2 has quit [Ping timeout: 258 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[Butch] has joined #ruby
neuraload has joined #ruby
neuraload has quit [Client Quit]
<vrlogrs> any luck guys?
<vrlogrs> In the previously described version it was md5(“admin”). This time it is:
<vrlogrs> \b[\h]{32}\b doesn't catch anything either :S
psychicist__ has quit [Ping timeout: 276 seconds]
SeepingN has joined #ruby
<dminuoso> vrlogrs: You don't need the [] either for a single character class.
PaulCapestany has quit [Quit: .]
neuraload has joined #ruby
<vrlogrs> but \b\h{32}\b isnt working either :S
TheWhip has quit [Remote host closed the connection]
<dminuoso> havenwood: I wonder, is the Ruby doc actually wrong?
<dminuoso> >> !!(" " =~ /\h/)
<ruby[bot]> dminuoso: # => false (https://eval.in/720931)
<dminuoso> >> !!("g" =~ /\h/)
harai has joined #ruby
<ruby[bot]> dminuoso: # => false (https://eval.in/720932)
<dminuoso> >> !!("d" =~ /\h/)
<ruby[bot]> dminuoso: # => true (https://eval.in/720933)
gigetoo has quit [Ping timeout: 240 seconds]
madsa has joined #ruby
chouhoul_ has joined #ruby
madsa has quit [Read error: Connection reset by peer]
madsa_ has joined #ruby
matrix9180 has joined #ruby
gigetoo has joined #ruby
<havenwood> >> 'vrlogrs d41d8cd98f00b204e9800998ecf8427e e36f2a092e47f66bb592f5f8c0387f09nowhitespace'.scan /\b\h{32}\b/
<ruby[bot]> havenwood: # => ["d41d8cd98f00b204e9800998ecf8427e"] (https://eval.in/720935)
<mwlang> vrlogrs: I think the site you’re using is buggy. The \h for hex works on rubular: http://rubular.com/r/j7ZlHvIaMd
<havenwood> vrlogrs: What's not working? Have a gist that shows example values, the code that results in unexpected return values, and the desired return values?
<dminuoso> havenwood: The thing that consues me is that the website considers \h to be a horizontal whitespace character..
<dminuoso> Which makes sense..
<dminuoso> Because that's not a Ruby regex site.
<vrlogrs> OH
neuraload has quit [Quit: This computer has gone to sleep]
<vrlogrs> ok, ill try this
<vrlogrs> thanks
nankyokusei has joined #ruby
jrafanie has joined #ruby
<dminuoso> vrlogrs: http://rubular.com/
<dminuoso> Use this if you want to test ruby regex.
<dminuoso> Interesting, that's the origin?
harai has quit [Ping timeout: 276 seconds]
<havenwood> dminuoso: Yup!
PaulCapestany has joined #ruby
<havenwood> A cousin of Oniguruma.
ifctj has joined #ruby
<vrlogrs> but dminuoso : http://rubular.com/r/j7ZlHvIaMd
<vrlogrs> it now catches empty space
Rodya_ has quit [Remote host closed the connection]
<vrlogrs> and it catches half of a sha2
<havenwood> zenspider updated his quickref to reflect the modern Onigmo: http://www.zenspider.com/ruby/quickref.html#regexen
<havenwood> vrlogrs: you aren't anchoring the beginning to prevent that
saslam_ has quit [Read error: Connection reset by peer]
saslam_ has joined #ruby
milardovich has joined #ruby
saslam_ has quit [Read error: Connection reset by peer]
<vrlogrs> not sure i know which anchor to use havenwood :S
<havenwood> vrlogrs: http://rubular.com/r/lSkMzMV39L
<havenwood> vrlogrs: ^ that's another option, if you don't want it preceeded by hex
<vrlogrs> ^ that doesn't work havewood ..
<vrlogrs> because it's catching half of a sha2 and empty characters
<havenwood> vrlogrs: why aren't you anchoring the beginning to a word boundary?
gigetoo has quit [Ping timeout: 255 seconds]
<vrlogrs> \b you mean?
<havenwood> vrlogrs: oh, i just messed up my link
<havenwood> vrlogrs: Just add `\h` to your [^]
tolerablyjake has joined #ruby
gigetoo has joined #ruby
<vrlogrs> OH, defintely better
<vrlogrs> is there a way to not include the empty character in the front?
<vrlogrs> there's also a case where a " was included
matrix9180 is now known as matrix9180[away]
ifctj has quit [Ping timeout: 276 seconds]
<havenwood> vrlogrs: you didn't forbid it being preceded by a quote
<vrlogrs> oh, so i have to add an exception for everything like that
<vrlogrs> ok, makes sense havenwood
<vrlogrs> thanks!
raul782 has joined #ruby
ur5us has joined #ruby
hahuang61 has quit [Read error: Connection reset by peer]
koneko has quit [Quit: Textual IRC Client: www.textualapp.com]
madsa_ has quit [Read error: Connection reset by peer]
madsa has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
z4j5 has quit [Ping timeout: 248 seconds]
hahuang61 has joined #ruby
elena_ has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
dgarstang has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
blackmes1 has quit [Ping timeout: 256 seconds]
ur5us has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
nanoz has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
whathappens has joined #ruby
petrichorx_ has quit [Quit: Connection closed for inactivity]
flashbang has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 240 seconds]
vrlogrs has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
polishdub has joined #ruby
bmurt has joined #ruby
hightower3 has quit [Ping timeout: 248 seconds]
hightower3 has joined #ruby
ramfjord has joined #ruby
z4j5 has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
gigetoo has joined #ruby
splud has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renchan has quit [Quit: Leaving...]
vrlogrs has joined #ruby
JoshS has quit [Ping timeout: 240 seconds]
vrlogrs has quit [Client Quit]
gix has quit [Ping timeout: 255 seconds]
markholmes has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Remote host closed the connection]
fedruantine has quit [Ping timeout: 240 seconds]
gix has joined #ruby
blackwind_123 has joined #ruby
Guest12618 is now known as ged
hahuang65 has joined #ruby
ged is now known as Guest37686
neuraload has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
hahuang61 has quit [Ping timeout: 276 seconds]
z4j5 has quit [Ping timeout: 258 seconds]
Asher has quit [Quit: Leaving.]
plantfood has joined #ruby
merlin2049er has joined #ruby
<merlin2049er> hi
z4j5 has joined #ruby
gigetoo has joined #ruby
<merlin2049er> i have a issue with a for each loop
AndBobsYourUncle has joined #ruby
<baweaver> why are you using a for loop in ruby?
Asher has joined #ruby
<merlin2049er> i'm trying to loop thru some photos, but the images aren't showing up
<toretore> ?code merlin2049er
<ruby[bot]> merlin2049er: We can't help you without your code, please post it to https://gist.github.com
<merlin2049er> just the text is showing up
<merlin2049er> ok just a sec
dgarstang has quit [Quit: WeeChat 1.5]
<toretore> ?gist-usage
<toretore> make sure you understand how to use gist first
<merlin2049er> thanks
<baweaver> image tags
Rodya_ has joined #ruby
<merlin2049er> yes, image tags, but i'm using cloudinary
<merlin2049er> and in my table i have a uri like : cl_image_tag("fuck-it-im-going-home_oqh610.jpg")
hahuang61 has joined #ruby
<baweaver> you can be using photobucket, but you still need image html tags
<merlin2049er> if i were to <%= => around my uri , it should work
hahuang65 has quit [Ping timeout: 276 seconds]
r3bbit has joined #ruby
<toretore> merlin2049er: why should it work?
<merlin2049er> well it does work
<merlin2049er> not in the loop
Jameson_ has joined #ruby
fedruantine has joined #ruby
<toretore> merlin2049er: be mroe specific
<merlin2049er> ok, well the loop just outputs the text (what's in my table)
enterprisey has joined #ruby
<merlin2049er> it's not producing the image
<toretore> what does "produce an image" mean?
<toretore> you need to provide a lot more information
<baweaver> like output
<baweaver> and input
<merlin2049er> ok, i have a table with photos from cloudinary
<toretore> define "table of photos"
<toretore> what is "table", what is the content?
<merlin2049er> my table has uri, enabled, and product_id
<baweaver> and the text it displays is only the URI
<baweaver> nothing else?
<merlin2049er> the content of the uri , is the locator of the image on cloudinary
<merlin2049er> right so it's displaying the text of the uri, but not the image
<baweaver> because you're literally telling it to print the text
<merlin2049er> so i'm missing some tags around it I think
<toretore> merlin2049er: what is "cl_image_tag" ?
<merlin2049er> ok, i guess thats what i'm doing
<baweaver> section 4
<baweaver> reread it
<merlin2049er> that's from cloudinary
<toretore> why do you have it in your database?
gigetoo has quit [Read error: Connection reset by peer]
<toretore> why does your table contain 'cl_image_tag("image.jpg")' and not 'image.jpg'?
glspi has quit [Ping timeout: 255 seconds]
<merlin2049er> ok, sorry my mistake
gigetoo has joined #ruby
<merlin2049er> i thought putting the whole thing in the table would help
hoov has quit [Quit: Leaving]
<toretore> put "image.jpg" in your db. then do <%= cl_image_tag(@image.uri) %>
<merlin2049er> thank you
<r3bbit> Hello every one
minimalism has quit [Quit: minimalism]
patarr_ has joined #ruby
slappy16 has joined #ruby
gix has quit [Ping timeout: 240 seconds]
<merlin2049er> thanks it worked
patarr has quit [Ping timeout: 258 seconds]
<merlin2049er> now i've got to figure out how to put these images in a carosel from the db
duderonomy has joined #ruby
markholmes has joined #ruby
gix has joined #ruby
M107262[m] has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
LoneHermit has joined #ruby
Derperperd has quit [Read error: Connection reset by peer]
Derperpe1 has joined #ruby
vali_ has joined #ruby
LoneHermit has quit [Ping timeout: 255 seconds]
hightower3 has quit [Ping timeout: 240 seconds]
bocaneri has quit [Remote host closed the connection]
georgie has joined #ruby
minimalism has joined #ruby
sepp2k has quit [Quit: Leaving.]
cyberarm_ has left #ruby ["Kidnapped by swan."]
gigetoo has quit [Read error: Connection reset by peer]
Rodya_ has quit [Remote host closed the connection]
gigetoo has joined #ruby
Rodya_ has joined #ruby
patarr_ has quit [Ping timeout: 264 seconds]
<Jameson_> @merlin2049er you could use bootstrap and they have a carousel element
patarr has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
mhib has joined #ruby
mhib has quit [Client Quit]
hightower3 has joined #ruby
milardovich has quit [Remote host closed the connection]
gheegh has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
aef has joined #ruby
rfoust has joined #ruby
bmurt has joined #ruby
matrix9180[away] has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 248 seconds]
patarr has quit [Ping timeout: 260 seconds]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mburns has joined #ruby
psychicist__ has joined #ruby
jhack has joined #ruby
Guest37686 is now known as ged
ged is now known as Guest89689
DevilTiger has joined #ruby
<DevilTiger> anyone care to help me troubleshoot issues? I'm about to slam head against desk
blackmesa has quit [Ping timeout: 264 seconds]
mburns has left #ruby [#ruby]
<toretore> ?ask DevilTiger
<ruby[bot]> DevilTiger: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
neuraload has quit [Read error: Connection reset by peer]
<DevilTiger> i'm getting errors about gems not being found. they are indeed not found where it is looking for them. how to get them install there, i have no idea.
<DevilTiger> http://pastebin.com/YTAJxF3E windows 10 x64
<ruby[bot]> DevilTiger: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/b95f11970ee23c9bf3a10b48274b87b0
<ruby[bot]> DevilTiger: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
SteenJobs_ has quit [Quit: SteenJobs_]
jaequery has joined #ruby
<DevilTiger> nevermind, the gems are there; so i have no idea why its not working
jhack has quit [Ping timeout: 255 seconds]
jhack has joined #ruby
TheWhip has joined #ruby
jhack has quit [Client Quit]
sepp2k has joined #ruby
sebastia_ has joined #ruby
sebastiansier has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 256 seconds]
Cohedrin_ has joined #ruby
gigetoo has joined #ruby
chouhoulis has joined #ruby
_fg has quit [Quit: Leaving]
chouhoul_ has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
dkings has joined #ruby
Derperpe1 has quit [Quit: WeeChat 1.5]
Derperperd has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
zeroDi has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
fedruantine has quit [Ping timeout: 255 seconds]
andikr has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
hahuang61 has quit [Ping timeout: 252 seconds]
frozengeek__ has joined #ruby
username_ has quit [Ping timeout: 258 seconds]
<merlin2049er> hi
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
teclator_ has joined #ruby
teclator has quit [Ping timeout: 276 seconds]
<merlin2049er> is this jquery? $(".owl-carousel").owlCarousel();
<merlin2049er> i'm trying to get the owl carousel working
vali_ has joined #ruby
<DevilTiger> yes
fedruantine has joined #ruby
ifctj has joined #ruby
Bounga has joined #ruby
gloscombe has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 256 seconds]
patarr has joined #ruby
weaksauce has joined #ruby
gigetoo has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
prestorium has quit [Quit: Leaving]
fedruantine has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
kht has joined #ruby
nankyokusei has joined #ruby
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
JoshS has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
jshjsh has quit [Ping timeout: 248 seconds]
gigetoo has joined #ruby
<merlin2049er> hi
fedruantine has joined #ruby
alexar has quit [Remote host closed the connection]
<DevilTiger> hi
bigkevmcd has quit [Quit: Outta here...]
Jameson_ has quit [Quit: Ex-Chat]
jphase has quit []
kht has quit [Changing host]
kht has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Porabit102 has joined #ruby
Porabit102 has left #ruby [#ruby]
frozengeek__ has quit [Remote host closed the connection]
alexar has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 248 seconds]
markholmes has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
alexar has quit [Remote host closed the connection]
alexar has joined #ruby
Rodya_ has quit [Remote host closed the connection]
kht has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
mburns has joined #ruby
danieldocki has joined #ruby
alexar has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 255 seconds]
<merlin2049er> hey
<havenwood> hi
chussenot has joined #ruby
whathappens has quit [Remote host closed the connection]
tolerablyjake has joined #ruby
whathappens has joined #ruby
gigetoo has quit [Ping timeout: 252 seconds]
Gasher has quit [Ping timeout: 260 seconds]
gigetoo has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
markholmes has joined #ruby
milardovich has joined #ruby
kht has joined #ruby
alexar has joined #ruby
whathappens has quit [Ping timeout: 268 seconds]
LoneHerm_ has joined #ruby
nanoz has quit [Ping timeout: 240 seconds]
Guest89689 is now known as ged
hahuang61 has joined #ruby
mgorbach has quit [Remote host closed the connection]
username_ has joined #ruby
ged is now known as Guest39135
mgorbach has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
alexar has quit [Ping timeout: 258 seconds]
hobodave_ has joined #ruby
<zenspider> DevilTiger: dl/import??? what version of ruby are you on?
hobodave has quit [Ping timeout: 255 seconds]
<DevilTiger> zenspider: ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32]
LoneHerm_ has quit [Ping timeout: 256 seconds]
<DevilTiger> i think i got past that now
<zenspider> DevilTiger: you're using net-ssh 2.9.1 which is from May 2014... dl/import doesn't exist anymore
<DevilTiger> makes sense
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gigetoo has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
gigetoo has joined #ruby
cdg has joined #ruby
milardovich has joined #ruby
JoshS has quit [Quit: Leaving]
lxsameer has quit [Quit: WeeChat 1.6]
dc4 has quit [Ping timeout: 252 seconds]
milardovich has quit [Ping timeout: 248 seconds]
_sfiguser has joined #ruby
csk has quit [Quit: ZZZzzz…]
plantfood has quit [Quit: Leaving]
Lord_of_Life has quit [Excess Flood]
meinside has quit [Quit: Connection closed for inactivity]
alexar has joined #ruby
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
Lord_of_Life has joined #ruby
Bounga has joined #ruby
chussenot has quit [Quit: chussenot]
SteenJobs has joined #ruby
alexar has quit [Ping timeout: 240 seconds]
kht has quit [Ping timeout: 255 seconds]
SeepingN has joined #ruby
Bounga has quit [Ping timeout: 252 seconds]
SeepingN has quit [Client Quit]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
danieldocki has quit [Quit: Leaving...]
SeepingN has joined #ruby
splud has quit [Read error: No route to host]
NeverTired has quit [Quit: Connection closed for inactivity]
splud has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
gigetoo has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
gigetoo has joined #ruby
xen0fon has joined #ruby
skweek has joined #ruby
nowhere_man has quit [Ping timeout: 255 seconds]
tercenya has quit [Remote host closed the connection]
milardovich has joined #ruby
tercenya has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
gigetoo has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
SuperLag has quit [Quit: trying something new...]
SuperLag has joined #ruby
mikecmpbll has joined #ruby
alxs has quit [Ping timeout: 245 seconds]
psychicist__ has quit [Ping timeout: 260 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
kht has joined #ruby
Derperperd has joined #ruby
tercenya has quit [Remote host closed the connection]
alxs has joined #ruby
tercenya has joined #ruby
BTRE has quit [Quit: Leaving]
synthroi_ has quit []
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
alexar has joined #ruby
alexar has quit [Remote host closed the connection]
alexar has joined #ruby
tomphp has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
JeanCarloMachado has joined #ruby
<merlin2049er> hey
<havenwood> merlin2049er: hi
<merlin2049er> i'm trying to get owl carousel to work
<merlin2049er> what is this? $(".owl-carousel").owlCarousel();
<merlin2049er> is that jquery or what
<zenspider> no clue what you're talking about, but it isn't ruby...
<havenwood> merlin2049er: A JQuery selector followed by a JavaScript function. No Ruby there.
dionysus69 has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
Fernando-Basso has quit [Ping timeout: 256 seconds]
<merlin2049er> ok, then how do i get that working in ruby
<DevilTiger> merlin2049er: explain more
<merlin2049er> i went to the owlcarousel github page
<zenspider> talk about poorly asked questions...
<merlin2049er> sorry
<SeepingN> (we are)
<merlin2049er> lol
tvw has quit [Remote host closed the connection]
<zenspider> ?answers merlin2049er
<ruby[bot]> merlin2049er: How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
<merlin2049er> i've got it setup , i think. but the last step is to call the jquery plugin
<merlin2049er> 3.Call the plugin Now call the Owl initializer function and your carousel is ready. $(".owl-carousel").owlCarousel();
csk has joined #ruby
<havenwood> merlin2049er: How is Ruby involved here? There are channels for ##javascript and #jquery as well.
<merlin2049er> well, it is a ruby gem i added
<havenwood> merlin2049er: What is?
<zenspider> it. duh
<merlin2049er> owlcarousel is a gem
<havenwood> merlin2049er: Link to the Github page?
<zenspider> on owlcarousel github page. duh... havenwood why haven't you done your research?
<havenwood> zenspider: haha
<DevilTiger> wrong. owl carousel is a jquery plugin
<havenwood> Right!
<DevilTiger> i'm assuming you're using a gem that bundles it...like this https://github.com/acrogenesis/owlcarousel-rails
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
<DevilTiger> the line you're asking about is a jquery call that can be included in html with script tags.
<zenspider> which links to a parked domain...
Fernando-Basso has joined #ruby
<merlin2049er> yes
<zenspider> but already DevilTiger has provided more info than the OP... thank you DevilTiger
<havenwood> merlin2049er: What repo are you talking about?!
<merlin2049er> owlcarousel-rails
<havenwood> merlin2049er: Are you using Rails?
<merlin2049er> yes
<havenwood> merlin2049er: There's a #RubyOnRails channel as well.
<havenwood> ?rails merlin2049er
<ruby[bot]> merlin2049er: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<DevilTiger> its updated with the new owl carousel and has better documentation.
<zenspider> why is there no !help-vampire command to mute for an hour?
mholmes has joined #ruby
<merlin2049er> ok i'm on the rails channel too
FastJack has quit [Ping timeout: 240 seconds]
alxs has quit [Ping timeout: 245 seconds]
duckpupp1 has quit [Ping timeout: 245 seconds]
BTRE has joined #ruby
milardovich has quit [Remote host closed the connection]
mholmes has quit [Ping timeout: 255 seconds]
kht has quit [Ping timeout: 255 seconds]
Guest39135 is now known as ged
milardovich has joined #ruby
ged is now known as Guest5554
Bounga has joined #ruby
DevilTiger has quit [Remote host closed the connection]
alxs has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
gigetoo has joined #ruby
nankyokusei has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
sneakerhax has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
benlieb has quit [Client Quit]
patarr has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
Boss16166 has joined #ruby
Guest40_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon has quit [Quit: Leaving]
hahuang61 has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 258 seconds]
[Butch] has quit [Quit: I'm out . . .]
gigetoo has joined #ruby
queequeg1 has joined #ruby
benlieb has joined #ruby
elena_ has joined #ruby
alxs has quit [Ping timeout: 255 seconds]
Boss16166_ has joined #ruby
benlieb has quit [Ping timeout: 245 seconds]
Boss16166_ has quit [Client Quit]
mholmes has joined #ruby
aurelien has quit [Ping timeout: 245 seconds]
ramortegui has quit [Quit: Ex-Chat]
Boss16166 has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 255 seconds]
mholmes has quit [Remote host closed the connection]
xen0fon has quit [Quit: xen0fon]
gigetoo has joined #ruby
xen0fon has joined #ruby
alxs has joined #ruby
xen0fon has quit [Client Quit]
milardovich has joined #ruby
elena_ has quit [Ping timeout: 240 seconds]
Bounga has quit [Ping timeout: 252 seconds]
rfoust has joined #ruby
d^sh has quit [Quit: ZNC 1.6.1 - http://znc.in]
d^sh has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
queequeg1 has quit [Quit: leaving]
__Yiota has quit [Remote host closed the connection]
gigetoo has quit [Read error: Connection reset by peer]
gigetoo has joined #ruby
TheWhip has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
jdawgaz has joined #ruby
maxirater has joined #ruby
merlin2049er has quit [Quit: Page closed]
duckpupp1 has joined #ruby
Kug3lis has joined #ruby
elena_ has joined #ruby
gigetoo has quit [Ping timeout: 255 seconds]
gigetoo has joined #ruby
maxirater has quit [Quit: Leaving]
duckpupp1 has quit [Ping timeout: 276 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave_ has quit [Quit: Computer has gone to sleep.]
ruby[bot] has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
tercenya has joined #ruby
walterheck has joined #ruby
Kug3lis is now known as Kug3lis_off
sepp2k has quit [Read error: Connection reset by peer]
Pisuke has joined #ruby
maxirater has joined #ruby
maxirater has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
MyMind has quit [Ping timeout: 276 seconds]
kht has joined #ruby
milardovich has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
Xentil has quit [Ping timeout: 264 seconds]
lacour has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
alxs has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
<CalimeroTeknik> hello, I would like bundler to accept any version of the dependencies listed, how can I do that?
<CalimeroTeknik> I really want to do it. I oppose the idea of a Gemfile.lock file.
gigetoo has quit [Ping timeout: 252 seconds]
pilne has joined #ruby
sarcas has joined #ruby
<zenspider> CalimeroTeknik: I hate bundler myself and even I think that's a dumb idea
gigetoo has joined #ruby
xen0fon has joined #ruby
<zenspider> I suppose you run `bundler lock` before every invocation but that's really really heavyweight... or you stop using bundler
Guest5554 is now known as ged
chussenot has quit [Quit: chussenot]
<zenspider> (which is what I do 99% of the time)
ged is now known as Guest27988
polishdub has quit [Quit: Leaving]
<CalimeroTeknik> ah, bundler lock solves the version thing automagically?
xen0fon has quit [Client Quit]
<zenspider> "Solves the version thing"?
<zenspider> no... it recalculates a Gemfile.lock
<CalimeroTeknik> er, bundler complaining about a version of a gem not being found
<CalimeroTeknik> I'll try that right away
<zenspider> well... no. you're gonna have to do a bundler install every time. not just recalculate the lockfile
<zenspider> what are you REALLY trying to do?
<CalimeroTeknik> oh, I don't use bundler to install the dependencies, my distro takes care of that
<CalimeroTeknik> I just want the thing to stop complaining when I update gems system-side
<CalimeroTeknik> but the thing uses bundler
<CalimeroTeknik> so I just edit Gemfile.lock manually every time
<zenspider> so, you're trying to use bundler to run but you hand installed stuff via your OS's package managment system?
<CalimeroTeknik> yes
<apeiros> uhm, bundler shouldn't complain when you update system gems
<zenspider> that's going to be very painful for you
<CalimeroTeknik> Gemfile.lock has to exist and cannot state "whatever version", apparently
<apeiros> you're doing it wrong?
<CalimeroTeknik> yes, but I want to. if it's absolutely needed I'll rip bundler off the ruby project
<zenspider> apeiros: I think the gemfile is speccing something they don't actually have and getting conflicts
<CalimeroTeknik> more like it says the gem is not found at that exact version
<zenspider> right
<CalimeroTeknik> (because the package management of my distro upgraded it to a newer one)
<CalimeroTeknik> and that's fine
<zenspider> so why are you installing via distro instead of via bundler?
<havenwood> CalimeroTeknik: Is this an app you're talking about?
<apeiros> zenspider: yeah, but then you bundle install once and it's done
<CalimeroTeknik> yeah, IRC bot
<zenspider> the versions via bundler are the ones that code was tested against
<apeiros> that is - until the gemfile.lock changes
<zenspider> honestly... Every linux's pkg handling of rubygems has been broken beyond belief. there's a reason why rvm and friends are so popular, and it's name is linux
<zenspider> I would avoid what you're trying to do like the plague. Install a non-pkg ruby, (I use rbenv + ruby-install), install bundler, bundle install, be done and move on
<apeiros> ^+1
<apeiros> linux isn't the only baddy there. osx isn't any better. and windows… well…
<zenspider> I wouldn't even use pkg to install rbenv or ruby-install, because they might have patches against it that enforce their dogma
gigetoo has quit [Ping timeout: 252 seconds]
<zenspider> apeiros: I completely disagree. I've been using stock ruby on osx for years and don't have problems with it
<zenspider> I only use rbenv for testing against multiple versions
<apeiros> zenspider: stock ruby is 2.0.0
<zenspider> I'm well aware
<apeiros> I prefer using a current and non-eol ruby
<zenspider> apeiros: that's completely irrelevant to the above
gigetoo has joined #ruby
<apeiros> orthogonal
<zenspider> apple doesn't patch ruby to enforce their dogma. They actually upstream stuff to rubygems to make it work with their setup
<apeiros> yes, if you can live with an old ruby, it may work fine
djbkd has quit [Remote host closed the connection]
<apeiros> iirc you shouldn't install gems, though
<apeiros> at least I faintly remember having run into issues with that
<zenspider> not orthogonal, irrelevant. you made a claim. I refuted. you went off on a tangent that has nothing to do with it
<apeiros> disagree
<apeiros> your claim was package managers are bad wrt ruby
<apeiros> and part of a package manager is installing new versions
<apeiros> there's no such thing with osx
Fernando-Basso has quit [Quit: WeeChat 1.7]
<apeiros> so no, osx isn't that much better. it's better in the "don't enforce own dogma" area
<apeiros> it's not better in managing the package
__Yiota has joined #ruby
mim1k|work has quit [Ping timeout: 240 seconds]
* zenspider sighs
A124 has quit [Quit: '']
gusrub has quit []
<havenwood> Though there are nice modern Ruby packages for brew, pkgsrc, fink and macports on OS X - if you just need one Ruby more modern than macOS system Ruby.
<havenwood> ruby-install ftw :-P
<zenspider> clearly you need to be right about something even if it has nothing to do with what we're talking about... have at it.
<zenspider> does fink still work on osx?
* baweaver grabs popcorn
<CalimeroTeknik> "Every linux's pkg handling of rubygems has been broken beyond belief" → I think you've only ever tried debian or rpm-based distros?
<zenspider> baweaver: no point (except that popcorn is tasty). I'm done
Lord_of_Life has quit [Excess Flood]
mim1k|work has joined #ruby
<CalimeroTeknik> anyway, can I make bundler not even look at the dependencies' versions, or should I start considering ripping it out from the project and just using require "module" # no version check?
<zenspider> CalimeroTeknik: I don't know how many I've tried over the years. lots. Show me a distro that doesn't have patches against rubygems and I'll be impressed.
<apeiros> CalimeroTeknik: you can always just run the project without bundler
<zenspider> CalimeroTeknik: no, you can't (I don't think)... that's the whole point of bundler
<apeiros> it's a bad idea
<zenspider> not a bad idea if all the gems are installed.
<baweaver> skimming through this sounds super hacky
<baweaver> have you considered perl?
Lord_of_Life has joined #ruby
<zenspider> I use ohmygems to set a private gem repo, bundle install, and then avoid bundler like the plague unless forced to by upstream
j416 has joined #ruby
<zenspider> once the gems are installed and GEM_HOME is set to the private repo, just use rake/ruby and things work (and much much faster than with bundle exec)
Cohedrin_ has quit [Read error: Connection reset by peer]
<CalimeroTeknik> oh; how can I start the project without bundler?
<apeiros> how do you run it with bundler?
<CalimeroTeknik> require 'bundler/setup' I think
<CalimeroTeknik> but if I remove that line, modules are missing
FastJack has joined #ruby
<CalimeroTeknik> require 'rubygems' also, just above it
ZJAY has joined #ruby
<zenspider> probably just because of bundler's worst feature: autorequire
<apeiros> you mean you write your own executable and load the library in there?
StoneCypher has quit [Ping timeout: 240 seconds]
<apeiros> require "rubygems" is obsolete ever since ruby 1.9
<apeiros> replace require 'bundler/setup' with the proper requires for all gems in your gemfile (might be possible to reduce it, but that's the naive approach)
Cohedrin_ has joined #ruby
ZJAY has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 255 seconds]
douglascorrea has joined #ruby
kht has quit [Ping timeout: 258 seconds]
gigetoo has joined #ruby
<zenspider> there's 3 git repos ... not sure about those... but the list at the bottom of the gemfile should be more or less what you want to require (at the maximum)
StoneCypher has joined #ruby
milardovich has joined #ruby
<apeiros> well, git clone, gem build, gem install those 3. but yes, they take extra effort.
* apeiros didn't bother to actually read the gemfile :-|
duckpupp1 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
StoneCypher has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 276 seconds]
elena_ has quit [Ping timeout: 258 seconds]
gigetoo has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
duckpupp1 has quit [Ping timeout: 260 seconds]
A124 has joined #ruby