Watched 1 video

Watched 1 Video from start to finish

Subscribed for 1 month

Learning and showing your support for 1 Month

Spread the word 1 time

Referred 1 Member to Drifting Ruby

10

10 times Chatter Box

Make 10 comments to videos or replies to other comments
5/10

10

Share the love 10 times

Liked 10 episodes
2/10

3

Welcome back 3 times

You've visited Drifting Ruby on 3 different days
1/3

Suggested 1 episode

Helped the community by suggesting 1 episode

Vote Suggestion 1 time

Helped the community by voting on suggestions 1 time

Share the love 1 time

Liked 1 episode

Earned on 3/4/2019

1 time Chatter Box

Make 1 comment to videos or replies to other comments

Earned on 3/4/2019

Navid Shafie said 6 months ago on puma-dev replacement for pow and prax :

Thanks @kobaltz Great series. I have a issue here. I've done everything right. I've double/triple checked everything. When I run pumad, I get the message promted as web application can be accessible in http://app-name.test and when I run sudo puma-dev -setup I get: Changing '/etc/resolver/test' to be owned by UserName. So when I get the message that application can be viewed in http://app-name.test or https://app-name.test, when I go there in my browser, its loading for a minute or so and then I get error: didn't find IP-address for app-name.test. any help is appreciated and thanks in advance!

Navid Shafie said 6 months ago on puma-dev replacement for pow and prax :

Thanks for your reply @kolbaltz, first in the app directory I ran rm ~/.puma-dev/"$(basename pwd)" to remove it from puma-dev, so when I go to ~/.puma-dev I can't see any folders and then I ran pkill -USR1 puma-dev to kill everything and than I ran pumad to start it again, but same issue.

Not sure what I did wrong at this point :/

Btw when I run which puma-dev I get this: /usr/local/bin/puma-dev

Im in rails 5.1

full message when I ran pumad:
* Use '/usr/local/Cellar/puma-dev/0.12/bin/puma-dev' as the location of puma-dev
* Installed puma-dev on ports: http 80, https 443
Your app should be available at http://appname.test and https://appname.test now!

Navid Shafie said 6 months ago on puma-dev replacement for pow and prax :

I ran tail -f ~/library/Logs/puma-dev.log and this is the output:
* HTTPS Server port: inherited from launchd
! Puma dev listening on http and https
and bunch of
2018/12/28 20:25:21 Error listening: accept tcp 0.0.0.0:0: accept: invalid argument
* Directory for apps: /Users/UserName/.puma-dev
* Domains: test
* DNS Server port: 9253
* HTTP Server port: inherited from launchd
* HTTPS Server port: inherited from launchd
! Puma dev listening on http and https
2018/12/28 20:25:31 Error listening: accept tcp 0.0.0.0:0: accept: invalid argument

Navid Shafie said 6 months ago on puma-dev replacement for pow and prax :

[SOLVED] For future reference for others if they had same issue as me. My problem was that I had programs running on port 80, so I ran ** lsof -t -i :80** and saw the programs running there, after that I ran ** lsof -t -i :81** (or lsof -t -i :YOUR-PORT) to check if anything running there and it wasn't so I did puma-dev -install -install-port 81 and that solved my issue.

Another issue some Mac (chrome) user can face is the certificate issue. What I did was to drag the certificate to my desktop and than drag it to my keychain and allow everything, quite and restart chrome and my problem was solved.

Thanks for great series @kobaltz

Navid Shafie said 24 days ago on DataTables :

Hope someone can help out. I have my code exactly the same. Running ruby '2.3.0' and rail 5.2.2.

When I go to my users.json path I get undefined method '[]' for nil:NilClass on:

def sort_column
columns[params[:order]['0'][:column].to_i]
end

and actually everything that uses the params. any help is much appreciated!