<isene>
I am experiencing some kind of brain fart; In trying to load a config file, I simply cannot make it load correctly. Tring in irb with a simple file "test" containing only "a = 2" it reports "true" with "load test" (but a is not set to 2) and with "require test" I get: LoadError: cannot load such file -- test; from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
<isene>
what the heck is going on here?
alfiemax_ has joined #ruby
<isene>
nvm
<isene>
found the issue
alfiemax has quit [Ping timeout: 264 seconds]
impermanence has quit [Quit: Connection closed]
Ai9zO5AP has joined #ruby
i9zO5AP has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Ping timeout: 272 seconds]
fuzzface has quit [Quit: Leaving]
ur5us has joined #ruby
swaggboi has quit [Quit: C-x C-c]
meagar has joined #ruby
swaggboi has joined #ruby
adu has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
semz has quit [Ping timeout: 260 seconds]
adu has quit [Quit: adu]
alfiemax has joined #ruby
ChmEarl has quit [Quit: Leaving]
ellcs has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
ellcs has joined #ruby
meagar has quit [Ping timeout: 246 seconds]
mattfly has joined #ruby
<mattfly>
Is ruby dying?
<mattfly>
Im a 5 years long pythonist and just found out about ruby now.... And I those "easy" languages that are able to scale and do complex things.. without caring to be efficient. But never thought that many things in ruby were already easier than in python! seriously: p "hello world" # shortest hello world ever?; random(100..999); x= "concatenate" "strings" "like" "this".... call methods without () when is not needed, "Is there any string he
<mattfly>
"["string"]... real OOP with actual private methods..... And so many ways to rewrite the same thing that would fit for any programming background you have... I am finding it fancy... why is python on the hype and not ruby?
<mozzarella>
ruby had its moment, when ruby on rails came out it became quite popular
<mozzarella>
btw "p" is more for debugging purposes, if you want to print "normal" text to the terminal you'd use "puts"
<mozzarella>
> puts 'test'
<mozzarella>
>> puts 'test'
<ruby[bot]>
mozzarella: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<mozzarella>
is our repl bot broken? lol
<mattfly>
oh a repl bot?
<mattfly>
>> "world".prepend("hello ")
<ruby[bot]>
mattfly: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<mattfly>
seems broken
adu has joined #ruby
pokalyis_ has joined #ruby
alfiemax_ has joined #ruby
pokalyis has joined #ruby
pokalyis_ has quit [Ping timeout: 258 seconds]
alfiemax_ has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
aef has quit [Remote host closed the connection]
duderonomy has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
Caerus has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ByronJohnson has quit [Remote host closed the connection]
Caerus has joined #ruby
znz_jp has quit [Remote host closed the connection]