baweaver 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-preview1: 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
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has joined #ruby
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
jcarl43 has quit [Quit: WeeChat 2.1]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
cthulchu_ has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
tmkn has joined #ruby
karapetyan has joined #ruby
cagomez has quit [Ping timeout: 264 seconds]
jyaworski has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
johnny56 has quit [Ping timeout: 276 seconds]
johnny56_ has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
karapetyan has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 265 seconds]
tmkn has quit [Quit: Leaving]
jyaworski has quit [Ping timeout: 260 seconds]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
bmurt has joined #ruby
jeen has joined #ruby
alfiemax has joined #ruby
bmurt has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
jyaworski has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has quit [Ping timeout: 268 seconds]
noycesauce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noycesauce has joined #ruby
sameerynho has quit [Ping timeout: 248 seconds]
apparition has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
apparition has quit [Read error: Connection reset by peer]
cyberg has quit [Remote host closed the connection]
noycesauce has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
apparition has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Remote host closed the connection]
apparition has quit [Client Quit]
apparition has joined #ruby
ramfjord has joined #ruby
dinfuehr has joined #ruby
cagomez has joined #ruby
apparition has quit [Client Quit]
jyaworski has quit [Ping timeout: 248 seconds]
Yzguy has joined #ruby
dinfuehr_ has quit [Ping timeout: 256 seconds]
cagomez has quit [Ping timeout: 256 seconds]
nnm has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
ivanskie has joined #ruby
nnm- has quit [Ping timeout: 256 seconds]
dr3w_ has joined #ruby
anisha has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
Yzguy has quit [Quit: Zzz...]
alfiemax has joined #ruby
Yzguy has joined #ruby
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has quit [Ping timeout: 248 seconds]
jyaworski has joined #ruby
jeen has quit [Quit: This computer has gone to sleep]
jyaworski has quit [Ping timeout: 240 seconds]
chocoelho has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
n0m4d1c has quit [Remote host closed the connection]
jyaworski has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
x77686d has quit [Quit: x77686d]
gnufied has quit [Quit: Leaving]
pilne has quit [Quit: Leaving]
kapil___ has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
nausea has quit [Quit: ZNC - http://znc.in]
alfiemax has joined #ruby
cschneid_ has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
Josh| has joined #ruby
<Josh|> Hello, I'm trying to get the first of the month in my ruby program I already have today's date however I'm trying to create a variable to get the first of the month. Can anyone help me?
<Josh|> First of the month based off todays date
<Josh|> so like may 1st.
jyaworski has joined #ruby
n0m4d1c has joined #ruby
cschneid_ has joined #ruby
<Josh|> i is what have date = pdate=Date.today puts "Login Activity Report for the period #{date.strftime("%y/%m/%d")} through #{pdate.strftime("%y/%m/%d")}"
jyaworski has quit [Ping timeout: 240 seconds]
Defenestrate has joined #ruby
Defenestrate has joined #ruby
Defenestrate has quit [Changing host]
Defenestrate has quit [Client Quit]
ramfjord has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 268 seconds]
jeen has joined #ruby
quackinator has joined #ruby
orbyt_ has joined #ruby
<Josh|> you all are no help I got it thanks! :)
Josh| has quit [Quit: Page closed]
ciscam has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
PaulePanter has quit [Remote host closed the connection]
x77686d has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
exchgr has quit [Quit: ZNC - http://znc.in]
schooner has quit [Quit: schooner]
exchgr has joined #ruby
x77686d has quit [Quit: x77686d]
<miah>
konsolebox has quit [Ping timeout: 248 seconds]
n0m4d1c has quit [Remote host closed the connection]
konsolebox has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
Deesl has joined #ruby
x77686d has joined #ruby
mr_rich101 has quit [Quit: ZNC - http://znc.in]
mr_rich101 has joined #ruby
donofrio has quit [Remote host closed the connection]
jyaworski has joined #ruby
pinkfloyd1911 has quit [Quit: Aerosmith tickets. Top priority of the summer.]
cschneid_ has quit [Remote host closed the connection]
RyanMcCoskrie has joined #ruby
<RyanMcCoskrie> Afternoon everyone
clemens3 has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
jyaworski has joined #ruby
jeen has quit [Quit: This computer has gone to sleep]
dr3w_ has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
dr3w_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 264 seconds]
jamesaxl has quit [Quit: WeeChat 2.1]
conta has joined #ruby
jyaworski has quit [Ping timeout: 248 seconds]
jeen has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
jyaworski has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
armyriad has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
galeido has joined #ruby
galeido has joined #ruby
galeido has quit [Changing host]
galeido has quit [Client Quit]
galeido has joined #ruby
conta has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
jyaworski has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Deesl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has joined #ruby
FastJack_ has joined #ruby
quackinator has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 240 seconds]
FastJack has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: Zzz...]
jyaworski has quit [Ping timeout: 248 seconds]
neuromanc_r has quit [*.net *.split]
LenPayne has quit [*.net *.split]
sirecote has quit [*.net *.split]
solidsnack has quit [*.net *.split]
ewilliam has quit [*.net *.split]
rfv has quit [*.net *.split]
bauruine has quit [*.net *.split]
cstrahan has quit [*.net *.split]
cout has quit [*.net *.split]
G has quit [*.net *.split]
swein has quit [*.net *.split]
duracrisis has quit [*.net *.split]
andersh has quit [*.net *.split]
veloutin has quit [*.net *.split]
harmaahylje has quit [*.net *.split]
bougyman has quit [*.net *.split]
varesa_ has quit [*.net *.split]
veloutin has joined #ruby
cout has joined #ruby
sirecote_ has joined #ruby
G has joined #ruby
bougyman has joined #ruby
harmaahylje has joined #ruby
LenPayne has joined #ruby
swein has joined #ruby
andersh has joined #ruby
solidsnack has joined #ruby
ewilliam_ has joined #ruby
sirecote_ is now known as sirecote
cstrahan has joined #ruby
rfv has joined #ruby
neuromanc_r has joined #ruby
Milos has left #ruby ["Leaving"]
j0bk has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 260 seconds]
jinie has quit [Ping timeout: 260 seconds]
duracrisis has joined #ruby
Fridtjof has quit [Ping timeout: 240 seconds]
jeen_ has joined #ruby
alfiemax_ has joined #ruby
cgfbee has quit [Ping timeout: 240 seconds]
jeen has quit [Ping timeout: 264 seconds]
jinie has joined #ruby
j0bk has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
Fridtjof has joined #ruby
bauruine has joined #ruby
chris349 has quit [Ping timeout: 263 seconds]
rkazak has quit [Quit: Sleep.....ing....]
troys has quit [Quit: Bye]
infernix has joined #ruby
cgfbee has joined #ruby
sauvin has joined #ruby
varesa_ has joined #ruby
jeen_ has quit [Quit: Leaving]
nnm- has joined #ruby
conta has joined #ruby
nnm has quit [Ping timeout: 268 seconds]
dn` has left #ruby [#ruby]
conta has quit [Ping timeout: 264 seconds]
amelliaa has joined #ruby
aupadhye has joined #ruby
jyaworski has joined #ruby
rprimus has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
stoffus has joined #ruby
galeido has quit [Quit: Leaving]
galeido has joined #ruby
alfiemax has joined #ruby
suukim has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jyaworski has quit [Ping timeout: 256 seconds]
nnm has joined #ruby
d^sh has quit [Ping timeout: 264 seconds]
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
alfiemax has joined #ruby
nnm- has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
jyaworski has joined #ruby
minimalism has quit [Quit: minimalism]
conta has joined #ruby
ta_ has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 260 seconds]
ix has joined #ruby
mjolnird has quit [Remote host closed the connection]
conta has quit [Quit: conta]
conta has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
anisha has quit [Ping timeout: 240 seconds]
TinkerT has quit [Read error: Connection reset by peer]
mjolnird has joined #ruby
TinkerT has joined #ruby
dionysus69 has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
TomyWork has joined #ruby
anisha has joined #ruby
jyaworski has joined #ruby
armyriad has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #ruby
andikr has joined #ruby
alex`` has quit [Ping timeout: 265 seconds]
ujjain3 has joined #ruby
cliluw has quit [Ping timeout: 260 seconds]
FastJack_ has quit [Quit: leaving]
FastJack has joined #ruby
alex`` has joined #ruby
jyaworski has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
ujjain2 has quit [Ping timeout: 264 seconds]
cliluw has joined #ruby
ta_ has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
inerthia has joined #ruby
inerthia has quit [Client Quit]
inerthia has joined #ruby
conta has quit [Remote host closed the connection]
ramfjord has joined #ruby
conta has joined #ruby
vondruch has joined #ruby
tvw has joined #ruby
clemens3 has joined #ruby
drale2k_ has joined #ruby
schneider- has joined #ruby
d^sh has joined #ruby
<dminuoso> :|
<dminuoso> Am I crazy to want modules in ruby?
inerthia has quit [Read error: Connection reset by peer]
<dminuoso> I just had the strong desire to create a `person.rb` with some `Person = Struct.new(:name, :age, :hobbies)` but this is going to create namespace issues..
inerthia has joined #ruby
inerthia has quit [Client Quit]
inerthia has joined #ruby
yohji has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
nnm has quit [Ping timeout: 268 seconds]
<RyanMcCoskrie> dminuoso: Do you mean a style of module from another language?
<RyanMcCoskrie> Ruby already has something called modules but they're (mostly) rather simple
Burgestrand has joined #ruby
<dminuoso> RyanMcCoskrie: I mean it in the sense of program modules.
dionysus69 has joined #ruby
<dminuoso> Something that can export symbols, something I can import symbols from.
kapil___ has quit [Quit: Connection closed for inactivity]
<RyanMcCoskrie> Oh. As opposed to requiring files?
<dminuoso> RyanMcCoskrie: `require` is just an upgraded `eval`.
<dminuoso> I dont want to eval my complex program in hopefully the right order so that everything resolves correctly.
alfiemax_ has quit [Remote host closed the connection]
<RyanMcCoskrie> dminuoso: With some weird gotchas
jyaworski has joined #ruby
<RyanMcCoskrie> I've been working on a project that uses directories of source as psuedo-namespaces.
nadir has joined #ruby
cliluw has quit [Ping timeout: 255 seconds]
<dminuoso> RyanMcCoskrie: It creates too much annoying mess.
<RyanMcCoskrie> Your idea or what I have been doing?
<dminuoso> RyanMcCoskrie: directories themselves dont create namespacs.
<konsolebox> using directories to reflect the application's modular structure is my style. i don't get namespace issues, and i don't find it messy.
<dminuoso> konsolebox: Take my example of `Person = ...`
<dminuoso> konsolebox: do that twice and you are potentially screwed.
nowhere_man has quit [Ping timeout: 256 seconds]
<dminuoso> So you start stuffing things inside modules. But that gets tiresome to use, so you start including modules
<dminuoso> And that will cause lookup problems because ruby nesting is dynamic
ramfjord has quit [Ping timeout: 276 seconds]
<dminuoso> konsolebox: In reality people will keep `Person = ...` inside the same class they are using it, creating monstreous classes. I dont want this as a mixin, I just want a light weight "type" that I can use and throw away/forget about it
<konsolebox> "do that twice and you are potentially screwed." -> but isn't it isolated in person.rb, which can always only be included once?
<dminuoso> konsolebox: maybe you have some `thieves/person.rb` and some `employees/person.rb`
<konsolebox> yes
<konsolebox> or i'll have person.rb, thieves/thief.rb, employees/employee.rb
<dminuoso> konsolebox: My intent is to create a Person type.
cliluw has joined #ruby
<dminuoso> I dont want ruby to dictate how I should name my classes just because it doesnt have program modules with namespaces.
<konsolebox> no, actually, i'd prefer person.rb, thief.rb, employee.rb, thieves/some_thief.rb, ...
<dminuoso> konsolebox: It's just a countermeasure to avoid nameclashes. _that_ itself is the problem
<dminuoso> I dont want to have to avoid nameclashes.
jottr has joined #ruby
amar has quit [Remote host closed the connection]
<dminuoso> konsolebox: what if for some reason you _wanted_ to have some person.rb in different places?
<dminuoso> You're essentially forced to use modules or classes as namespaces.
<konsolebox> i use modules as namespaces
<dminuoso> So that gets tiresome real fast becaus I dont want to have to specify Foo::Bar::Quux::Person just to avoid nameclashes.
<dminuoso> If your response is `well include the module` that quickly produces so many problems because you dont know what else `Foo::Bar::Quux` might include.
<dminuoso> You might completely fuck up method lookup
marr has joined #ruby
<dminuoso> Or it might create other constant lookup issues
<dminuoso> The only thing you can do
<dminuoso> Is create a local variable
<dminuoso> person = Foo::Bar::Quux::Person
<dminuoso> ruby is based on "eval things in the right order in the right places, so method lookup and constant lookup hopefully does the right thinig"
jyaworski has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Quit: dionysus69]
<dminuoso> </rageEnd>
jottr has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
envex has quit [Ping timeout: 240 seconds]
<konsolebox> dminuoso: i wouldn't rely on "including the module" as a solution. i find that inconsistent. also, what about using constants as aliases? and, are you saying you would want to use 'require' inside a scope of a module? i still can't exactly picture what you want to do sorry.
<dminuoso> konsolebox: constant as aliases increases potential nameclashes
jamesaxl has joined #ruby
<dminuoso> konsolebox: I want to be able to say `import './person' { Person }` or some variation thereof.
<dminuoso> konsolebox: And I want ruby to do the right thing.
<dminuoso> I want to be able to pull some module in, while having the guarantee that no other modules got randomly changed.
mwlang has joined #ruby
<dminuoso> konsolebox: the only safe way is to use local variables as aliases because they are locally scoped.
<dminuoso> So the only thing that is isolated in a ruby file, is top level methods and local variables.
<dminuoso> I want constants to be completely isolated too.
<konsolebox> dminuoso: how would they possibly get changed?
<dminuoso> file.rb: class Array; def [](a); 42; end; end
<dminuoso> require 'file'
<konsolebox> dminuoso: i still don't get it. if Person is in person.rb, wouldn't it remain in ::Person unchanged no matter how many times 'person.rb' is required?
<dminuoso> Voila. You thought you got some `File` thing, but in reality it changed some other class.
<konsolebox> dminuoso: which would be the case unless you use module X; require 'person.rb; end
<dminuoso> konsolebox: You cant have two files defining `Person = ...` at the same time.
tomphp has joined #ruby
<konsolebox> dminuoso: ah i see
<dminuoso> konsolebox: Because remember, `Person = ...` is actually: `Object::Person = ...`
<dminuoso> Or more to the point
<dminuoso> `::Object::Person = ...`
<dminuoso> konsolebox: requiring other files is based on the extremely lose contract that every ruby file is a program that manipulates global state.
<dminuoso> the state of the class `Object`
<dminuoso> so `require` really means "run this file once" in hopes of its side effects being visible in the global `Object` class.
x77686d has quit [Quit: x77686d]
<dminuoso> ruby files are programs that mutate global Object.
alfiemax has joined #ruby
<dminuoso> And side effects might have dependencies. Maybe you need some previous modification of Object to occur before you can run another program.
<dminuoso> So you suddenly _have_ to `require "file1"` before `require "file2"`
<dminuoso> and maybe you `require` things just for effects.
<dminuoso> require "debugArray"
<dminuoso> suddenly `[1,2,3,4][1]` might start a debugging session
kapil___ has joined #ruby
<dminuoso> ruby files should not be seen as isolated files. they are an imperative "lets mutate the global Object because some other program relies on the modifications I make"
<dminuoso> rather than "this file provides class XYZ"
<konsolebox> dminuoso: i know the concepts of including files once. i have a compiler in shell scripts for that. but i think i get what you want now. it's impossible in Ruby though. Ruby is similar to C++.
<dminuoso> Rubyists just tend to use the former to do the latter.
x77686d has joined #ruby
za1b1tsu has joined #ruby
nowhere_man has joined #ruby
<dminuoso> konsolebox: How is Ruby on earth related to C++ in any way whatsoever?
<dminuoso> like..
<dminuoso> beyond sharing the keyword `class`
<konsolebox> dminuoso: because namespaces can be located anywhere in any file
<dminuoso> C++ programs dont mutate things either.
<dminuoso> konsolebox: Yes but the "pasteritis" is limited to headers.
<dminuoso> konsolebox: It's controllable and avoidable.
<dminuoso> Because ultimately you can create seperate object files
<dminuoso> ohhh
<dminuoso> I see what you mean
<konsolebox> dminuoso: object files are just a compilation. they don't necessarily limit themselves to just specific namespaces.
<dminuoso> Yes. In that sense namespaces suck.
amar has joined #ruby
Emmanuel_Chanel has joined #ruby
houhoulis has joined #ruby
<dminuoso> konsolebox: they limit themselves to specific namespaces.
<dminuoso> konsolebox: because namespaces influence name mangling.
<dminuoso> konsolebox: But like I said. It's controllable. Namespaces are kept separate from code so its not too terrible.
<dminuoso> But in Ruby a module is more than a namespace. It's a vehicle for const lookup and method lookup
cliluw has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
amar has quit [Ping timeout: 264 seconds]
<konsolebox> dminuoso: this is why the only way is to get what you want done right, is to use "namespaces" and make files reflect to the structures. having Person declared in many places but ./person.rb imo is bad design. now if we are to worry that some libraries might declare ::Person or ::Object::Person as well, the only way to avoid conflict with it in our application, is to use our own major "namespace". e.g. MyApplication, so our Person would be
<konsolebox> MyApplication::Person
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Max SendQ exceeded]
<dminuoso> konsolebox: Why is it bad design in general? If I have a local problem, and I want to create some types to describe/model my problem, why is it generally bad to create a local class/type for it?
<konsolebox> i don't think there's such a thing as a local class that is not anonymous
<dminuoso> konsolebox: There is. As long as you stuff the class inside a local variable.
<konsolebox> you declare a class/module in a scope where you declare it
<dminuoso> But that severely restricts the palces where I can do this.
houhoulis has quit [Remote host closed the connection]
<dminuoso> konsolebox: you dont "declare" classes.
<dminuoso> You *create* them.
<dminuoso> Which is part of the problem really
<konsolebox> or define, it doesn't matter
<konsolebox> the x = Create.new() .. or x = Struct.new() is what i described as anonymous declaration
cliluw has joined #ruby
<konsolebox> if you use 'class X; end', it's not local declaration/creation
<dminuoso> konsolebox: Let's pick a slightly better example, it's representative because its a problem Im working on at the moment (not in ruby though but who cares)
RyanMcCoskrie has quit [Remote host closed the connection]
<dminuoso> konsolebox: So right now I have a server dealing with various network protocols. As part of that there's different notions of `Header` that I have.
Emmanuel_Chanel has joined #ruby
<dminuoso> So I just invoke thors hammer and create a type `Header` out of thin air for a local module so I can write some code with `Header`.
<dminuoso> No other module needs this.
suukim has quit [Quit: Konversation terminated!]
<dminuoso> 10:27 konsolebox | the x = Create.new() .. or x = Struct.new() is what i described as anonymous declaration
<dminuoso> This doesnt really work.
<dminuoso> Let me show you why
<dminuoso> konsolebox: https://eval.in/999188
<dminuoso> The only other place it could go is this: https://eval.in/999189
<dminuoso> But that wont work either.
<dminuoso> And I absolutely without a questoin dont want to create a class on the spot when I need it. That's just computational overhead that is downright silly
schleppel has joined #ruby
<dminuoso> Now I could probably use refinements to do this, but they are god awful to use.
<dminuoso> konsolebox: https://eval.in/999190 this is also a trick you could do.
<dminuoso> But no, I dont want to have to use methods to hack this in.
<dminuoso> Besides
<dminuoso> I dont want that thing inside the same file anyway
PaulePanter has joined #ruby
venmx has quit [Quit: leaving]
guille-moe has joined #ruby
<dminuoso> I mean hey. Even awful JavaScript has proper modules.
<dminuoso> It's like Crockford has found out: JavaScript has good parts - the book was just really small.. =)
<konsolebox> dminuoso: i think i now get what you mean, but like i said, the only way to avoid nameclashes in Object namespace is to use another personal namespace
<konsolebox> also for your example, you can create Problem::A
<dminuoso> I guess I could create local aliases in the places I need it..
<dminuoso> like `person = Foo::Bar::Quux::Person`
<dminuoso> I mean Ive been doing it for a while now, but it's mildly annoying
armyriad has joined #ruby
Mike11 has joined #ruby
amelliaa has quit [Quit: -]
<ix> hello. It seemed that I had some older version of ruby installed so Itried some code :) https://eval.in/999198
<ix> I have some issues , i thinkit's because of the scope, if any of you could check it out, it would be really cool.
amar has joined #ruby
<ix> basically i'm doing a parser, that goes a file line by line and gets 'the action' and 'the data' and then does database stuff with those.
<dminuoso> ix: Let's fix some regular things.
<dminuoso> ix: So instead of manually opening and closing, the standard way is to use the callback variant with a block.
<dminuoso> ix: That is `File.open(...) { |fh| .. use fh here .. }`
<dminuoso> it will automatically close the file handle
x77686d has quit [Quit: x77686d]
<dminuoso> ix: Then tell us what your problem is.
sysvalve has joined #ruby
x77686d has joined #ruby
<ix> i'm sorry, i started yesterday. I'm blind to my errors.
jamesaxl has quit [Quit: WeeChat 2.1]
<kke> lately i've run a couple of times into a situation where bundler happily installs incompatible dependencies and everything seems to work fine, but then doing gem build + gem install for the thing fails because of unresolvable deps. seems weird to me that bundler does not complain.
jamesaxl has joined #ruby
nowhere_man has quit [Remote host closed the connection]
govg has joined #ruby
nowhere_man has joined #ruby
tomphp has joined #ruby
pwnd_nsfw has joined #ruby
tomphp has quit [Client Quit]
Matthew1 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.1]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
<konsolebox> ix: remember that `line` only gets renewed on a new iteration of the loop, not after you check it with =~. i'm also not sure about the lifetime of c1. maybe you need to use @c1 instead. still it's bad logic that you presume c1 is already instantiated inside `if line =~ /\s*(K)\s*/`.
claudiuinberlin has quit [Ping timeout: 255 seconds]
<ix> yes, i did modify the code to hilight the problem. and the c1 should be dynamic too.
nowhere_man has quit [Ping timeout: 260 seconds]
<ix> basically it should create a new Contender when the line has 'Paramz' and any lines that contain the id of that Contender would be then added to the class. 'c1.testAdd' here
nowhere_man has joined #ruby
x77686d has quit [Quit: x77686d]
Matthew1 has quit [Remote host closed the connection]
za1b1tsu has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Ping timeout: 256 seconds]
za1b1tsu has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
amar has quit [Remote host closed the connection]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
psychicist__ has joined #ruby
inerthia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ellcs has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
ferr1 has joined #ruby
ferr1 has left #ruby [#ruby]
alfiemax has quit [Remote host closed the connection]
x77686d has joined #ruby
jyaworski has joined #ruby
tomphp has joined #ruby
nowhere_man has joined #ruby
jottr has joined #ruby
karapetyan has joined #ruby
<kapil___> How to convert string to underscore case?
nowhere_man has quit [Ping timeout: 264 seconds]
<al2o3-cr> kapil___: from camelcase?
<kapil___> Yes
conta has quit [Ping timeout: 264 seconds]
_antares_ has joined #ruby
<apeiros> kapil___: require "active_support/core_ext/string/inflections"; "HelloWorld".underscore # => "hello_world"
za1b1tsu has joined #ruby
<kapil___> apeiros: thanks
<al2o3-cr> kapil___: "FooBar".gsub(/(.)(\p{Uppercase})/, '\1_\2').downcase
jyaworski has quit [Ping timeout: 256 seconds]
<kapil___> al2o3-cr: thanks
schneider- has quit [Ping timeout: 240 seconds]
<al2o3-cr> :)
<al2o3-cr> i'm happy its friday, roll on the long weekend.
<kapil___> great
<kapil___> al2o3-cr: do you have not to go to job on Saturday?
<al2o3-cr> kapil___: no, i never work weekends.
<kapil___> Oh in my country people mad behind money
jyaworski has joined #ruby
<al2o3-cr> mon-fri is good enough for me :P
<kapil___> How many hours you work on mon-friday?
<al2o3-cr> kapil___: depends
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<al2o3-cr> between 40-60 hrs p/w
<kapil___> I also want to free, I working so much hours everyday
<al2o3-cr> entirely upto me though
yohji has quit [Ping timeout: 240 seconds]
<kapil___> ok great
x77686d has quit [Quit: x77686d]
<apeiros> now I wonder why I complained when our 5d week went from 40h to 42.5h
<kapil___> `"oes".classify` return `O` I want Oe.
<apeiros> maybe you shouldn't use string manipulation for this kind of relations. just saying.
kmckelvin has joined #ruby
AJA4350 has joined #ruby
<kapil___> apeiros: thanks. but i have used so much string manipulation like this. what i should do
<apeiros> I don't know your problem so how'd I know your solution? all I know is your current solution and that one looks bad.
<kapil___> apeiros: thanks i will think other solution
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jyaworski has quit [Ping timeout: 248 seconds]
yohji has joined #ruby
zhangkaizhao has joined #ruby
schneider- has joined #ruby
schneider- has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Ping timeout: 256 seconds]
conta has joined #ruby
amar has quit [Ping timeout: 264 seconds]
Burgestrand has quit [Quit: Closing time!]
conta has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
<ix> well thanks for the help. I'll try the @c1 and the different file.open later. I don't have internet and the only book I have on ruby is for version 1.9. :P
za1b1tsu has quit [Ping timeout: 240 seconds]
schneider- has joined #ruby
ellcs has quit [Ping timeout: 256 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider- has quit [Ping timeout: 256 seconds]
ipe has joined #ruby
alfiemax has quit [Remote host closed the connection]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
ur5us has joined #ruby
tomphp has quit [Client Quit]
alfiemax has joined #ruby
schneider- has joined #ruby
conta has joined #ruby
suukim has joined #ruby
govg has quit [Ping timeout: 240 seconds]
schneider- has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
schooner has joined #ruby
govg has joined #ruby
karapetyan has joined #ruby
schneider- has joined #ruby
stormpack has joined #ruby
chef_byd has joined #ruby
schneider- has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby
ellcs has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
mlkkk has joined #ruby
guille-moe has quit [Remote host closed the connection]
drale2k_ has joined #ruby
aufi has joined #ruby
saTchymoto has joined #ruby
schooner has quit [Quit: schooner]
guille-moe has joined #ruby
stormpack has quit [Quit: Leaving]
cyberjam1s has quit [Quit: leaving]
cschneid_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
yohji has quit [Ping timeout: 260 seconds]
gokhan_ has joined #ruby
suukim has quit [Quit: Konversation terminated!]
cschneid_ has quit [Ping timeout: 268 seconds]
gokhan_ has quit [Client Quit]
gokhan_ has joined #ruby
gokhan_ has quit [Client Quit]
karapetyan has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
ldnunes has joined #ruby
cptangry has joined #ruby
yohji has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
apparition has joined #ruby
jcalla has joined #ruby
alfiemax has quit [Remote host closed the connection]
bmurt has joined #ruby
schneider- has joined #ruby
apparition has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
synthroid has joined #ruby
ta_ has quit [Remote host closed the connection]
venmx has joined #ruby
schneider- has quit [Ping timeout: 255 seconds]
rwb has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 255 seconds]
schooner has joined #ruby
venmx has quit [Ping timeout: 255 seconds]
Matthew1 has joined #ruby
ur5us has quit [Remote host closed the connection]
_antares_ has quit [Quit: Connection closed for inactivity]
alfiemax has joined #ruby
cyberjames has joined #ruby
InfinityFye has joined #ruby
InfinityFye has left #ruby [#ruby]
chef_byd has quit [Quit: Leaving]
Cavallari has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
Psybur has joined #ruby
houhoulis has joined #ruby
chocoelho has joined #ruby
dionysus69 has joined #ruby
ggherdov has joined #ruby
ggherdov has quit [Excess Flood]
galeido has quit [Remote host closed the connection]
blackbaba has joined #ruby
blackbaba has left #ruby ["Closing Window"]
donofrio has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
schneider- has joined #ruby
Burgestrand has quit [Quit: Closing time!]
gheegh has joined #ruby
houhoulis has quit [Remote host closed the connection]
Asher has quit [Ping timeout: 264 seconds]
schneider- has quit [Ping timeout: 276 seconds]
imperator has joined #ruby
chocoelho has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
GodFather has joined #ruby
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
MoskitoHero has joined #ruby
rwb has joined #ruby
imperator has quit [Quit: Leaving]
dberger has joined #ruby
noycesauce has joined #ruby
kmckelvin has quit [Quit: Connection closed for inactivity]
roshanavand has quit [Ping timeout: 256 seconds]
suukim has joined #ruby
Burgestrand has joined #ruby
schneider- has joined #ruby
noycesauce has quit [Ping timeout: 260 seconds]
Matthew1 has quit [Remote host closed the connection]
dberger has quit [Quit: Leaving]
schneider- has quit [Ping timeout: 240 seconds]
tvw has quit []
tvw has joined #ruby
coderphive has joined #ruby
venmx has joined #ruby
zhangkaizhao has quit [Quit: Leaving]
tvw has quit [Read error: Connection reset by peer]
NL3limin4t0r has joined #ruby
herbmillerjr has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amelliaa has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
millerti has joined #ruby
drale2k_ has joined #ruby
stoffus has quit [Quit: leaving]
jyaworski has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
aupadhye has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
jyaworski has quit [Ping timeout: 256 seconds]
schneider- has joined #ruby
venmx has quit [Ping timeout: 276 seconds]
ryzokuken has joined #ruby
coderphive has quit [Quit: coderphive]
schneider- has quit [Ping timeout: 240 seconds]
Asher has joined #ruby
jyaworski has joined #ruby
kaltorak has joined #ruby
Asher has quit [Ping timeout: 264 seconds]
ggherdov has joined #ruby
gnufied has joined #ruby
ggherdov has quit [Excess Flood]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
cptangry has quit [Remote host closed the connection]
jyaworski has quit [Ping timeout: 240 seconds]
Mondongo has joined #ruby
mlkkk has quit [Remote host closed the connection]
meinside has quit [Quit: Connection closed for inactivity]
Asher has joined #ruby
Asher has quit [Ping timeout: 255 seconds]
n0m4d1c has joined #ruby
jyaworski has joined #ruby
grilix_ has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
jyaworski has quit [Ping timeout: 255 seconds]
ggherdov has joined #ruby
ggherdov has quit [Excess Flood]
Burgestrand has quit [Quit: Closing time!]
inerthia has joined #ruby
saTchymoto has quit []
yohji has quit [Ping timeout: 240 seconds]
schneider- has joined #ruby
cschneid_ has joined #ruby
MoskitoHero has quit [Quit: MoskitoHero]
chouhoulis has joined #ruby
schneider- has quit [Ping timeout: 240 seconds]
amar_ has joined #ruby
Janky has joined #ruby
yohji has joined #ruby
amar_ has quit [Ping timeout: 265 seconds]
Cavallari has quit [Quit: Cavallari]
troys has joined #ruby
Mondongo has quit [Read error: Connection reset by peer]
jamesaxl has quit [Ping timeout: 276 seconds]
jottr has joined #ruby
jamesaxl has joined #ruby
amar has joined #ruby
Mondongo has joined #ruby
GodFather_ has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chocoelho has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather_ has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
amatas has joined #ruby
synthroid has quit [Remote host closed the connection]
tomphp has joined #ruby
amar has quit [Ping timeout: 264 seconds]
kanobt61_ has joined #ruby
Mike11 has quit [Quit: Leaving.]
chouhoulis has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
amatas has quit [Quit: amatas]
tomphp has joined #ruby
kanobt61_ is now known as kanobt61
schneider- has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider- has quit [Ping timeout: 276 seconds]
Yzguy has joined #ruby
chouhoulis has joined #ruby
Yzguy has quit [Client Quit]
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
<boxrick> Is there a sensible way of hiding a warning?
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
<boxrick> In this case: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
Yzguy has quit [Client Quit]
BTRE has quit [Remote host closed the connection]
<dminuoso> boxrick: Yes.
<dminuoso> boxrick: You fix the offending code.
jottr has quit [Ping timeout: 264 seconds]
<tobiasvl> ruby -W0
<dminuoso> Haha.
<boxrick> $VERBOSE = nil also does the trick, in this case. It isn't worth fixing this warning
synthroid has joined #ruby
<boxrick> Its trash I won't be disabling SSL checks as I do now
cyberg has joined #ruby
ipee has joined #ruby
conta has quit [Ping timeout: 276 seconds]
ipe has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
schneider- has joined #ruby
cagomez has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
jyaworski has joined #ruby
karapetyan has joined #ruby
jcarl43 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
schneider- has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
herbmillerjr has quit [Quit: Konversation terminated!]
FastJack has quit [Remote host closed the connection]
nowhere_man has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
schneider- has joined #ruby
millerti has quit [Ping timeout: 256 seconds]
jyaworski has quit [Ping timeout: 260 seconds]
sysvalve has quit [Quit: Leaving]
x77686d has joined #ruby
schneider- has quit [Ping timeout: 256 seconds]
aufi has quit [Quit: Leaving]
RougeR has quit [Ping timeout: 264 seconds]
ggherdov has joined #ruby
ggherdov has quit [Excess Flood]
n0m4d1c has quit [Ping timeout: 256 seconds]
chris349 has joined #ruby
TomyWork has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jxv has joined #ruby
n0m4d1c has joined #ruby
x77686d has quit [Quit: x77686d]
inerthia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
cthulchu has joined #ruby
orbyt_ has joined #ruby
schneider- has joined #ruby
x77686d has joined #ruby
jyaworski has joined #ruby
schneider- has quit [Ping timeout: 264 seconds]
troulouliou_div2 has joined #ruby
x77686d has quit [Ping timeout: 240 seconds]
yohji has quit [Ping timeout: 264 seconds]
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
dr3w_ has joined #ruby
psychicist__ has joined #ruby
Deesl has joined #ruby
chocoelho has quit [Ping timeout: 240 seconds]
jyaworski has quit [Ping timeout: 240 seconds]
rajpratik71 has joined #ruby
biberu has joined #ruby
grilix has joined #ruby
grilix_ has quit [Read error: Connection reset by peer]
eckhardt_ has joined #ruby
guille-moe has quit [Ping timeout: 264 seconds]
rajpratik71 has quit [Quit: rajpratik71]
nfsnobody has quit [Ping timeout: 240 seconds]
ggherdov has joined #ruby
ggherdov has quit [Excess Flood]
jyaworski has joined #ruby
shoogz has quit [Ping timeout: 255 seconds]
cagomez has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
apeiros has joined #ruby
Andrevan has quit [Quit: WeeChat 2.1]
jyaworski has quit [Ping timeout: 240 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 248 seconds]
andikr has quit [Remote host closed the connection]
sanscoeur has joined #ruby
k0mpa has joined #ruby
shoogz has joined #ruby
nfsnobody has joined #ruby
jxv has left #ruby ["string can snapped"]
nitric has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
drale2k_ has joined #ruby
drale2k_ has quit [Read error: Connection reset by peer]
Asher has joined #ruby
cagomez has joined #ruby
grilix has quit [Ping timeout: 260 seconds]
grilix has joined #ruby
ldepandis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ellcs has joined #ruby
nfsnobody has quit [Ping timeout: 265 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
NL3limin4t0r has quit [Quit: WeeChat 1.9.1]
nfsnobody has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
larcara has joined #ruby
dr3w_ has joined #ruby
nfsnobody has quit [Ping timeout: 240 seconds]
nfsnobody has joined #ruby
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
larcara has quit []
pilne has joined #ruby
minimalism has joined #ruby
eckhardt_ has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 240 seconds]
gheegh has joined #ruby
eckhardt_ has joined #ruby
Deesl has quit [Quit: Textual IRC Client: www.textualapp.com]
nitric has quit [Ping timeout: 255 seconds]
mwlang has quit [Ping timeout: 265 seconds]
nitric has joined #ruby
n0m4d1c_ has joined #ruby
n0m4d1c has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
jyaworski has joined #ruby
ramfjord has joined #ruby
CircleDot has joined #ruby
ix has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 264 seconds]
CircleDot has quit [Client Quit]
Mondongo has joined #ruby
Mondongo has quit [Client Quit]
schooner has quit [Quit: schooner]
schneider- has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
jyaworski has quit [Ping timeout: 248 seconds]
schneider- has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
jyaworski has joined #ruby
grilix has quit [Ping timeout: 240 seconds]
grilix has joined #ruby
govg has quit [Ping timeout: 240 seconds]
suukim has quit [Quit: Konversation terminated!]
sameerynho has joined #ruby
Sembei has joined #ruby
Pisuke has quit [Ping timeout: 240 seconds]
Mondongo has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
n0m4d1c_ has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jyaworski has quit [Ping timeout: 268 seconds]
jyaworski has joined #ruby
n008f4g_ has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
Bacta has joined #ruby
stbn has joined #ruby
clemens3 has joined #ruby
Sembei has quit [Quit: WeeChat 2.2-dev]
Sembei has joined #ruby
stbn has quit [Quit: Leaving]
jyaworski has joined #ruby
conta has joined #ruby
jyaworski has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
nowhere_man has quit [Ping timeout: 256 seconds]
RougeR has joined #ruby
ipee has quit [Remote host closed the connection]
schneider- has joined #ruby
ramfjord has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
jamesaxl has joined #ruby
schneider- has quit [Ping timeout: 268 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
Bacta has quit [Quit: This computer has gone to sleep]
ramfjord has quit [Ping timeout: 260 seconds]
Bacta has joined #ruby
phaul has joined #ruby
ramfjord has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
ramfjord has joined #ruby
jyaworski has joined #ruby
karapetyan has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
jyaworski has quit [Ping timeout: 268 seconds]
chocoelho has joined #ruby
ramfjord has joined #ruby
mwlang has joined #ruby
x77686d has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
BTRE has joined #ruby
BTRE has quit [Client Quit]
ramfjord has quit [Ping timeout: 260 seconds]
SeepingN has joined #ruby
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
dinfuehr has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
jenrzzz has joined #ruby
psychicist__ has quit [Ping timeout: 248 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 264 seconds]
n0m4d1c has quit [Remote host closed the connection]
ramfjord has joined #ruby
zautomata3 has quit [Ping timeout: 265 seconds]
rwb has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
Bacta has quit [Quit: This computer has gone to sleep]
n0m4d1c has joined #ruby
ramfjord has joined #ruby
BTRE has quit [Remote host closed the connection]
jyaworski has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
n0m4d1c_ has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
n0m4d1c has quit [Ping timeout: 248 seconds]
jyaworski has quit [Ping timeout: 256 seconds]
zautomata3 has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
dr3w_ has joined #ruby
ramfjord has joined #ruby
justinweiss has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
Psybur has quit [Ping timeout: 240 seconds]
schneider- has joined #ruby
jamesaxl has joined #ruby
jyaworski has joined #ruby
blackmesa has joined #ruby
mwlang has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
schneider- has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
mwlang has joined #ruby
jottr has joined #ruby
ramfjord has joined #ruby
synthroid has quit []
ramfjord has quit [Ping timeout: 240 seconds]
n13z has quit [Quit: leaving]
raynold has joined #ruby
ramfjord has joined #ruby
raynold has quit [Excess Flood]
raynold has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
mwlang has quit [Quit: mwlang]
grilix has quit [Quit: Ooops]
Mondongo has joined #ruby
biberu has quit []
eckhard__ has joined #ruby
gheegh has joined #ruby
BTRE has joined #ruby
eckhardt_ has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 264 seconds]
ghoti has quit [Ping timeout: 256 seconds]
ericlima has joined #ruby
Sembei has quit [Ping timeout: 264 seconds]
troulouliou_div2 has quit [Ping timeout: 264 seconds]
weaksauce has quit [Ping timeout: 264 seconds]
rwb has joined #ruby
jyaworski has joined #ruby
Mike11 has joined #ruby
zautomata3 has quit [Ping timeout: 268 seconds]
gnufied has quit [Read error: Connection reset by peer]
jenrzzz_ has joined #ruby
Sembei has joined #ruby
Psybur has joined #ruby
nowhere_man has joined #ruby
ghoti has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
weaksauce has joined #ruby
zautomata3 has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
amar has joined #ruby
amar has quit [Remote host closed the connection]
<ericlima> hey, how do I join the RoR channel?
<havenwood> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<apeiros> you type //join #rubyonrails
<apeiros> -/
<ericlima> I'm on limechat and I cna't contact nickserv ?
<ericlima> Or I'm not sure how from LimeChat.. Anyone use LimeChat before?
<apeiros> its output is on the server
<havenwood> ericlima: You should be able to type: /msg NickServ
<apeiros> better is /ns
<ericlima> havenwood: normally yeah but limechat doesn't do anything when I tyhpe that
za1b1tsu has quit [Ping timeout: 256 seconds]
<havenwood> ericlima: How about?: /ns HELP
<apeiros> e.g. '/ns info'. to see the output, click on the server in the channels tab/board
<ericlima> nothing is happening..
<apeiros> ^
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
k0mpa has quit [Remote host closed the connection]
karapetyan has joined #ruby
<baweaver> Click on the "Freenode" header
<baweaver> most likely you're getting messages there
<baweaver> ericlima ^
schneider- has joined #ruby
<ericlima> thanks for the help yeah I figured that out but when I do /nick it says I've been banned in a channel and won't let me switch
<ericlima> I doubt I've actually been banned though so Idk what is going on
ericlima is now known as ericx2x
n0m4d1c_ has quit [Ping timeout: 260 seconds]
<ericx2x> nvm I got it..
<ericx2x> Thanks
n0m4d1c has joined #ruby
alex`` has quit [Quit: WeeChat 2.1]
n0m4d1c has quit [Remote host closed the connection]
bmurt has joined #ruby
karapetyan has quit [Ping timeout: 264 seconds]
schneider- has quit [Ping timeout: 260 seconds]
MoskitoHero has joined #ruby
johnny56_ has quit [Ping timeout: 276 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
amar has joined #ruby
cagomez has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
chocoelho has joined #ruby
amelliaa has quit [Quit: -]
amar has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
za1b1tsu has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
blackmesa1 has joined #ruby
za1b1tsu has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 256 seconds]
schneider- has joined #ruby
tdy has joined #ruby
za1b1tsu has joined #ruby
ryzokuken has quit [Remote host closed the connection]
schneider- has quit [Ping timeout: 248 seconds]
MoskitoHero has quit [Quit: MoskitoHero]
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
n0m4d1c has joined #ruby
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
BTRE has quit [Read error: Connection reset by peer]
paraxial has joined #ruby
jottr has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
BTRE has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jottr has quit [Ping timeout: 240 seconds]
schneider- has joined #ruby
sameerynho has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
jyaworski has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
schneider- has quit [Ping timeout: 256 seconds]
jyaworski has quit [Ping timeout: 260 seconds]
n008f4g_ has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
za1b1tsu has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
blackmesa1 has quit [Ping timeout: 276 seconds]
fribmendes_away has quit [Quit: huh... i guess my bouncer crashed...]
jyaworski has joined #ruby
fribmendes has joined #ruby
fribmendes has quit [Remote host closed the connection]
fribmendes has joined #ruby
fribmendes is now known as Guest91256
jenrzzz has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
apeiros has joined #ruby
jinie has joined #ruby
x77686d has quit [Quit: x77686d]
clemens3 has quit [Ping timeout: 240 seconds]
jyaworski has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
x77686d has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneider- has joined #ruby
jamesaxl has quit [Quit: WeeChat 2.1]
za1b1tsu has joined #ruby
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
al2o3-cr has joined #ruby
schneider- has quit [Ping timeout: 264 seconds]
za1b1tsu has quit [Ping timeout: 268 seconds]
za1b1tsu has joined #ruby
jyaworski has joined #ruby
ramfjord has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
jsrn has quit [Ping timeout: 240 seconds]
troulouliou_div2 has joined #ruby
ramfjord has joined #ruby
nitric has quit [Quit: quit]
al2o3-cr has quit [Quit: WeeChat 2.1]
ramfjord has quit [Ping timeout: 248 seconds]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
marr has quit [Ping timeout: 256 seconds]
szulak has quit [Ping timeout: 255 seconds]
Janky has quit [Ping timeout: 268 seconds]
Janky has joined #ruby
schneider- has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
schneider- has quit [Ping timeout: 268 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
kanobt61 has quit [Remote host closed the connection]
szulak has joined #ruby
amar has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
szulak has quit [Ping timeout: 265 seconds]
amar has quit [Ping timeout: 256 seconds]
jyaworski has joined #ruby
aeyxa has joined #ruby
<aeyxa> I'm trying to get something working in ruby 2.2.2 but my understanding of ruby and it's environment stuff is near to none
<aeyxa> I'm trying to use mod_passenger with apache, and it's complaining about bundle/setup, I installed ruby through rvm and when I created the apache config I put the path to the ruby in the rvm
n0m4d1c has quit [Remote host closed the connection]
<aeyxa> `Message from application: cannot load such file -- bundler/setup (LoadError)`
<baweaver> especially around getting the user running apache/passenger
cthulchu has quit [Ping timeout: 255 seconds]
baweaver 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-preview1: 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
houhoulis has joined #ruby
sanscoeur has quit [Ping timeout: 264 seconds]
<aeyxa> I think it has something to do with root/non-root user
<aeyxa> the path I put in there is correct
<aeyxa> it's the path under the rvm
<aeyxa> I'm reinstalling the passenger module under the rvm path as rvmsudo to see if that fixes it somehow
<aeyxa> because I don't think I did tha tbefore
<aeyxa> I'vebeen trying to get this to work for hours e______e
<baweaver> Make sure to follow all the steps
<baweaver> Also, why 2.2? That's pretty old.
<aeyxa> we have an updated application, that we want to update on a staging server, but before we can update it we want to get the old version running
<aeyxa> so the goal is to get the old version running as is on a new server
<aeyxa> then update everything
<aeyxa> then move it all back over
<aeyxa> ruby and the application
<aeyxa> the old version of the applications newest ruby version is 2.2.2 and the oldest ruby version for new version of application is 2.2.2
<aeyxa> so that's why
<aeyxa> complicated wording, lol
<aeyxa> nope that didn't fix it T_T
ericx2x has quit [Remote host closed the connection]
<aeyxa> baweaver: can you explain this to me? https://pastebin.com/raw/QRW20G7e I don't understand why it seems to still be using 2.0 when I run bundle, does bundle not care about your rvm?
<ruby[bot]> aeyxa: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com