jnollette has quit [Quit: ZNC 1.6.5 - http://znc.in]
sameerynho has quit [Ping timeout: 248 seconds]
jnollette has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
matju has joined #ruby
lxsameer has joined #ruby
kapil___ has joined #ruby
lxsameer has quit [Ping timeout: 245 seconds]
lxsameer has joined #ruby
phynite has quit [Ping timeout: 260 seconds]
DTZUZO has joined #ruby
BloopMonster has quit [Ping timeout: 264 seconds]
lxsameer has quit [Ping timeout: 248 seconds]
DTZUZO has quit [Ping timeout: 264 seconds]
apparition has quit [Quit: Bye]
lxsameer has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
karapetyan has joined #ruby
karapetyan has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
icarus has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 265 seconds]
alex`` has quit [Ping timeout: 268 seconds]
yokel has joined #ruby
bpaysen has joined #ruby
nowhere_man has joined #ruby
<bpaysen>
test
<matju>
bpaysen, test.
jenrzzz has quit [Ping timeout: 264 seconds]
<bpaysen>
New to Colloquy. Is this where I ask Ruby questions?
<go|dfish>
bpaysen: welcome, yes
<bpaysen>
I have a function with an array in the body, no return statement or any other functionality. What does it do, or what would the purpose of this be?
lxsameer has joined #ruby
<go|dfish>
bpaysen: hmmm?
<Zarthus>
ruby by default returns the result of the last expression
<bpaysen>
so a return is implied then?
<Zarthus>
yup
<Zarthus>
>> def a; 'hello'; end; puts a
<ruby[bot]>
Zarthus: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ropeney has quit [Quit: WeeChat 2.0.1]
roamingdog has quit [Remote host closed the connection]
ropeney has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
ropeney has quit [Client Quit]
roamingdog has joined #ruby
ropeney has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
ropeney has quit [Client Quit]
ropeney has joined #ruby
ropeney has quit [Client Quit]
ropeney has joined #ruby
alex``` has joined #ruby
ropeney has quit [Client Quit]
alex`` has quit [Ping timeout: 264 seconds]
ropeney has joined #ruby
mozzarella has joined #ruby
lxsameer has joined #ruby
ropeney has quit [Quit: WeeChat 2.0.1]
ropeney has joined #ruby
tdy has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
bradleyprice has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 264 seconds]
starseed0000 has quit [Ping timeout: 245 seconds]
bradleyprice has joined #ruby
ropeney has quit [Quit: WeeChat 2.0.1]
amar has joined #ruby
wontruefree has joined #ruby
Guest23029 has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Nicmavr is now known as Guest39400
amar has quit [Ping timeout: 245 seconds]
Puffball_ has joined #ruby
lxsameer has joined #ruby
pauliesaint has quit [Ping timeout: 248 seconds]
Puffball has quit [Ping timeout: 240 seconds]
BloopMonster has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
vonfry has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
taylorzr has quit [Ping timeout: 245 seconds]
lxsameer has quit [Ping timeout: 268 seconds]
conta has joined #ruby
za1b1tsu has joined #ruby
claudiuinberlin has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
BloopMonster has quit [Ping timeout: 265 seconds]
apeiros has joined #ruby
anisha has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
wontruefree has quit [Quit: bye]
mike11 has joined #ruby
clemens3 has joined #ruby
za1b1tsu has quit [Ping timeout: 245 seconds]
meinside has quit [Quit: Connection closed for inactivity]
za1b1tsu has joined #ruby
biberu has joined #ruby
lxsameer has joined #ruby
megamos has joined #ruby
Es0teric has joined #ruby
suukim has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
schleppel has quit [Quit: Konversation terminated!]
Puffball_ has quit [Quit: Puffball_]
jenrzzz has quit [Ping timeout: 240 seconds]
dr3w_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
DeepIO has joined #ruby
DeepIO has quit [Client Quit]
bjpenn has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
amar has joined #ruby
megamos has quit [Ping timeout: 276 seconds]
alem0lars has joined #ruby
amar has quit [Ping timeout: 265 seconds]
schleppel has joined #ruby
lxsameer has joined #ruby
apparition has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has quit [Ping timeout: 264 seconds]
Emmanuel_Chanel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dhollin3 has joined #ruby
FernandoBasso has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
naftilos76 has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
<naftilos76>
Hi i have just tried executing a ruby script that starts with "#!/usr/bin ruby" and the next line is "puts "this is a test" and i get: bash: ./test: /usr/bin: bad interpreter: Permission denied . The file's permissions are -rwxrwxr-x .
<naftilos76>
When i do `which ruby` in a terminal i get /usr/bin/ruby
<naftilos76>
I am using rvm but at this point i have done 'rvm use system'
<naftilos76>
if i do: ruby test then it works!
<naftilos76>
Isn't that weird? I am on Linux mint 18.3
<naftilos76>
Has anybody got a clue what this is all about?
amar has joined #ruby
<Zarthus>
try replacing #!/usr/bin ruby with #!/usr/bin/ruby
<Zarthus>
maybe they meant #!/usr/bin/env ruby
<naftilos76>
Zarthus: it works thanks with /usr/bin/env
<mike11>
Zarthus: good eyes, I couldn't notice there is a space instead of the forward slash there :)
<Zarthus>
Mike11: the big magnifying glass in front of them might give me a distinct advantage.
* Zarthus
has -8's
<mike11>
lol :D
amar has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 248 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
bjpenn has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
BloopMonster has joined #ruby
amar has quit [Remote host closed the connection]
<vonfry>
quit
vonfry has quit [Quit: WeeChat 2.1]
roamingdog has joined #ruby
mike11 has quit [Quit: Leaving.]
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
anisha has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 276 seconds]
roamingdog has quit [Ping timeout: 256 seconds]
bjpenn has joined #ruby
sameerynho has joined #ruby
maiz has joined #ruby
icarus has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
bjpenn has quit [Ping timeout: 248 seconds]
AJA4350 has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
DTZUZU has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
DTZUZO has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
kapil___ has joined #ruby
DTZUZO has quit [Ping timeout: 260 seconds]
DTZUZO has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
BloopMonster has quit [Ping timeout: 268 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
bjpenn has joined #ruby
megamos has joined #ruby
reber has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
lxsameer has joined #ruby
ski7777 has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
mniip has quit [Ping timeout: 633 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
mupt has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
ski7777 has joined #ruby
pauliesaint has joined #ruby
konsolebox has joined #ruby
megamos has quit [Ping timeout: 245 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has joined #ruby
karapety_ has joined #ruby
mupt has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
karapety_ has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
ski7777 has quit [Ping timeout: 256 seconds]
QualityAddict has joined #ruby
jasmith has quit [Ping timeout: 260 seconds]
ski7777 has joined #ruby
lxsameer has joined #ruby
nima_m has joined #ruby
<za1b1tsu>
I dont understand something about rvm and macos system ruby, if I use whereis ruby it outputs: /usr/bin/ruby . This means that it uses the system ruby by default, correct?
jenrzzz has quit [Ping timeout: 240 seconds]
ski7777 has quit [Ping timeout: 265 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lxsameer has joined #ruby
ski7777 has joined #ruby
bjpenn has quit [Ping timeout: 264 seconds]
leah2 has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 256 seconds]
<cout>
huh
<cout>
I just learned that if you type "irb" inside irb, it gives new a new irb inside irb
mniip has joined #ruby
<tbuehlmann>
irb
<tbuehlmann>
:(
<cout>
yes I know pry > *
mupt has joined #ruby
conta has quit [Quit: conta]
<tbuehlmann>
no, well, yes, but my IRC client obviously doesn't have a built-in irb :)
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
leah2 has joined #ruby
lxsameer has joined #ruby
desperek has joined #ruby
reber has quit [Remote host closed the connection]
bjpenn has joined #ruby
suukim has quit [Quit: Konversation terminated!]
claudiuinberlin has joined #ruby
lxsameer has quit [Ping timeout: 248 seconds]
psychicist__ has joined #ruby
bjpenn has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
BloopMonster has joined #ruby
alem0lars has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ruby
megamos has joined #ruby
mupt has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
Alina-malina has joined #ruby
megamos has quit [Ping timeout: 240 seconds]
SanguineAnomaly has quit [Ping timeout: 256 seconds]
bjpenn has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
quobo has joined #ruby
SanguineAnomaly has joined #ruby
nertzy3 has quit [Ping timeout: 260 seconds]
BloopMonster has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
karapetyan has joined #ruby
cdunklau has quit [Quit: leaving]
Mqll has joined #ruby
cadillac_ has quit [Ping timeout: 264 seconds]
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
SanguineAnomaly has quit [Ping timeout: 260 seconds]
cadillac_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
karapetyan has quit [Remote host closed the connection]
schleppel has quit [Read error: Connection reset by peer]
biberu has quit []
clemens3 has quit [Ping timeout: 240 seconds]
haraoka has joined #ruby
BloopMonster has joined #ruby
nythalcrow has quit [Ping timeout: 256 seconds]
karapetyan has quit [Remote host closed the connection]
lordtolstoi has joined #ruby
haraoka has quit [Ping timeout: 256 seconds]
Mike11 has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nythalcrow has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
eckhardt has joined #ruby
lxsameer has joined #ruby
nowhere_man has joined #ruby
karapetyan has joined #ruby
jrafanie has joined #ruby
caleBOT has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
caleBOT has quit [Ping timeout: 240 seconds]
jnollette has quit [Remote host closed the connection]
tdy has joined #ruby
Crackville has joined #ruby
Mike11 has quit [Quit: Leaving.]
jnollette has joined #ruby
roamingdog has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
lxsameer has quit [Ping timeout: 256 seconds]
alex`` has quit [Quit: WeeChat 2.1]
linduxed has quit [Ping timeout: 255 seconds]
vindvaki has joined #ruby
linduxed has joined #ruby
gnufied has joined #ruby
bga57 has joined #ruby
sameerynho has quit [Ping timeout: 264 seconds]
thone has quit [Quit: Lost terminal]
venmx has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
roamingdog has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 256 seconds]
gnufied has quit [Ping timeout: 264 seconds]
psychicist__ has quit [Ping timeout: 245 seconds]
tolerablyjake has quit [Ping timeout: 245 seconds]
ellcs has quit [Ping timeout: 240 seconds]
starseed0000 has quit [Ping timeout: 276 seconds]
caleBOT has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
focodev has joined #ruby
vindvaki has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
roamingdog has joined #ruby
Crackville has quit [Ping timeout: 264 seconds]
<focodev>
what's up all you hipsters that write ruby... I am taking a Ruby on Rails class... I have a model for Albums that has hte relationship belongs_to :label and the model Labels that has the relationship has_many :albums
<focodev>
in my view when I display @album.label it displays the object id of the object.... PERFECT AWESOME.
<focodev>
but if I want to display the label property NAME i get an error
<focodev>
@album.label.name
<focodev>
wtf?
karapetyan has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 248 seconds]
BloopMonster has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 256 seconds]
caleBOT has quit [Remote host closed the connection]
focodev has quit [Quit: Page closed]
caleBOT has joined #ruby
gheegh has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
wontruefree has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
darkhanb has joined #ruby
wontruefree has joined #ruby
twe4ked has quit [Ping timeout: 240 seconds]
twe4ked has joined #ruby
wontruefree has quit [Ping timeout: 276 seconds]
wontruefree has joined #ruby
lxsameer has joined #ruby
caleBOT has quit [Remote host closed the connection]
chouhoulis has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
wontruef_ has joined #ruby
punnie has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]