havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
twe4ked has joined #ruby
lxsameer has quit [Ping timeout: 248 seconds]
tty has joined #ruby
desperek has quit [Quit: xoxo]
<jhack> lol
Fizzik has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 256 seconds]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
venmx has joined #ruby
ellcs has quit [Ping timeout: 245 seconds]
r29v has quit [Quit: r29v]
r29v has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
Venomen has joined #ruby
jready has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
dinfuehr has joined #ruby
venmx has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
darkhanb has joined #ruby
Venomen has quit [Ping timeout: 245 seconds]
jready has quit [Client Quit]
cagomez has quit [Remote host closed the connection]
lxsameer has joined #ruby
cagomez has joined #ruby
jhack has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
r29v has quit [Quit: r29v]
dviola has quit [Quit: WeeChat 2.1]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fluxAeon has joined #ruby
orbyt_ has joined #ruby
BloopMonster has joined #ruby
fluxAeon_ has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
lxsameer has joined #ruby
tty has quit [Quit: tty]
Fizzik has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
linuxdaemon has quit [Ping timeout: 256 seconds]
jhack has quit [Quit: jhack]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has joined #ruby
meinside has joined #ruby
linuxdaemon has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tty has joined #ruby
jhack has quit [Quit: jhack]
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
starseed0000 has quit [Ping timeout: 276 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
modin has quit [Ping timeout: 245 seconds]
Venomen has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
orbyt_ has joined #ruby
roamingdog has joined #ruby
Venomen has quit [Ping timeout: 256 seconds]
zachk has quit [Quit: Leaving]
Fizzik has joined #ruby
gizmore|2 has joined #ruby
jhack has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
lxsameer has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 264 seconds]
starseed0000 has joined #ruby
jrafanie has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
yokel has quit [Ping timeout: 268 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
yokel has joined #ruby
Fizzik has quit [Ping timeout: 248 seconds]
yokel has quit [Ping timeout: 276 seconds]
yokel has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
jhack has left #ruby [#ruby]
BloopMonster has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
cyberg has quit [Remote host closed the connection]
Venomen has joined #ruby
subroot has quit [Read error: Connection reset by peer]
Venomen has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
Fizzik has joined #ruby
Fizzik has quit [Ping timeout: 240 seconds]
Fizzik_ has joined #ruby
taylorzr has joined #ruby
white_lilies has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
Fizzik_ has quit [Ping timeout: 256 seconds]
BloopMonster has joined #ruby
r3m is now known as Pascal
Pascal is now known as r3m
lxsameer has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
JamJam_kid has joined #ruby
r29v has joined #ruby
houhoulis has joined #ruby
ghormoon has quit [Ping timeout: 264 seconds]
ghormoon has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
Puffball has quit [Quit: Puffball]
tvw has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lytol has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
darkhanb has joined #ruby
icarus has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
wontruefree has joined #ruby
Venomen has joined #ruby
Venomen has quit [Ping timeout: 256 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
lxsameer has joined #ruby
DTZUZO has quit [Quit: WeeChat 2.0]
cagomez has joined #ruby
DTZUZO has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 256 seconds]
AJA4351 is now known as AJA4350
BloopMonster has quit [Ping timeout: 265 seconds]
lxsameer has quit [Ping timeout: 276 seconds]
cschneid has joined #ruby
JamJam_kid has quit [Ping timeout: 248 seconds]
icarus has joined #ruby
amar_ has joined #ruby
konsolebox has quit [Ping timeout: 256 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
DTZUZO has quit [Read error: Connection reset by peer]
mozzarella has quit [Quit: WeeChat 2.0.1]
konsolebox has joined #ruby
DTZUZO has joined #ruby
amar_ has quit [Ping timeout: 240 seconds]
mozzarella has joined #ruby
houhoulis has quit []
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 248 seconds]
cagomez has quit [Remote host closed the connection]
cschneid has quit [Remote host closed the connection]
lxsameer has joined #ruby
cschneid has joined #ruby
AJA4350 has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 268 seconds]
nertzy2 has quit [Ping timeout: 260 seconds]
knight33 has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
starseed0000 has quit [Ping timeout: 240 seconds]
Fizzik_ has joined #ruby
hph^ has quit [Ping timeout: 260 seconds]
kapil___ has joined #ruby
atharp has joined #ruby
atharp has quit [Client Quit]
toastercup has joined #ruby
toastercup has quit [Client Quit]
toastercup has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Ping timeout: 256 seconds]
white_lilies has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Ping timeout: 256 seconds]
rf` has quit []
toastercup has quit [Quit: toastercup]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
lxsameer has joined #ruby
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
hph^ has joined #ruby
hph^ has quit [Max SendQ exceeded]
Fizzik_ has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
bga57 has quit [Quit: Leaving.]
hanmac has quit [Ping timeout: 245 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
hays has joined #ruby
cadillac_ has joined #ruby
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
tdy has joined #ruby
sauvin has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
hanmac has joined #ruby
bga57 has joined #ruby
Hobbyboy has quit [Ping timeout: 260 seconds]
aufi has joined #ruby
JamJam_kid has joined #ruby
Hobbyboy has joined #ruby
roamingdog has joined #ruby
anisha_ has joined #ruby
za1b1tsu has joined #ruby
ur5us has quit []
lxsameer has quit [Ping timeout: 264 seconds]
BloopMonster has joined #ruby
Puffball has joined #ruby
Fizzik_ has joined #ruby
Fizzik_ has quit [Ping timeout: 240 seconds]
SuperL4g has joined #ruby
amar_ has joined #ruby
SuperLag has quit [Ping timeout: 248 seconds]
aupadhye has joined #ruby
Inline has quit [Quit: Leaving]
Furai has quit [Quit: WeeChat 2.1]
amar_ has quit [Ping timeout: 264 seconds]
Furai has joined #ruby
reber has joined #ruby
hays has quit [Ping timeout: 240 seconds]
jcarl43 has joined #ruby
JamJam_kid has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
r29v has quit [Quit: r29v]
Fizzik has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
r29v has joined #ruby
r29v has quit [Client Quit]
Fizzik has quit [Ping timeout: 268 seconds]
apeiros has quit [Ping timeout: 264 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
clemens3_ has joined #ruby
lxsameer has joined #ruby
arkaros has joined #ruby
apeiros has joined #ruby
Guest28198 has quit [Quit: ZNC 1.7.0 - https://znc.in]
Nicmavr has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
biberu has joined #ruby
Nicmavr is now known as Guest32388
dr3w_ has joined #ruby
aufi has quit [Ping timeout: 276 seconds]
dr3w_ has quit [Client Quit]
lxsameer has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
apeiros has quit [Remote host closed the connection]
arkaros has quit [Ping timeout: 264 seconds]
mikhael_k33hl has joined #ruby
<mikhael_k33hl> Is there an article/documentation for best practices pertaining model creation in Ruby?
arkaros has joined #ruby
andikr has joined #ruby
nertzy has joined #ruby
amar_ has joined #ruby
nima_m has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
DEac-_ has quit [Ping timeout: 260 seconds]
DEac- has joined #ruby
nima_m has quit [Quit: nima_m]
nima_m has joined #ruby
Fizzik has joined #ruby
nima_m has quit [Client Quit]
nima_m has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
taylorzr has quit [Ping timeout: 245 seconds]
za1b1tsu has quit [Ping timeout: 260 seconds]
clemens3_ has quit [Ping timeout: 255 seconds]
sysvalve has joined #ruby
quiqua has joined #ruby
jcarl43 has quit [Quit: WeeChat 2.1]
yohji has joined #ruby
redlegion has quit [Remote host closed the connection]
redlegion has joined #ruby
suukim has joined #ruby
claudiuinberlin has joined #ruby
conta has joined #ruby
clemens3_ has joined #ruby
Burgestrand has joined #ruby
tty has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
tvw has quit [Remote host closed the connection]
Fizzik has quit [Ping timeout: 276 seconds]
amar_ has quit [Remote host closed the connection]
Venomen has joined #ruby
za1b1tsu has joined #ruby
arkaros has quit [Ping timeout: 245 seconds]
lxsameer has quit [Ping timeout: 264 seconds]
za1b1tsu has quit [Ping timeout: 264 seconds]
<Bish> mikhael_k33hl: you need to be more specific when saying "model creation"
<Bish> atleast for me
amar has joined #ruby
nowhere_man has joined #ruby
guille-moe has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
amar has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
lightstalker has quit [Ping timeout: 245 seconds]
contradictioned has joined #ruby
contradictioned has quit [Client Quit]
p4p0l0 has joined #ruby
Lyubo1 has quit [Ping timeout: 264 seconds]
Burgestrand has quit [Quit: Closing time!]
schleppel has joined #ruby
drale2k_ has joined #ruby
Burgestrand has joined #ruby
Lyubo1 has joined #ruby
aufi has joined #ruby
lxsameer has joined #ruby
wontruefree has quit [Quit: bye]
arkaros has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 256 seconds]
Bish has quit [Quit: leaving]
drale2k_ has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
VladGh has joined #ruby
alem0lars has joined #ruby
crankharder has joined #ruby
shinnya has joined #ruby
VladGh_ has quit [Ping timeout: 245 seconds]
za1b1tsu has joined #ruby
nima_m has quit [Quit: nima_m]
blackmesa has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
nima_m has joined #ruby
za1b1tsu has joined #ruby
ellcs has joined #ruby
dr3w_ has joined #ruby
faces has joined #ruby
nima_m has quit [Client Quit]
agent_white has quit [Quit: night]
nima_m has joined #ruby
desperek has joined #ruby
amar_ has joined #ruby
stairmast0r_ has joined #ruby
dionysus69 has joined #ruby
andikr has quit [Remote host closed the connection]
stairmast0r has quit [Ping timeout: 265 seconds]
roamingdog has quit [Remote host closed the connection]
amar_ has quit [Ping timeout: 268 seconds]
pskosinski has quit [Ping timeout: 276 seconds]
tty has joined #ruby
pskosinski has joined #ruby
tty has quit [Read error: Connection reset by peer]
tvw has joined #ruby
tty has joined #ruby
alem0lars has quit [Ping timeout: 240 seconds]
nima_m has quit [Ping timeout: 256 seconds]
t0xik has quit [Quit: Connection closed for inactivity]
nowhere_man has joined #ruby
arkaros has quit [Ping timeout: 248 seconds]
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arkaros has joined #ruby
amar_ has joined #ruby
amar_ has quit [Read error: No route to host]
tty has quit [Read error: Connection reset by peer]
tty has joined #ruby
amar_ has joined #ruby
jamesaxl has quit [Ping timeout: 264 seconds]
BloopMonster has quit [Ping timeout: 260 seconds]
dhollin3 has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
tty has quit [Read error: Connection reset by peer]
tty has joined #ruby
Emmanuel_Chanel has joined #ruby
Beams has joined #ruby
amar_ has quit [Ping timeout: 255 seconds]
tty has quit [Read error: Connection reset by peer]
tty has joined #ruby
dhollinger has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
nigthw0lf has joined #ruby
tty has quit [Ping timeout: 256 seconds]
jokke1 has quit [Ping timeout: 260 seconds]
amar_ has joined #ruby
aufi has quit [Ping timeout: 248 seconds]
drale2k_ has joined #ruby
Fizzik has joined #ruby
tag has quit [Quit: Connection closed for inactivity]
jokke1 has joined #ruby
alex`` has joined #ruby
blackmesa has quit [Ping timeout: 245 seconds]
arne has joined #ruby
arne is now known as Bish
<Bish> o/
blackmesa has joined #ruby
nowhere_man has joined #ruby
nowhereman_ has quit [Read error: Connection reset by peer]
suukim has quit [Quit: Konversation terminated!]
Fizzik has quit [Ping timeout: 268 seconds]
suukim has joined #ruby
Fizzik has joined #ruby
grr12314 has joined #ruby
alem0lars has joined #ruby
<grr12314> hello. how do you guys usually use ruby on ubuntu? there are ruby-somthing-or-other packages in apt-get repos for things that are installed with gem install on other distros... but they are often lower versions.
<grr12314> so is there a ppa or something that lets me use apt-get or should i just ignore apt-get and install everything with gem?
<grr12314> and if i already mixed both, how to check which version is actually used?
Fizzik has quit [Ping timeout: 255 seconds]
<cdunklau> grr12314: i'm still a babe-in-the-woods with ruby, but ISTM sudo gem install is something to be avoided
<elomatreb> The most common way to use Ruby if you want to do development instead of just running some packaged ruby software is to install a local ruby environment
<grr12314> if i dont "sudo" it complains about permissions
<cdunklau> grr12314: https://github.com/airbnb/synapse#installation has an example of how to install a thing without using root
<cdunklau> grr12314: as it should! :)
<elomatreb> You can build a custom ruby and install it to your home directory with a variety of tools, a popular choice is https://github.com/postmodern/ruby-install
apparition has joined #ruby
<grr12314> i need this for running "compass", not really for doing ruby development
Tempesta has quit [Quit: See ya!]
<grr12314> the ruby-compass package from apt-get repo pulls an old ruby-chunky-png version
<grr12314> which turns out to be buggy
karapetyan has joined #ruby
<elomatreb> You can install a one-off gem to your user directory with `gem install --user-install <gemname>`
<elomatreb> If you want to use an executable provided a gem you may also need to adjust your PATH variable
<grr12314> will user-installed chunky_png get used by the apt version of compass tho? or do i need to install the whole compass as --user-install?
<cdunklau> or just symlink it somewhere
<cdunklau> (somewhere inside PATH)
karuna has joined #ruby
arkaros has quit [Ping timeout: 260 seconds]
<elomatreb> Global gems probably won't pick up the user-local version, but if you're installing locally anyway there's no good reason not to install the entire gem and its dependencies locally
<elomatreb> If there are gems with native extensions you may need to install some build dependencies with apt though
Beams has quit [Quit: .]
<grr12314> its really confusing. ok i gem install compass --user-install. but now it probably sees the global chunky_png and doesnt pull a local one
Beams has joined #ruby
Burgestrand has quit [Quit: Closing time!]
Burgestrand has joined #ruby
<grr12314> hm. ok installing both compass and chunky_png seems to have worked. as in, at least the original bug i was fighting is gone. now compass throws some new errors at me though
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<grr12314> ill keep digging
<elomatreb> OS-packaged gems are often trouble, sadly
<grr12314> "`extname': no implicit conversion of nil into String" is the new error :(
<grr12314> maybe i have t ocompletely remove the apt-get version of compass...
<grr12314> ugh.. nevermind, the original but is there too
<grr12314> bug*
yohji has quit [Ping timeout: 248 seconds]
<elomatreb> At a certain point the method I mentioned above becomes a sensible option
<elomatreb> ruby-install + https://github.com/postmodern/chruby gets you a really comfortable setup, the only downside is that your ruby is not shared across users
Beams has quit [Quit: .]
<Bish> did writing ~{a:3}
<Bish> ever make sense in ruby?
<Bish> or rather ~{:a=>3}
<elomatreb> ~ is unary binary (lol) NOT, which I think you can override
<Bish> this slide confused me
Beams has joined #ruby
Burgestrand has quit [Quit: Closing time!]
<grr12314> "can't find header files for ruby at /usr/lib/ruby/include/ruby.h" do you know what package i need so i have those header files?
<Bish> grr12314: ruby-dev if you're one some lolbuntu
<grr12314> thank you
<Bish> yw
<Bish> elomatreb: no worries, the library doesn't do it anymore that way
<Bish> i guess he figured it's a stupid idea
<elomatreb> Yeah that's being a little too DSL-y IMO
<Bish> espeicially ~:p looks od and the hash ones
<Bish> it looks like htis by now
<Bish> ds.filter { Sequel.~(:a,:b) }
<Bish> which makes more sense
arkaros has joined #ruby
karapetyan has quit [Remote host closed the connection]
<elomatreb> At that point you might as well spell out the not IMO
karapetyan has joined #ruby
nowhere_man has quit [Ping timeout: 245 seconds]
karapetyan has quit [Remote host closed the connection]
arkaros has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
nigthw0lf has quit [Remote host closed the connection]
nigthw0lf has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
Tempesta has joined #ruby
vonfry has joined #ruby
donofrio has joined #ruby
drale2k_ has joined #ruby
vonfry has quit [Remote host closed the connection]
Asher has quit [Ping timeout: 265 seconds]
blackmesa1 has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
chmurifree is now known as chmuri
conta has quit [Quit: conta]
megamos has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Fernando-Basso_ has joined #ruby
ciscam has quit [Ping timeout: 255 seconds]
ciscam has joined #ruby
Fernando-Basso_ has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
modin has joined #ruby
Fizzik_ has joined #ruby
Burgestrand has joined #ruby
BloopMonster has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
Fernando-Basso_ has joined #ruby
Fizzik_ has quit [Ping timeout: 276 seconds]
aufi has joined #ruby
andikr has joined #ruby
blackmesa1 has quit [Ping timeout: 256 seconds]
<Bish> does ruby have blocks from day 1?
jottr has joined #ruby
karapetyan has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<grr12314> is there some gem command that can "clean" unneeded packages? i see there is gem cleanup but it seems it only removes older versions.
gheegh has quit [Ping timeout: 260 seconds]
<Bish> what is uneeded? how does it know
<grr12314> like if i 'gem install compass' it pulls a dozen gems, but 'gem uninstall compass' only removes the compass one
blackmesa1 has joined #ruby
<grr12314> keep a list of "manually installed" gems vs ones that got pulled due to dependency i guess
<Bish> i don't know if that exists
<grr12314> ok. can i uninstall absolutely all that were installed with --user-install then?
<elomatreb> It does not make a distinction between that, but if you want to start fresh you can just delete the gem folder in your home directory
<grr12314> ok nice thanks
<Bish> or, solve that problem by using docker :o *ducks*
karapetyan has joined #ruby
blackmesa1 has quit [Client Quit]
<elomatreb> In German we have a saying "shooting sparrows with cannons"
<Bish> ist halt noch kein meister vom himmel gefallen
<elomatreb> :)
<Bish> elomatreb: well, docker is always the cannon shooting sparrows, because if coding was done correctly from bottom up, there was no need for docker
<Bish> or any container system that is
<elomatreb> But certainly there is a more reasonable middle ground between "no containers" and "basically everything except the kernel", to install a single gem :)
d^sh has quit [Quit: ZNC 1.6.1 - http://znc.in]
<Bish> well, ruby could be able to create virtual environments on it's own, that'd be cool
<Bish> but then you still have filesystem, network,, etc which is all different
<Bish> kernel as a docker container™
arkaros has joined #ruby
chmuri has quit [Excess Flood]
<arkaros> Hello people. What are you guys working on?
<grr12314> ok thanks all, i can say issues have been resolved. i had a globally installed alpha version of compass too that didnt work and confused me for a moment, but after cleaning that up all is well now
<cdunklau> grr12314: this is why sudo gem install is bad yes :)
chmurifree has joined #ruby
<cdunklau> sudo <anything besides apt/yum/etc> install is bad that is
<grr12314> yea, but there are a ton of posts on the net that show it as a solution.
<grr12314> i know better now
apeiros has joined #ruby
<grr12314> speaking of, is there some tool that adds the locally-installed bin to PATH? i could do it manually but if i have to recommend this solution to others, it'd be good if there was some easier way
<elomatreb> No specific tool per se, but Ruby environment managers like e.g. chruby (linked above somewhere) take care of the necessary variables for you
amar_ has quit [Remote host closed the connection]
VladGh has quit [Remote host closed the connection]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
yokel has quit [Remote host closed the connection]
VladGh has joined #ruby
yokel has joined #ruby
amar_ has joined #ruby
ldnunes has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
BloopMonster has quit [Ping timeout: 240 seconds]
amar_ has quit [Read error: Connection reset by peer]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
desperek has quit [Ping timeout: 256 seconds]
amar_ has joined #ruby
amar_ has quit [Remote host closed the connection]
amar_ has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
nowhere_man has joined #ruby
noobineer has joined #ruby
noobineer has quit [Max SendQ exceeded]
Bish has quit [Remote host closed the connection]
Fizzik_ has joined #ruby
za1b1tsu has joined #ruby
Fizzik_ has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
synthroid has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
vondruch_ is now known as vondruch
jokke1 has quit [Ping timeout: 256 seconds]
AJA4350 has joined #ruby
Fizzik_ has joined #ruby
desperek has joined #ruby
jokke1 has joined #ruby
arkaros has quit [Ping timeout: 248 seconds]
BloopMonster has joined #ruby
<za1b1tsu> can you use rvm to install multiple versions of rubies at once? from the same command?
Fizzik_ has quit [Ping timeout: 268 seconds]
<konsolebox> za1b1tsu: check the documentation of the command
arkaros has joined #ruby
karuna has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Remote host closed the connection]
yohji has joined #ruby
conta has joined #ruby
anisha_ has quit [Read error: Connection reset by peer]
maiz has joined #ruby
maiz has quit [Max SendQ exceeded]
Fizzik_ has joined #ruby
alem0lars has quit [Ping timeout: 248 seconds]
anisha_ has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Ping timeout: 256 seconds]
BloopMonster has quit [Ping timeout: 264 seconds]
hays has joined #ruby
emerson has quit [Quit: leaving]
Fizzik_ has quit [Ping timeout: 276 seconds]
schneider has joined #ruby
karapetyan has joined #ruby
mrv has joined #ruby
quobo has joined #ruby
<mrv> hello
<mrv> can we ask about rails here?
desperek has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 256 seconds]
<arkaros> Isnät there a rails specific irc?
Asher has joined #ruby
<mrv> I'll try there, I guess
andikr has quit [Remote host closed the connection]
bmurt has joined #ruby
cadillac_ has quit [Ping timeout: 260 seconds]
Asher has quit [Ping timeout: 245 seconds]
<arkaros> I think you will get better answers there too
cschneid has joined #ruby
mrv has quit [Quit: Leaving]
cadillac_ has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
<grr12314> if i use `gem install something --user-install --bindir somewritabledir` it installs a script that later looks for the gem bin in the global gem dir and not the user gem dir. wouldn't you say this seems like a bug?
<grr12314> hm wait the plot is thicker than that
<arkaros> The plot thickens
<grr12314> after i ran hash -r it fixed itself
<grr12314> i give up, i can probably never understand how ruby works
<grr12314> but, at least it works
<grr12314> it seems ubuntu has ~/bin and ~/.local/bin in my PATH already (3 times in fact, wtf) even tho those dirs didnt even exist
<grr12314> so if i use one of them as --bindir it makes installing gems with bins easy
<konsolebox> grr12314: that's more about how the shell works. command paths are cached, and the shell skips looking for executables when the command path is already known for a specific command. new executable files placed in paths that appear earlier in $PATH are skipped until the cache is cleared with `hash`, or until a new instance of the shell is instantiated.
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
fluxAeon_ has joined #ruby
starseed0000 has joined #ruby
jottr has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 268 seconds]
schneider has quit [Quit: WeeChat 2.0.1]
synthroid has quit [Remote host closed the connection]
hays has quit [Ping timeout: 248 seconds]
quiqua has quit [Quit: Textual IRC Client: www.textualapp.com]
drale2k_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
jrafanie has joined #ruby
OneNeptune has joined #ruby
karapetyan has joined #ruby
myared has joined #ruby
white_lilies has joined #ruby
synthroid has joined #ruby
white_lilies has quit [Ping timeout: 276 seconds]
watkyn has joined #ruby
houhoulis has joined #ruby
clemens3_ has quit [Ping timeout: 248 seconds]
vondruch_ has joined #ruby
psychicist__ has joined #ruby
Asher has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
vondruch_ is now known as vondruch
Asher has quit [Ping timeout: 256 seconds]
knight33 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
apeiros has quit [Remote host closed the connection]
dhollin3 is now known as dhollinger
apeiros has joined #ruby
roamingdog has quit [Ping timeout: 248 seconds]
smithascari has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
duckpuppy has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
dr3w_ has quit [Read error: Connection reset by peer]
dr3w_ has joined #ruby
lubekpl has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
codymj has joined #ruby
duckpuppy has quit [Quit: WeeChat 2.1]
duckpuppy has joined #ruby
nowhere_man has joined #ruby
megamos has quit [Ping timeout: 256 seconds]
lubekpl has quit [Quit: Textual IRC Client: www.textualapp.com]
lubekpl has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has quit [Quit: Leaving]
TomyWork has joined #ruby
biberu has quit []
megamos has joined #ruby
amar_ has quit [Ping timeout: 245 seconds]
BloopMonster has joined #ruby
jottr has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
arkaros has quit [Ping timeout: 245 seconds]
Inline has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
arkaros has joined #ruby
Burgestrand has quit [Quit: Closing time!]
conta has quit [Quit: conta]
psychicist__ has quit [Ping timeout: 240 seconds]
stairmast0r_ is now known as stairmast0r
grr12314 has quit [Quit: Page closed]
OneNeptune has quit [Ping timeout: 264 seconds]
synthroid has quit [Remote host closed the connection]
cschneid has joined #ruby
vondruch has quit [Quit: vondruch]
cschneid has quit [Read error: Connection reset by peer]
cschneid has joined #ruby
vondruch has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
codymj has quit [Quit: Leaving]
guille-moe has joined #ruby
apparition has quit [Quit: Bye]
anisha_ has quit [Quit: This computer has gone to sleep]
<kyle__> buffer move 54
agent_white has joined #ruby
agent_white has left #ruby [#ruby]
roamingdog has joined #ruby
agent_white has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
knight33 has quit [Ping timeout: 248 seconds]
d^sh has joined #ruby
andikr has joined #ruby
synthroid has joined #ruby
BloopMonster has quit [Ping timeout: 255 seconds]
houhoulis has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
Rapture has joined #ruby
Zaab1t has joined #ruby
lxsameer has joined #ruby
arkaros has quit [Ping timeout: 256 seconds]
duckpuppy has quit [Quit: WeeChat 2.1]
apeiros has quit [Read error: Connection reset by peer]
duckpuppy has joined #ruby
tvw has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 264 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
roamingdog has quit [Remote host closed the connection]
kmossco has joined #ruby
maiz has joined #ruby
maiz has quit [Max SendQ exceeded]
r29v has joined #ruby
thadtheman has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
maiz has joined #ruby
maiz has quit [Max SendQ exceeded]
devinmcgloin has joined #ruby
jottr has joined #ruby
Venomen has quit [Remote host closed the connection]
Venomen has joined #ruby
noobineer has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
wontruefree has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
cagomez has joined #ruby
roamingdog has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
Venomen has quit [Ping timeout: 245 seconds]
r29v has quit [Quit: r29v]
roamingdog has quit [Remote host closed the connection]
lxsameer has joined #ruby
pastorinni has joined #ruby
shinnya has quit [Ping timeout: 256 seconds]
orbyt_ has joined #ruby
RougeR has joined #ruby
mupt has joined #ruby
wontruefree has quit [Quit: bye]
jabowa has joined #ruby
arkaros has joined #ruby
amar_ has joined #ruby
jcarl43 has joined #ruby
mcritchlow_ has joined #ruby
noobineer has quit [Ping timeout: 276 seconds]
amar__ has joined #ruby
arkaros has quit [Ping timeout: 264 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
nickbender has joined #ruby
amar_ has quit [Ping timeout: 268 seconds]
nickbender has quit [Client Quit]
ellcs has quit [Remote host closed the connection]
megamos has quit [Remote host closed the connection]
devinmcgloin has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 248 seconds]
yohji has quit [Remote host closed the connection]
lxsameer has joined #ruby
kmossco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
desperek has joined #ruby
watkyn has quit []
clemens3_ has joined #ruby
Bira has joined #ruby
xenops has joined #ruby
jottr has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
lxsameer has quit [Read error: Connection reset by peer]
guille-moe has quit [Ping timeout: 256 seconds]
psychicist__ has joined #ruby
amar__ has quit [Remote host closed the connection]
lxsameer has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
amar_ has joined #ruby
vipaca has joined #ruby
arkaros has joined #ruby
amar_ has quit [Ping timeout: 256 seconds]
arkaros has quit [Ping timeout: 240 seconds]
r29v has joined #ruby
darkhanb has joined #ruby
wontruefree has joined #ruby
Fizzik_ has joined #ruby
plujon has joined #ruby
akaiiro has joined #ruby
claudiuinberlin has joined #ruby
toastercup has joined #ruby
AJA4350 has quit [Remote host closed the connection]
toastercup has quit [Client Quit]
lubekpl has quit [Ping timeout: 255 seconds]
AJA4350 has joined #ruby
[Butch] has joined #ruby
karapety_ has joined #ruby
Kris has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
guille-moe has joined #ruby
jottr has joined #ruby
Asher has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
erratic has quit [Ping timeout: 240 seconds]
amar_ has joined #ruby
Beams has quit [Quit: .]
Guest32388 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest27547
<plujon> Has the status of gem trust changed since 2013?
<plujon> https://guides.rubygems.org/security/ references a "conversation" about gem trust that seems to have fizzled out in 2013.
Fizzik_ has quit [Ping timeout: 268 seconds]
nb_bez__________ has joined #ruby
<havenwood> plujon: There was work done adding TUF to RubyGems, with the help of the TUF folk: https://theupdateframework.github.io/
<havenwood> plujon: You're right it wasn't completed.
tolerablyjake has joined #ruby
anjen has joined #ruby
vipaca has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> I blame Burning Man ;-P https://github.com/rubygems/rubygems.org/pull/626
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smithascari has quit [Quit: mithbook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
amar__ has joined #ruby
smithascari has joined #ruby
amar_ has quit [Ping timeout: 264 seconds]
BloopMonster has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carnegie has joined #ruby
karapety_ has quit [Remote host closed the connection]
jabowa has quit [Quit: Page closed]
erratic has joined #ruby
vipaca has joined #ruby
vipaca has quit [Client Quit]
drale2k_ has joined #ruby
smithascari has quit [Quit: byee o/]
amar_ has joined #ruby
micutzu has quit [Ping timeout: 256 seconds]
mcritchlow_ has quit [Remote host closed the connection]
amar__ has quit [Ping timeout: 248 seconds]
RougeR has quit [Ping timeout: 248 seconds]
akaiiro has quit [Ping timeout: 245 seconds]
micutzu has joined #ruby
myared has quit [Quit: leaving]
zachk has joined #ruby
zachk has joined #ruby
<plujon> I wonder how rubygems compares to apt, npm, pip, cabal, pear, and others.
<Zarthus> compares how?
<cthulchu_> I do prefer npm
<Zarthus> For one, apt can download just about anything, whereas gems only really work as ruby gems.
<plujon> In terms of vulnerability to a malicious actor.
<cthulchu_> lol
<cthulchu_> that's not a random thing to compare by :)
<Zarthus> eh, ruby code can be malicious anyway. you should always check your dependencies :P
<cthulchu_> and it's not like an installed gem gets required
carnegie has quit [Remote host closed the connection]
<cthulchu_> unles you have wildcard requires
<Zarthus> as far as language package managers go, I quite like composer (PHP)
<Zarthus> just as a general pleasantry to work with
<cthulchu_> I decided to switch from php before composer
<cthulchu_> rewrote all my php scripts in a proper lang
kmossco has joined #ruby
eckhardt has joined #ruby
Kris has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
carnegie has joined #ruby
wontruefree has quit [Quit: this is not the client you are looking for]
<cthulchu_> folks, how do I explicitly set undefined?
dr3w_ has joined #ruby
drale2k_ has quit [Ping timeout: 256 seconds]
carnegie has quit [Remote host closed the connection]
carnegie has joined #ruby
carnegie has quit [Remote host closed the connection]
Kris has joined #ruby
<cthulchu_> oh, I don't need to cuz I can do weird stuff
<cthulchu_> >> def test(a,b="undefined") return b; end; test(1,2)
<ruby[bot]> cthulchu_: # => 2 (https://eval.in/1029439)
<cthulchu_> type mutation!
kmossco has quit [Quit: Textual IRC Client: www.textualapp.com]
<cthulchu_> hell this feels good
<havenwood> cthulchu_: b = Object.new
<cthulchu_> wow
<cthulchu_> >>b = Object.new; defined? b;
<ruby[bot]> cthulchu_: # => "local-variable" (https://eval.in/1029440)
amar_ has quit [Remote host closed the connection]
Venomen has joined #ruby
<cthulchu_> >>b = Object.new; b.class;
<ruby[bot]> cthulchu_: # => Object (https://eval.in/1029441)
<cthulchu_> okay
<cthulchu_> it's defined
<havenwood> cthulchu_: It's not == to anything.
<cthulchu_> I don't need ==
<havenwood> cthulchu_: Usually `nil` is used to represent undefined.
<cthulchu_> yeah, ok
<havenwood> cthulchu_: When `nil` doesn't suffice, `Object.new` is a good standin.
<cthulchu_> yes, I'll use nil
carnegie has joined #ruby
<cthulchu_> thank you
carnegie has quit [Remote host closed the connection]
Venomen has quit [Ping timeout: 240 seconds]
carnegie has joined #ruby
mike11 has joined #ruby
<cthulchu_> beautiful
carnegie has quit [Remote host closed the connection]
duckpuppy has quit [Quit: WeeChat 2.1]
c0ncealed2 has quit [Remote host closed the connection]
nicoulaj has quit [Quit: quit]
sameerynho has joined #ruby
akaiiro has joined #ruby
c0ncealed2 has joined #ruby
nicoulaj has joined #ruby
guille-moe has quit [Ping timeout: 245 seconds]
guille-moe has joined #ruby
BloopMonster has quit [Ping timeout: 268 seconds]
duckpuppy has joined #ruby
karapetyan has joined #ruby
duckpuppy has quit [Client Quit]
nicoulaj has quit [Quit: quit]
arkaros has joined #ruby
duckpuppy has joined #ruby
nicoulaj has joined #ruby
bmurt has joined #ruby
discopatrick has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
duckpupp1 has joined #ruby
mike11 has quit [Quit: Leaving.]
TomyWork has quit [Ping timeout: 240 seconds]
duckpupp1 has quit [Client Quit]
beefjoe has joined #ruby
duckpupp1 has joined #ruby
beefjoe has quit [Max SendQ exceeded]
workmad3 has quit [Ping timeout: 245 seconds]
beefjoe has joined #ruby
beefjoe has quit [Max SendQ exceeded]
duckpupp1 has quit [Client Quit]
beefjoe has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
duckpupp1 has joined #ruby
beefjoe has quit [Max SendQ exceeded]
duckpuppy has quit [Client Quit]
beefjoe has joined #ruby
duckpupp1 is now known as duckpuppy
arkaros has quit [Ping timeout: 260 seconds]
carnegie has joined #ruby
duckpuppy has quit [Client Quit]
sauvin has quit [Remote host closed the connection]
duckpuppy has joined #ruby
carnegie has quit [Read error: Connection reset by peer]
ebye has joined #ruby
nowhere_man has joined #ruby
<cthulchu_> okay, spaces after commas are good
<cthulchu_> but not after :
<ebye> could someone help out with the code for TryRub lesson "All together now" on the website? it doesn't seem to work?
duckpuppy has quit [Quit: WeeChat 2.1]
roamingdog has joined #ruby
duckpuppy has joined #ruby
<cthulchu_> ebye, debug
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
roamingdog has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
carnegie has joined #ruby
tdy has quit [Ping timeout: 264 seconds]
carnegie has quit [Remote host closed the connection]
duckpuppy has quit [Quit: WeeChat 2.1]
duckpuppy has joined #ruby
aufi has quit [Quit: Leaving]
duckpuppy has quit [Client Quit]
duckpuppy has joined #ruby
tdy has joined #ruby
jottr has joined #ruby
pastorinni has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
jottr has quit [Ping timeout: 248 seconds]
Bira has quit [Ping timeout: 256 seconds]
Bira has joined #ruby
<cthulchu_> hey folks! do we have a magic function thaaaat...
<cthulchu_> I don't know how to express it
<cthulchu_> that returns true when one of the </> arguments is nil :)
<cthulchu_> hehe
<eam> the what arguments?
<cthulchu_> 1<nil
Kris has quit [Ping timeout: 256 seconds]
<ebye> cthulchu_: aye, it did work. i think i suffered from some kind of temporary numbers dyslexia
<cthulchu_> :)
<cthulchu_> I am working on a function that checks if a number is between two other numbers
<cthulchu_> if one or both of the numbers are nil (which is the default), it will not do the check
<eam> you mean like 55 6 77 # six is between fifty five and seventy seven?
<cthulchu_> no
<cthulchu_> so instead of having four ugly blocks for each combination I want to have one
<cthulchu_> :)
<cthulchu_> cuz first I have to describe what to do if both are nil (return true)
<cthulchu_> then what if both are not nil - do the chack if it's >= min and <= max
<cthulchu_> I feel there's a more elegant way to solve it
<cthulchu_> maybe nil is not a good thing to use by default
<cthulchu_> is there a minus infinity and a plus infinity numbers? :)
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cthulchu_> oh we do have an infinity
<cthulchu_> I'll use it to solve the thing
<cthulchu_> Float::INFINITY
<cthulchu_> woohooo
beefjoe has quit [Quit: Off to install Windows]
tolerablyjake has joined #ruby
nb_bez__________ has quit [Quit: Connection closed for inactivity]
dionysus69 has joined #ruby
lunarkitty7 has quit [Ping timeout: 260 seconds]
duckpuppy has quit [Quit: WeeChat 2.1]
duckpuppy has joined #ruby
jinie has quit [Ping timeout: 256 seconds]
duckpuppy has quit [Client Quit]
eblip is now known as eb0t_
duckpuppy has joined #ruby
jinie has joined #ruby
ams__ has joined #ruby
jinie has quit [Client Quit]
lubekpl has joined #ruby
jinie has joined #ruby
jottr has joined #ruby
lubekpl has quit [Client Quit]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
lubekpl has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
lubekpl has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 268 seconds]
eb0t has quit [Quit: WeeChat 2.0.1]
lunarkitty7 has joined #ruby
cagomez has quit [Remote host closed the connection]
dviola has joined #ruby
eb0t has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has joined #ruby
carnegie has joined #ruby
cagomez has joined #ruby
Venomen has joined #ruby
tty has joined #ruby
madh has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
nigthw0lf has quit []
Venomen has quit [Ping timeout: 256 seconds]
samosaphile has joined #ruby
bmurt has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
carnegie has quit [Remote host closed the connection]
jottr has joined #ruby
sysvalve has quit [Quit: Leaving]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
mcritchlow has joined #ruby
<Eiam> cthulchu_: return if argsv.compact.length = 0 ?
<Eiam> ==
BloopMonster has joined #ruby
balr0g has joined #ruby
<balr0g> hello im trying to excute the following command on Windows with error showed, is there any other way to pass command line arguments on windows? thanks. gem install iconv -v '1.0.5' --source 'http://rubygems.org/' --with-iconv-dir=C:\GnuWin32 ||| ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: --with-iconv-dir=C:\GnuWin32
<samosaphile> anyone have the solutions to these: https://pine.fm/LearnToProgram/chap_06.html not sure if am doing it right. so far done: https://repl.it/repls/GiantLimpingRoute https://repl.it/repls/AngryGoldenrodWaterfall kinda stuck on how to do third one
<konsolebox> balr0g: my `gem install` command doesn't have that option either
alem0lars has quit [Ping timeout: 264 seconds]
psychicist__ has quit [Ping timeout: 256 seconds]
<samosaphile> well, i just dunno how to make something which asks for same input 3 times...and when condition met exists..
<samosaphile> exits *
workmad3 has joined #ruby
<balr0g> konsolebox, i got that from this: https://gist.github.com/da8y01/73a51d33dc9b721a0c47883bdddb73f6
clemens3_ has quit [Ping timeout: 256 seconds]
<balr0g> konsolebox, any clue on how to install that gem?
carnegie has joined #ruby
jinie has quit [Ping timeout: 248 seconds]
<samosaphile> also, does the term 'command' have special meaning in ruby? cuz i've found if i replace word with another word, it doesn't work .. or starts to show errors / warnings(?)
mikhael_k33hl has quit [Ping timeout: 260 seconds]
jinie has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
<konsolebox> balr0g: i haven't really tried installing gems in windows yet; especially through gnuwin32
<konsolebox> samosaphile: i don't think it has any special meaning
<balr0g> konsolebox, "especially"? in which way have you installed gems in windows?
Fernando-Basso_ has quit [Quit: Page closed]
TvL2386_ has joined #ruby
<samosaphile> ok, that is really wierd then...
jottr has joined #ruby
TvL2386 has quit [Ping timeout: 256 seconds]
<konsolebox> balr0g: i might have tried devkit
jrm has quit [Remote host closed the connection]
<samosaphile> had to change all my variable names from 'Talk' to 'command' to make warnings go away on repl.it... :S wtf
<balr0g> konsolebox, is there DevKit for Windows with 2.3.0? i just see 2.3.3 ...
<konsolebox> oh wait, you want older versions? i don't know...
jrm has joined #ruby
samosaphile has quit [Quit: Page closed]
<balr0g> konsolebox, but thanks
<konsolebox> sameerynho: names that start with [A-Z] is mostly used for constants
<balr0g> konsolebox, also, what ruby version manager can i use on windows?
<Eiam> install a VM and just do the work in there =0
<balr0g> Eiam, good option
jottr has quit [Ping timeout: 256 seconds]
madh has quit [Quit: Leaving]
<elomatreb> The Linux subsystem thing is a good option if you're in windows 10
carnegie has quit [Remote host closed the connection]
pr0ton has joined #ruby
pr0ton has left #ruby [#ruby]
<cthulchu_> yeah
<balr0g> elomatreb, i've already tried the bash.exe good thing, but i gave up because the path were getting complicted
lytol has joined #ruby
Fizzik_ has joined #ruby
carnegie has joined #ruby
karapety_ has joined #ruby
noobineer has joined #ruby
schleppel has quit [Quit: Konversation terminated!]
dviola has quit [Quit: WeeChat 2.1]
Fizzik_ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
karapety_ has quit [Remote host closed the connection]
Fizzik has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
t0xik has joined #ruby
karapetyan has joined #ruby
nowhere_man has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
carnegie has quit [Remote host closed the connection]
synthroid has quit []
karapetyan has joined #ruby
mupt has quit [Ping timeout: 256 seconds]
karapetyan has quit [Read error: Connection reset by peer]
Fizzik has quit [Ping timeout: 245 seconds]
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
discopatrick has quit [Quit: Connection closed for inactivity]
karapety_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapety_ has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
pastorinni has joined #ruby
karapety_ has quit [Read error: Connection reset by peer]
p4p0l0 has joined #ruby
duckpuppy has quit [Ping timeout: 265 seconds]
BloopMonster has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
unreal has quit [Ping timeout: 240 seconds]
jamesaxl has joined #ruby
roamingdog has joined #ruby
p4p0l0 has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 276 seconds]
noobineer has quit [Ping timeout: 245 seconds]
ldnunes has quit [Quit: Leaving]
p4p0l0 has joined #ruby
herbmillerjr has quit [Ping timeout: 260 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
amar has joined #ruby
jinie has quit [Ping timeout: 260 seconds]
Raboo has quit [Ping timeout: 256 seconds]
Raboo has joined #ruby
JamJam_kid has joined #ruby
Anthony_Bourdain has quit [Ping timeout: 256 seconds]
herbmillerjr has joined #ruby
jinie has joined #ruby
ramfjord has joined #ruby
mupt has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
carnegie has joined #ruby
Fizzik has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
FernandoBasso has joined #ruby
mupt has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Fizzik has quit [Ping timeout: 245 seconds]
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
tvw has joined #ruby
JamJam_kid has quit [Ping timeout: 240 seconds]
JamJam_kid has joined #ruby
Bira has quit [Quit: Leaving]
JamJam_kid has quit [Ping timeout: 240 seconds]
donofrio_ has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
donofrio has quit [Ping timeout: 264 seconds]
pr0ton has joined #ruby
Fizzik has joined #ruby
carnegie has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
phenom has joined #ruby
Fizzik has quit [Ping timeout: 268 seconds]
vondruch has quit [Remote host closed the connection]
vondruch has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
workmad3 has joined #ruby
Fizzik has joined #ruby
RougeR has joined #ruby
roamingdog has quit [Ping timeout: 255 seconds]
amar has quit [Remote host closed the connection]
eckhardt has joined #ruby
reber has quit [Remote host closed the connection]
memo1 has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
p4p0l0 has quit [Remote host closed the connection]
p4p0l0 has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
cschne___ has joined #ruby
clemens3_ has joined #ruby
jhack has joined #ruby
cschneid has quit [Ping timeout: 256 seconds]
lytol has quit [Remote host closed the connection]
guille-moe has joined #ruby
guille-moe has quit [Remote host closed the connection]
<havenwood> Anyone want to help fill in any of the purple squares on the Ruby HTTP clients spreadsheet?: https://docs.google.com/spreadsheets/d/1vPlk6nMIFa3sI5ISl7zZ5r6lDNpVQX6Jxi3ksXCyVbs/edit?usp=sharing
<havenwood> Please tell me if you see anything that is dated!
<memo1> hi friends. Im using rvm to ruby and gemset control. Im trying to control a ruby script suing unit file (systemd), but it fails, cant find require eventmachine. Is a problem with path?
crankharder has quit [Remote host closed the connection]
<havenwood> memo1: Are you using RVM generated wrappers?
<memo1> havenwood: no
<havenwood> memo1: These RVM docs are from days long gone by, but they'd apply to SystemD as well: https://rvm.io/integration/init-d
<havenwood> There should be an RVM docs section explaining wrappers. There isn't a dedicated section on it and I see people get confused all the time.
<havenwood> I don't want to write it. Not it!
guille-moe has joined #ruby
mcritchlow has quit [Remote host closed the connection]
nightw0lf has joined #ruby
nightw0lf has quit [Max SendQ exceeded]
<memo1> havenwood: what is the purpose of wrappers?, expose all the package to the path?
quobo has joined #ruby
<havenwood> memo1: If you look at a generated wrapper, you can see it exports env vars.
unreal has joined #ruby
<havenwood> memo1: Here's a bit more written about wrappers: https://rvm.io/deployment/god
<memo1> havenwood: im gonna try, thank you. 1 day trying to run the script using systemd :/
<memo1> havenwood: always fails
<cthulchu_> wow
<cthulchu_> a day is quite an overkill
<memo1> cthulchu_: just a beginner with ruby
nightw0lf has joined #ruby
nightw0lf has quit [Max SendQ exceeded]
jhack has quit [Quit: jhack]
jhack has joined #ruby
carnegie has joined #ruby
<cthulchu_> try byebug
nightw0lf has joined #ruby
<cthulchu_> helps a lot with debugging
<havenwood> cthulchu_: How would byebug help debug RVM wrappers with SystemD? :-P
<cthulchu_> it probably wont. it helps with ruby though :)
<cthulchu_> what debuger do you use havenwood?
<havenwood> cthulchu_: p
cschne___ has quit [Remote host closed the connection]
BloopMonster has joined #ruby
ramfjord_ has joined #ruby
cschneid has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
nightw0lf has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
crankharder has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
carnegie has quit [Remote host closed the connection]
ellcs has joined #ruby
spiette has quit [Ping timeout: 276 seconds]
lucious has joined #ruby
<darix> cthulchu_: binding.pry
jottr has quit [Ping timeout: 260 seconds]
<havenwood> cthulchu_: but yeah, pry-byebug if i want to step - which is actually not all that often
<havenwood> it can be handy from time to time
znz_jp has quit [Remote host closed the connection]
desperek has quit [Quit: xoxo]
shinnya has joined #ruby
znz_jp has joined #ruby
sameerynho has quit [Ping timeout: 256 seconds]
guille-moe has quit [Ping timeout: 264 seconds]
Fizzik has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
cschneid has joined #ruby
<darix> even without pry-byebug
Venomen has joined #ruby
nightw0lf has joined #ruby
<memo1> havenwood: i have a question.
xenops has quit [Ping timeout: 245 seconds]
<memo1> havenwood: rvm alias create my_app ruby-2.0.0-p247@my_app, this is the help you sent me. my_app is the script name=, and ruby2..@my_app is the gemset?
cschneid has quit [Ping timeout: 268 seconds]
clemens3_ has quit [Ping timeout: 248 seconds]
Venomen has quit [Ping timeout: 245 seconds]
DTZUZO has quit [Ping timeout: 256 seconds]
mupt has joined #ruby
carnegie has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> memo1: yeah, after the @ is the gemset
Guest27547 has quit [Ping timeout: 255 seconds]
ellcs has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
subroot has joined #ruby
mupt has quit [Ping timeout: 264 seconds]
lubekpl has joined #ruby
eckhardt has joined #ruby
dmgk has left #ruby [#ruby]
za1b1tsu has joined #ruby
lubekpl has quit [Ping timeout: 265 seconds]
<memo1> havenwood: it fails. Can you help me. Look, my script is name gps_tracker.rb. I create a ruby2.3.2@gps_tracker gemset. My script is located at /home/ubuntu/gps_tracker.rb.
carnegie has quit [Remote host closed the connection]
jottr has joined #ruby
Fizzik_ has joined #ruby
<memo1> havenwood: i use the rvm alias gpstracker ruby2.3.1@gps_tracker. It creates the wrappers on .rvm/wrappers.
jcarl43 has quit [Quit: WeeChat 2.1]
<memo1> havenwood: on the unifile, i set ExecStart=/home/.rvm/wrapper/gpstracker/gps_tracker.rb. But it fails
jottr has quit [Ping timeout: 260 seconds]
<havenwood> memo1: is that an executable file? i don't have time to help you debug at the moment, but someone else might. what's the error? what are the systemd logs showing?
carnegie has joined #ruby
<memo1> havenwood: is a executable file
<havenwood> memo1: so it has a shebang, and executable permissions?
<havenwood> memo1: Does it run if you try it without SystemD?
<havenwood> memo1: You've said it "fails" but we need more to go off of. Try without SystemD, make sure the Ruby works. Try SystemD with a non-Ruby script, make sure that works. La méthode scientifique!
white_lilies has joined #ruby
amar has joined #ruby
caleBOT has joined #ruby
<memo1> havenwood: sure, it has sheband, it runs alone ./gps_server.rb. But whre trying unit file, it can find the require packages i use.
caleBOT_ has joined #ruby
<memo1> havenwood: it works!
<memo1> havenwood: wrappers "wrappes" ruby enviroment. so in the unir file i have to set wrapper.ruby /path/to/script
duckpuppy has joined #ruby
amar has quit [Ping timeout: 256 seconds]