00:02
queip has quit [Ping timeout: 240 seconds]
00:02
elphe has quit [Ping timeout: 265 seconds]
00:07
AJA4350 has quit [Ping timeout: 245 seconds]
00:07
queip has joined #ruby
00:07
AJA4351 has joined #ruby
00:07
DaRock has joined #ruby
00:09
leitz has quit [Quit: Leaving]
00:09
AJA4351 is now known as AJA4350
00:10
fphilipe has quit [Ping timeout: 246 seconds]
00:11
greengriminal has quit [Quit: This computer has gone to sleep]
00:18
Xiti` has joined #ruby
00:19
queip has quit [Ping timeout: 240 seconds]
00:22
Xiti has quit [Ping timeout: 276 seconds]
00:22
cliluw has quit [Ping timeout: 276 seconds]
00:22
cliluw has joined #ruby
00:22
fig-le-deunch has joined #ruby
00:24
queip has joined #ruby
00:25
<
havenwood >
leftylink: In 2.7 there's #filter_map
00:25
<
havenwood >
but no #take_while_map
00:27
<
havenwood >
['a', nil, 'c'].filter_map { |n| n&.to_sym }
00:27
<
havenwood >
#=> [:a, :c]
00:27
<
havenwood >
Not a great example...
00:31
<
havenwood >
0.step.lazy.map { |n| n ** 3 }.take_while { |n| n < 1_000 }.force
00:31
<
havenwood >
#=> [0, 1, 8, 27, 64, 125, 216, 343, 512, 729]
00:33
DaRock has quit [Ping timeout: 268 seconds]
00:34
Guest56543 has quit [Ping timeout: 240 seconds]
00:36
jenrzzz has quit [Ping timeout: 240 seconds]
00:36
jenrzzz has joined #ruby
00:41
jenrzzz has quit [Ping timeout: 245 seconds]
00:43
chalkmonster has quit [Quit: WeeChat 2.6]
00:45
poontangmessiah has quit [Remote host closed the connection]
00:52
etupat has joined #ruby
00:54
queip has quit [Ping timeout: 276 seconds]
00:56
tdy has joined #ruby
00:58
queip has joined #ruby
01:00
tdy1 has joined #ruby
01:00
etupat has quit [Remote host closed the connection]
01:02
etupat has joined #ruby
01:02
etupat has quit [Remote host closed the connection]
01:02
etupat has joined #ruby
01:03
tdy has quit [Ping timeout: 276 seconds]
01:08
tdy1 is now known as tdy
01:11
jenrzzz has joined #ruby
01:14
tdy has quit [Ping timeout: 265 seconds]
01:15
i9zO5AP has quit [Quit: WeeChat 2.5]
01:19
AJA4350 has quit [Ping timeout: 240 seconds]
01:20
AJA4350 has joined #ruby
01:33
mroutis has quit [Read error: Connection reset by peer]
01:33
mroutis has joined #ruby
01:35
bambanx has quit [Quit: Leaving]
01:35
chalkmonster has joined #ruby
01:35
chalkmonster has quit [Client Quit]
01:35
cthulchu_ has quit [Ping timeout: 240 seconds]
01:43
jenrzzz has quit [Ping timeout: 245 seconds]
01:44
uranoss has quit [Quit: Connection closed for inactivity]
01:45
jenrzzz has joined #ruby
01:51
dasher00 has quit [Ping timeout: 245 seconds]
01:51
Esa_ has joined #ruby
01:56
queip has quit [Ping timeout: 265 seconds]
01:58
etupat has quit [Remote host closed the connection]
01:58
etupat has joined #ruby
01:59
x86sk has joined #ruby
02:01
queip has joined #ruby
02:02
etupat has quit [Ping timeout: 240 seconds]
02:03
mre- has joined #ruby
02:06
etupat has joined #ruby
02:06
fphilipe has joined #ruby
02:07
mre- has quit [Ping timeout: 240 seconds]
02:12
elphe has joined #ruby
02:20
MrCrackPot has joined #ruby
02:22
fig-le-deunch has quit [Ping timeout: 245 seconds]
02:23
fig-le-deunch has joined #ruby
02:27
etupat has quit [Remote host closed the connection]
02:27
etupat has joined #ruby
02:28
DaRock has joined #ruby
02:29
gix- has quit [Ping timeout: 245 seconds]
02:29
AJA4350 has quit [Ping timeout: 265 seconds]
02:30
fig-le-deunch has quit [Ping timeout: 276 seconds]
02:34
etupat has quit [Remote host closed the connection]
02:35
ramfjord has quit [Ping timeout: 245 seconds]
02:37
brool has quit [Ping timeout: 276 seconds]
02:37
etupat has joined #ruby
02:38
fig-le-deunch has joined #ruby
02:40
Swyper has joined #ruby
02:40
fphilipe has quit [Ping timeout: 245 seconds]
02:43
MrCrackPot has quit [Remote host closed the connection]
02:44
MrCrackPot has joined #ruby
02:47
cd has quit [Quit: cd]
02:50
akem__ has joined #ruby
02:52
akemacer has quit [Ping timeout: 240 seconds]
03:03
mre- has joined #ruby
03:04
mroutis has quit [Remote host closed the connection]
03:06
baojg has quit [Remote host closed the connection]
03:07
mre- has quit [Ping timeout: 245 seconds]
03:08
etupat has quit [Remote host closed the connection]
03:09
etupat has joined #ruby
03:10
jenrzzz has quit [Ping timeout: 265 seconds]
03:13
fig-le-deunch has quit [Quit: Konversation terminated!]
03:13
etupat has quit [Ping timeout: 276 seconds]
03:15
beanie__ has quit [Ping timeout: 240 seconds]
03:46
tfitts has quit [Quit: Connection closed for inactivity]
03:48
Swyper has quit [Remote host closed the connection]
03:49
cyclonis has joined #ruby
03:53
queip has quit [Ping timeout: 265 seconds]
03:54
davor has quit [Ping timeout: 265 seconds]
03:54
davor has joined #ruby
03:55
witlesswonder has joined #ruby
03:56
queip has joined #ruby
04:00
psprint has joined #ruby
04:01
<
psprint >
Hello. Installing `gem' package on ubuntu docker causes the build to stop on a question about geographic location. How to skip the question?
04:01
smurfendrek123_ has quit [Remote host closed the connection]
04:02
smurfendrek123_ has joined #ruby
04:04
impermanence has quit [Ping timeout: 240 seconds]
04:05
RiPuk has joined #ruby
04:09
heavendestroyer has joined #ruby
04:12
heavendestroyer has left #ruby [#ruby]
04:14
psprint has left #ruby ["WeeChat 2.4"]
04:21
_whitelogger has joined #ruby
04:27
_whitelogger has joined #ruby
04:28
xall has joined #ruby
04:29
elphe has quit [Ping timeout: 276 seconds]
04:30
fphilipe has joined #ruby
04:31
mre- has joined #ruby
04:31
xall has quit [Client Quit]
04:35
mre- has quit [Ping timeout: 240 seconds]
04:38
renich has quit [Quit: renich]
04:44
DaRock has quit [Read error: Connection reset by peer]
04:45
Exuma has joined #ruby
04:49
DaRock has joined #ruby
04:50
hutch1 has joined #ruby
04:53
smurfendrek123_ has quit [Ping timeout: 245 seconds]
04:55
DaRock has quit [Read error: Connection reset by peer]
05:00
queip has quit [Ping timeout: 245 seconds]
05:03
elphe has joined #ruby
05:05
queip has joined #ruby
05:08
freedom has joined #ruby
05:08
hutch1 has quit [Ping timeout: 246 seconds]
05:20
elphe has quit [Ping timeout: 245 seconds]
05:33
cliluw has quit [Read error: Connection reset by peer]
05:34
fphilipe has quit [Ping timeout: 276 seconds]
05:35
dionysus69 has joined #ruby
05:36
dionysus69 has quit [Client Quit]
05:37
elphe has joined #ruby
05:37
dionysus69 has joined #ruby
05:51
jenrzzz has joined #ruby
05:55
ua has quit [Remote host closed the connection]
05:59
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:03
dellavg has joined #ruby
06:07
dretnx has joined #ruby
06:13
ua has joined #ruby
06:15
blackmesa1 has joined #ruby
06:24
elphe has quit [Ping timeout: 245 seconds]
06:34
elphe has joined #ruby
06:36
raul782 has quit [Remote host closed the connection]
06:37
raul782 has joined #ruby
06:39
tdy has joined #ruby
06:39
Azure|dc has quit [Ping timeout: 240 seconds]
06:41
tdy1 has joined #ruby
06:41
raul782 has quit [Ping timeout: 240 seconds]
06:43
raul782 has joined #ruby
06:44
tdy has quit [Ping timeout: 240 seconds]
06:44
raul782 has quit [Remote host closed the connection]
06:45
raul782 has joined #ruby
06:45
raul782 has left #ruby [#ruby]
06:50
raul782 has joined #ruby
06:50
queip has quit [Ping timeout: 240 seconds]
06:51
raul782 has quit [Read error: Connection reset by peer]
06:51
tdy2 has joined #ruby
06:51
raul782 has joined #ruby
06:52
elphe has quit [Ping timeout: 245 seconds]
06:54
tdy1 has quit [Ping timeout: 245 seconds]
06:55
nowhere_man has joined #ruby
06:56
queip has joined #ruby
06:59
nowhereman has joined #ruby
07:00
nowhere_man has quit [Ping timeout: 276 seconds]
07:02
xco has joined #ruby
07:02
agent_white has joined #ruby
07:12
elphe has joined #ruby
07:12
Azure has joined #ruby
07:13
jenrzzz has quit [Ping timeout: 265 seconds]
07:14
duderonomy has joined #ruby
07:18
etupat has joined #ruby
07:19
duderono_ has joined #ruby
07:20
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:20
duderonomy has quit [Ping timeout: 240 seconds]
07:21
nowhereman has quit [Ping timeout: 245 seconds]
07:23
Technodrome has joined #ruby
07:23
DaRock has joined #ruby
07:23
etupat has quit [Ping timeout: 276 seconds]
07:24
raul782 has quit [Remote host closed the connection]
07:25
raul782 has joined #ruby
07:25
raul782 has quit [Read error: Connection reset by peer]
07:26
raul782 has joined #ruby
07:26
cyclonis has quit [Read error: Connection reset by peer]
07:27
cyclonis has joined #ruby
07:27
cyclonis has quit [Max SendQ exceeded]
07:27
jenrzzz has joined #ruby
07:28
queip has quit [Ping timeout: 245 seconds]
07:28
elphe has quit [Ping timeout: 240 seconds]
07:30
tdy2 is now known as tdy
07:30
etupat has joined #ruby
07:30
fphilipe has joined #ruby
07:33
queip has joined #ruby
07:34
jenrzzz has quit [Ping timeout: 276 seconds]
07:34
cyclonis has joined #ruby
07:35
etupat has quit [Ping timeout: 265 seconds]
07:40
dionysus69 has quit [Ping timeout: 245 seconds]
07:41
freedom has quit [Ping timeout: 276 seconds]
07:46
blackmesa1 has quit [Ping timeout: 245 seconds]
07:50
elphe has joined #ruby
07:53
fphilipe has quit [Ping timeout: 264 seconds]
07:54
raul782 has quit [Remote host closed the connection]
07:54
raul782 has joined #ruby
07:59
raul782 has quit [Ping timeout: 268 seconds]
08:02
jenrzzz has joined #ruby
08:03
nowhereman has joined #ruby
08:05
DaRock has quit [Ping timeout: 245 seconds]
08:06
DaRock has joined #ruby
08:07
tdy1 has joined #ruby
08:09
tdy has quit [Ping timeout: 240 seconds]
08:11
galaxie has quit [Ping timeout: 260 seconds]
08:12
galaxie has joined #ruby
08:15
silviu16 has quit [Remote host closed the connection]
08:15
silviu has joined #ruby
08:15
queip has quit [Ping timeout: 276 seconds]
08:18
queip has joined #ruby
08:19
x86sk has quit [Quit: Connection closed for inactivity]
08:19
n13z has joined #ruby
08:22
blackmesa1 has joined #ruby
08:24
blackmesa has joined #ruby
08:27
blackmesa1 has quit [Ping timeout: 276 seconds]
08:39
_whitelogger has joined #ruby
08:40
xco has quit [Quit: xco]
08:42
agent_white has left #ruby [#ruby]
08:42
conta has joined #ruby
08:49
tdy1 is now known as tdy
08:59
rippa has joined #ruby
09:03
fphilipe has joined #ruby
09:03
blackmesa has quit [Ping timeout: 276 seconds]
09:06
jacksoow_ has quit [Ping timeout: 276 seconds]
09:09
queip has quit [Ping timeout: 245 seconds]
09:11
queip has joined #ruby
09:15
bitwinery has quit [Quit: Leaving]
09:18
galaxie has quit [Ping timeout: 260 seconds]
09:21
mre- has joined #ruby
09:22
tdy1 has joined #ruby
09:23
cd has joined #ruby
09:23
DaRock has quit [Ping timeout: 245 seconds]
09:25
blackmesa has joined #ruby
09:25
mre- has quit [Ping timeout: 240 seconds]
09:26
tdy has quit [Ping timeout: 276 seconds]
09:31
Swyper has joined #ruby
09:31
Swyper has quit [Remote host closed the connection]
09:35
Technodrome has quit [Ping timeout: 240 seconds]
09:40
davor has quit [Ping timeout: 240 seconds]
09:40
davor has joined #ruby
09:46
srtsrtsrtsrtsrts has joined #ruby
09:47
nowhereman has quit [Ping timeout: 245 seconds]
10:03
al2o3-cr has joined #ruby
10:06
hightower2 has quit [Ping timeout: 245 seconds]
10:06
etupat has joined #ruby
10:08
cnsvc has quit [Ping timeout: 260 seconds]
10:10
cnsvc has joined #ruby
10:11
queip has quit [Ping timeout: 245 seconds]
10:15
conta has quit [Ping timeout: 240 seconds]
10:17
queip has joined #ruby
10:19
dretnx2 has joined #ruby
10:20
elphe has quit [Ping timeout: 240 seconds]
10:20
dretnx has quit [Ping timeout: 245 seconds]
10:21
dretnx2 has quit [Client Quit]
10:21
dretnx has joined #ruby
10:24
elphe has joined #ruby
10:25
phaul has quit [Quit: :wq]
10:27
phaul has joined #ruby
10:30
Fernando-Basso has joined #ruby
10:33
Ai9zO5AP has joined #ruby
10:42
smurfendrek123_ has joined #ruby
10:44
AJA4350 has joined #ruby
11:03
Inline__ has joined #ruby
11:03
Inline__ has quit [Read error: Connection reset by peer]
11:03
etupat has quit [Remote host closed the connection]
11:04
Inline__ has joined #ruby
11:04
Inline__ has quit [Read error: Connection reset by peer]
11:05
Inline__ has joined #ruby
11:05
phaul has quit [Quit: :wq]
11:05
Inline__ has quit [Remote host closed the connection]
11:06
Inline has quit [Ping timeout: 264 seconds]
11:06
Inline has joined #ruby
11:11
dasher00 has joined #ruby
11:16
fphilipe has quit [Ping timeout: 240 seconds]
11:18
etupat has joined #ruby
11:19
dbugger has joined #ruby
11:25
etupat has quit [Remote host closed the connection]
11:30
jacksoow has joined #ruby
11:32
etupat has joined #ruby
11:34
etupat has quit [Remote host closed the connection]
11:34
etupat has joined #ruby
11:36
mre- has joined #ruby
11:38
etupat has quit [Ping timeout: 240 seconds]
11:40
mre- has quit [Ping timeout: 265 seconds]
11:44
queip has quit [Ping timeout: 245 seconds]
11:44
fphilipe has joined #ruby
11:47
tdy1 has quit [Ping timeout: 240 seconds]
11:52
queip has joined #ruby
11:54
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
11:54
etupat has joined #ruby
11:55
mre- has joined #ruby
11:57
Emmanuel_Chanel has joined #ruby
11:58
Rudd0 has quit [Ping timeout: 246 seconds]
11:59
mre- has quit [Ping timeout: 240 seconds]
12:03
x86sk has joined #ruby
12:12
madhatter has quit [Remote host closed the connection]
12:12
nowhereman has joined #ruby
12:12
Rudd0 has joined #ruby
12:13
madhatter has joined #ruby
12:17
nowhereman has quit [Ping timeout: 240 seconds]
12:20
fphilipe has quit [Ping timeout: 265 seconds]
12:24
hutch1 has joined #ruby
12:28
phaul has joined #ruby
12:34
gix has joined #ruby
12:35
lucasb has joined #ruby
12:36
etupat has quit [Remote host closed the connection]
12:36
etupat has joined #ruby
12:37
poontangmessiah has joined #ruby
12:39
cyclonis has quit [Read error: Connection reset by peer]
12:39
cyclonis has joined #ruby
12:40
etupat has quit [Ping timeout: 240 seconds]
12:46
phaul has quit [Quit: :wq]
12:46
phaul has joined #ruby
12:49
elphe has quit [Ping timeout: 268 seconds]
12:55
etupat has joined #ruby
13:01
salinasce has joined #ruby
13:05
cyclonis has quit [Read error: Connection reset by peer]
13:07
ramfjord has joined #ruby
13:09
etupat has quit [Remote host closed the connection]
13:09
etupat has joined #ruby
13:11
poontangmessiah has quit [Remote host closed the connection]
13:12
ramfjord has quit [Ping timeout: 245 seconds]
13:12
fphilipe has joined #ruby
13:14
etupat has quit [Ping timeout: 265 seconds]
13:18
salinasce has quit [Ping timeout: 245 seconds]
13:21
salinasce has joined #ruby
13:25
Fernando-Basso has quit [Ping timeout: 265 seconds]
13:27
agent_white has joined #ruby
13:28
blackmesa has quit [Ping timeout: 276 seconds]
13:39
redlegion has quit [Remote host closed the connection]
13:43
Fernando-Basso has joined #ruby
13:44
queip has quit [Ping timeout: 265 seconds]
13:45
freedom has joined #ruby
13:45
fphilipe has quit [Ping timeout: 240 seconds]
13:46
suukim has joined #ruby
13:47
dionysus69 has joined #ruby
13:50
hutch1 has quit [Ping timeout: 246 seconds]
13:50
salinasce has quit [Ping timeout: 240 seconds]
13:51
queip has joined #ruby
13:53
gr33n7007h has joined #ruby
13:53
al2o3-cr is now known as Guest1944
13:53
gr33n7007h is now known as al2o3-cr
13:55
salinasce has joined #ruby
13:56
xco has joined #ruby
13:56
Guest1944 has quit [Ping timeout: 246 seconds]
13:58
fphilipe has joined #ruby
14:00
elphe has joined #ruby
14:03
fphilipe has quit [Ping timeout: 265 seconds]
14:05
blackmesa has joined #ruby
14:19
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:23
deathwishdave has joined #ruby
14:26
deathwishdave has quit [Client Quit]
14:32
codefriar has joined #ruby
14:33
Swyper has joined #ruby
14:33
ua_ has joined #ruby
14:34
hutch1 has joined #ruby
14:36
SCHAPiE has joined #ruby
14:36
ua has quit [Ping timeout: 240 seconds]
14:36
fphilipe has joined #ruby
14:38
Swyper has quit [Remote host closed the connection]
14:39
Swyper has joined #ruby
14:39
sigaomatheus has joined #ruby
14:42
dionysus69 has quit [Ping timeout: 268 seconds]
14:54
Esa_ has quit [Ping timeout: 240 seconds]
14:58
arandomandy has joined #ruby
15:03
hutch1 has quit [Ping timeout: 276 seconds]
15:08
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:10
schne1der has joined #ruby
15:10
fphilipe has quit [Ping timeout: 265 seconds]
15:13
jacksoow has quit [Ping timeout: 246 seconds]
15:14
jacksoow has joined #ruby
15:24
fphilipe has joined #ruby
15:29
fphilipe has quit [Ping timeout: 265 seconds]
15:31
agent_white has quit [Remote host closed the connection]
15:31
hutch1 has joined #ruby
15:32
dhollinger has joined #ruby
15:33
xco has quit [Quit: xco]
15:39
m27frogy has quit [Ping timeout: 265 seconds]
15:40
m27frogy has joined #ruby
15:45
Mrgoose84 has quit [Ping timeout: 268 seconds]
15:46
jrafanie has joined #ruby
15:47
<
qbrd[m] >
<psprint "Hello. Installing `gem' package "> can you post the error message?
15:47
smurfendrek123_ has quit [Remote host closed the connection]
15:48
smurfendrek123_ has joined #ruby
15:48
salinasce has quit [Remote host closed the connection]
15:49
mre- has joined #ruby
15:49
fphilipe has joined #ruby
15:51
queip has quit [Ping timeout: 240 seconds]
15:53
mre- has quit [Ping timeout: 245 seconds]
15:54
za1b1tsu has joined #ruby
15:56
queip has joined #ruby
16:01
dinfuehr has quit [Ping timeout: 245 seconds]
16:02
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:03
dinfuehr has joined #ruby
16:13
smurfendrek123_ has quit [Ping timeout: 245 seconds]
16:14
smurfendrek123_ has joined #ruby
16:19
madhatter has quit [Read error: Connection timed out]
16:19
madhatter has joined #ruby
16:21
smurfendrek123_ has quit [Ping timeout: 245 seconds]
16:21
hiroaki has joined #ruby
16:22
amit40 has joined #ruby
16:22
<
amit40 >
Hey there.
16:22
<
amit40 >
Suppose I have class A
16:23
<
amit40 >
whose methods I want to be able to execute in the command line, what's the best way to go about it?
16:23
salinasc has joined #ruby
16:24
<
phaul >
thor can give you something like that
16:24
hutch1 has quit [Ping timeout: 276 seconds]
16:24
<
amit40 >
yeah, I gave it a look, but I am looking to do the same without invoking the ./filename.rb command_name
16:25
<
amit40 >
I want to be able to do just command_name arg1 arg2
16:25
<
havenwood >
amit40: Remove the file extension, chmod +x, and add a shebang.
16:25
<
havenwood >
amit40: #!/usr/bin/env ruby
16:25
<
havenwood >
amit40: chmod +x filename
16:26
<
havenwood >
amit40: Then add `filename` to a directory in your PATH, or add the directory `filename` is in to your PATH.
16:26
<
havenwood >
amit40: PATH="/path/to/filename:$PATH"
16:26
<
phaul >
maybe I'm missing something but "whose
_methods_ I want to be able to execute", which makes me confused about what actually is the goal here
16:27
<
amit40 >
here's the code ^
16:27
<
amit40 >
I want to be able to do $ hello
16:27
<
phaul >
in a unix shell? you can't
16:27
<
phaul >
you can in irb
16:27
<
amit40 >
havenwood's solution looks good.
16:28
greengriminal has joined #ruby
16:28
<
amit40 >
also can pty help regarding this?
16:29
<
leftylink >
note that you'll have to have a corresponding executable in your PATH for each function you wish to invoke. and presumably in this case, it will need to know how the command line args correspond to ctor args. that must be an interesting problem
16:29
<
havenwood >
amit40: Why don't you make the file executable and put it in your PATH then tell us what else you want to work?
16:29
<
leftylink >
wishing luck
16:30
<
havenwood >
I guess you could make a tool that exposes the object that way. Different.
16:30
* phaul
feels like we gonna arrive back at thor :)
16:30
* havenwood
chants Thor! Thor!
16:31
<
amit40 >
I'll try out the PATH way, thanks.
16:31
<
havenwood >
amit40: Have you made a regular Ruby executable? I'd suggest starting with that and a: HelloWorld.new.hello
16:33
<
amit40 >
I have always used ruby in the context of ruby on rails. This is an assignment sort of, so it is pretty new to me, as I haven't used ruby as a console application much.
16:34
agent_white has joined #ruby
16:34
<
havenwood >
amit40: Once you get comfortable with making a straightforward executable I'd suggest looking at OptionParser in the stdlib next then cutting a gem.
16:35
<
amit40 >
Thanks! @have
16:36
<
amit40 >
thanks havenwood, I did use bundle gem app_name to set the initial set up and the usual directory structure. Will explore in detail.
16:37
<
havenwood >
amit40: In Bunder convention, you can add gems to your /exe directory. You'll still need to use a shebang and chmod +x, but RubyGems will add it to your PATH.
16:38
<
havenwood >
amit40: (RubyGems uses /bin but Bundler uses /exe since it uses /bin for developer commands.)
16:40
hiroaki has quit [Remote host closed the connection]
16:40
camilasan has quit [Read error: Connection reset by peer]
16:40
camilasan has joined #ruby
16:40
hiroaki has joined #ruby
16:40
hiroaki has quit [Remote host closed the connection]
16:40
<
amit40 >
I am not creating a gem, just a console kind of application where say the program is x, so after running bin/x, I should get a pesudo terminal where I need to be able to execute the functions as command arg1 arg2 ... argN
16:41
<
amit40 >
Using thor along with your chmod and shebang might just be enough.
16:41
<
amit40 >
I am trying it at the moment
16:41
<
leftylink >
oh cool, I love when requirements suddenly change
16:41
<
leftylink >
(that is not what was originally stated. at all.)
16:42
<
leftylink >
I am so angry about this that I must leave this conversation to cool down a bit, lest I accidentally say something inappropriate for the channel. good day to everyone, and my apologies
16:42
<
amit40 >
leftylink, sorry if I may have misworded but that's what I have been saying from the start. I have been messy with the pastelinks
16:43
<
amit40 >
The file name's main.rb which uses a class which derives from Thor
16:43
<
amit40 >
so I can do $ ./main.rb hello John
16:44
<
amit40 >
and get "Hello, John" as the output
16:44
<
amit40 >
I just want to be able to do the above without the ./main.rb part. Like, just $ hello John
16:44
BTRE has quit [Remote host closed the connection]
16:45
<
amit40 >
and @havenwood 's solution might work I suppose
16:46
BTRE has joined #ruby
16:47
AJA4351 has joined #ruby
16:47
AJA4350 has quit [Ping timeout: 245 seconds]
16:47
AJA4351 is now known as AJA4350
16:49
queip has quit [Ping timeout: 268 seconds]
16:56
queip has joined #ruby
17:01
codefriar has joined #ruby
17:07
akemacer has joined #ruby
17:08
tdy2 has joined #ruby
17:10
akem__ has quit [Ping timeout: 245 seconds]
17:12
salinasc has quit [Remote host closed the connection]
17:16
suukim has quit [Quit: Konversation terminated!]
17:20
tdy2 is now known as tdy
17:20
queip has quit [Ping timeout: 240 seconds]
17:25
za1b1tsu has quit [Remote host closed the connection]
17:26
uranoss has joined #ruby
17:27
queip has joined #ruby
17:28
smurfendrek123 has joined #ruby
17:29
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:30
m27frogy has joined #ruby
17:35
dellavg has quit [Ping timeout: 265 seconds]
17:35
amit40 has quit [Remote host closed the connection]
17:36
DTZUZU has quit [Ping timeout: 240 seconds]
17:37
mre- has joined #ruby
17:38
DTZUZU has joined #ruby
17:40
wildtrees has joined #ruby
17:40
brool has joined #ruby
17:42
wildtrees has quit [Max SendQ exceeded]
17:45
Exuma has joined #ruby
17:51
codefriar has joined #ruby
17:52
banisterfiend has quit [Ping timeout: 268 seconds]
18:00
deathwishdave has joined #ruby
18:00
tdy1 has joined #ruby
18:02
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:03
tdy has quit [Ping timeout: 240 seconds]
18:10
Fernando-Basso has quit [Remote host closed the connection]
18:10
tdy2 has joined #ruby
18:12
tdy1 has quit [Ping timeout: 268 seconds]
18:19
raul782 has joined #ruby
18:24
raul782 has quit [Remote host closed the connection]
18:25
raul782 has joined #ruby
18:28
drincruz_ has joined #ruby
18:34
queip has quit [Ping timeout: 276 seconds]
18:39
queip has joined #ruby
18:48
bambanx has joined #ruby
18:53
tdy3 has joined #ruby
18:53
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:56
tdy2 has quit [Ping timeout: 240 seconds]
18:59
dinfuehr has quit [Ping timeout: 265 seconds]
18:59
AJA4351 has joined #ruby
19:00
AJA4350 has quit [Ping timeout: 265 seconds]
19:00
AJA4351 is now known as AJA4350
19:00
dinfuehr has joined #ruby
19:01
wildtrees has joined #ruby
19:03
elphe has quit [Ping timeout: 240 seconds]
19:06
elphe has joined #ruby
19:11
elphe has quit [Ping timeout: 240 seconds]
19:13
hutch1 has joined #ruby
19:14
ur5us has joined #ruby
19:27
greengriminal has quit [Quit: This computer has gone to sleep]
19:35
deathwishdave has joined #ruby
19:42
sauvin has quit [Ping timeout: 240 seconds]
19:44
za1b1tsu has joined #ruby
19:45
sauvin has joined #ruby
19:47
deathwishdave has quit [Ping timeout: 265 seconds]
19:50
SeepingN has joined #ruby
19:55
codefriar has joined #ruby
19:56
deathwishdave has joined #ruby
20:01
banisterfiend has joined #ruby
20:02
queip has quit [Ping timeout: 276 seconds]
20:03
wget has joined #ruby
20:06
mre- has quit [Ping timeout: 240 seconds]
20:07
ur5us_ has joined #ruby
20:07
ur5us has quit [Read error: Connection reset by peer]
20:07
elphe has joined #ruby
20:08
queip has joined #ruby
20:09
<
SashaZakharchuk >
active storage in rails 6 already working well?
20:12
elphe has quit [Ping timeout: 276 seconds]
20:12
Technodrome has joined #ruby
20:14
queip has quit [Ping timeout: 240 seconds]
20:16
queip has joined #ruby
20:20
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:21
hutch1 has quit [Ping timeout: 245 seconds]
20:23
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:24
elphe has joined #ruby
20:25
tdy4 has joined #ruby
20:28
elphe has quit [Ping timeout: 240 seconds]
20:29
tdy3 has quit [Ping timeout: 276 seconds]
20:30
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:31
agent_white has quit [Quit: later]
20:33
hiroaki has joined #ruby
20:37
hiroaki has quit [Ping timeout: 252 seconds]
20:39
hutch1 has joined #ruby
20:46
raul782 has quit [Remote host closed the connection]
20:47
raul782 has joined #ruby
20:47
cloaked1 has joined #ruby
20:47
cloaked1 has quit [Changing host]
20:47
cloaked1 has joined #ruby
20:49
queip has quit [Ping timeout: 265 seconds]
20:51
banisterfiend has joined #ruby
20:51
MrCrackPot has quit [Ping timeout: 240 seconds]
20:52
raul782 has quit [Ping timeout: 276 seconds]
20:53
queip has joined #ruby
20:56
bitwinery has joined #ruby
20:57
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:01
nowhereman has joined #ruby
21:02
elphe has joined #ruby
21:04
tdy has joined #ruby
21:06
tdy4 has quit [Ping timeout: 245 seconds]
21:07
elphe has quit [Ping timeout: 245 seconds]
21:08
fig-le-deunch has joined #ruby
21:09
hightower2 has joined #ruby
21:10
za1b1tsu has quit [Remote host closed the connection]
21:21
srtsrtsrtsrtsrts has quit []
21:29
sagax has quit [Read error: Connection reset by peer]
21:33
sagax has joined #ruby
21:40
banisterfiend has joined #ruby
21:42
banister_ has joined #ruby
21:43
ogotai has quit [Quit: leaving]
21:45
banisterfiend has quit [Ping timeout: 265 seconds]
21:45
smurfendrek123 has quit [Ping timeout: 240 seconds]
21:47
smurfendrek123 has joined #ruby
21:47
banister_ has quit [Ping timeout: 240 seconds]
21:54
fig-le-deunch has quit [Ping timeout: 245 seconds]
21:54
witlesswonder has quit [Remote host closed the connection]
21:54
witlesswonder has joined #ruby
21:59
ur5us_ has quit [Remote host closed the connection]
22:01
chalkmonster has joined #ruby
22:02
elphe has joined #ruby
22:05
banisterfiend has joined #ruby
22:07
elphe has quit [Ping timeout: 245 seconds]
22:10
rbanffy has quit [Quit: rbanffy]
22:11
schne1der has quit [Ping timeout: 245 seconds]
22:16
banisterfiend has quit [Ping timeout: 240 seconds]
22:25
SeepingN has quit [Quit: The system is going down for reboot NOW!]
22:28
hutch1 has quit [Ping timeout: 264 seconds]
22:30
etupat has joined #ruby
22:32
tdy1 has joined #ruby
22:34
banisterfiend has joined #ruby
22:35
tdy has quit [Ping timeout: 245 seconds]
22:40
etupat has quit [Remote host closed the connection]
22:45
hutch1 has joined #ruby
22:49
tdy2 has joined #ruby
22:50
User458__ has joined #ruby
22:51
thexa4 has joined #ruby
22:52
tdy1 has quit [Ping timeout: 240 seconds]
22:52
User4587_ has quit [Ping timeout: 265 seconds]
22:52
i9zO5AP has joined #ruby
22:53
queip has quit [Ping timeout: 276 seconds]
22:54
smurfendrek123_ has joined #ruby
22:54
smurfendrek123 has quit [Read error: Connection reset by peer]
22:55
Ai9zO5AP has quit [Ping timeout: 245 seconds]
22:56
queip has joined #ruby
23:02
xco has joined #ruby
23:03
elphe has joined #ruby
23:03
dr_mdma_md has joined #ruby
23:07
elphe has quit [Ping timeout: 245 seconds]
23:09
smurfendrek123 has joined #ruby
23:09
smurfendrek123_ has quit [Remote host closed the connection]
23:09
vondruch has quit [Quit: vondruch]
23:10
vondruch has joined #ruby
23:16
chalkmonster has quit [Quit: WeeChat 2.6]
23:25
FastJack has quit [Ping timeout: 264 seconds]
23:43
tdy3 has joined #ruby
23:45
tdy4 has joined #ruby
23:46
tdy2 has quit [Ping timeout: 276 seconds]
23:48
tdy3 has quit [Ping timeout: 240 seconds]
23:54
thexa4 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
23:57
fig-le-deunch has joined #ruby
23:57
etupat has joined #ruby
23:59
ur5us has joined #ruby