davetron5000

davetron5000

Author of Rails, Angular, Postgres, and Bootstrap

Bug with dx/build - how to workaround until fix is up

Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and are probably getting some issue like

realpath: /Users/davec/Downloads/code/dev-environment/dx/../../dcsidekiq/Book/code/: No such file or directory

I have a fix coming, but to work around this, you’ll need to comment out some lines of code, as in this gist: dx_build.sh · GitHub

What happened was that I had stuff in that script to sync all the code from where I write the book into the Subversion repo where Prag Prog manages the book’s source and sample code. Since you, the reader, don’t have that, it all breaks. My apologies. Please let me know if this works for you!

Dave

Marked As Solved

davetron5000

davetron5000

Author of Rails, Angular, Postgres, and Bootstrap

The book example app uses dotenv which sets the URL correctly. This is covered on pages 4 and 5 during the initial setup.

The missing lsb-release is an issue and I think a point release of Debian must’ve removed it.

Also Liked

davetron5000

davetron5000

Author of Rails, Angular, Postgres, and Bootstrap

Can you try doing chmod +x dx/* and try it again? I wonder if windows is not preserving the executable bits on those scripts?

Also, what are those Zone.Identifier files? They were not part of the .zip file.

davetron5000

davetron5000

Author of Rails, Angular, Postgres, and Bootstrap

OK the repo has been updated so that lsb-release is installed. I have no idea why Debian removed it :frowning:

Where Next?

Popular Pragmatic Bookshelf topics Top

telemachus
Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks” While running the smoke tests in Chapter 2, I get these...
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
JohnS
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps. With: ruby-3.0.0 s...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
Charles
In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
bjnord
Hello @herbert ! Trying to get the very first “Hello, Bracket Terminal!" example to run (p. 53). I develop on an Amazon EC2 instance runn...
New

Other popular topics Top

AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
New
First poster: bot
Large Language Models like ChatGPT say The Darnedest Things. The Errors They MakeWhy We Need to Document Them, and What We Have Decided ...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New

Sub Categories: