Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
David Chisnall (*Now with 50% more sarcasm!*)
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange  ·  activity timestamp 7 days ago

Sigh, Ruby. I just wanted to write a blog post, I didn't want to have to reinstall all of the Ruby dependencies because the installed gems no longer work with my system Ruby, and then discover that the new ones don't compile.

EDIT: It looks as if no gems that have native things can build with the latest Ruby in Homebrew for macOS because it ships a complete nonsense header that tries to include a non-existent system header, but which has the same name as the header that it includes (but included with #include not #include_next). You can comment out that line and make it work but I have no idea how that made it past code review or testing.

  • Copy link
  • Flag this post
  • Block
Chris [list of emoji]
Chris [list of emoji]
@suetanvil@freeradical.zone replied  ·  activity timestamp 20 hours ago

@david_chisnall

As the author (and only user) of a static site blogging program written in Ruby, I feel you.

My own strategy has been to use `rbenv`, install a Ruby version with all the necessary dependencies for my program and then wrap the program in a launch script that first sets the RBENV_VERSION environment variable to that version.

(Other strategies I've dabbled with are using JRuby and making a single big jar file and this project: https://codeberg.org/suetanvil/backpack-ruby .)

Codeberg.org

backpack-ruby

(M)Ruby-based toolchain for scripting and development on and for tool-poor environments
  • Copy link
  • Flag this comment
  • Block
Nick Desaulniers
Nick Desaulniers
@llvm@fosstodon.org replied  ·  activity timestamp 7 days ago

@david_chisnall I moved to Hugo (from OctoPress) because exactly that.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.22 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct