-
As it turns out, Bundler, has the concept of plugins and one of them does precisely what we need: the bundler-symlink plugin provides a post-install hook that adds symlinks to all gems of the main application under its local directory. Specifically, under the .bundle/gems/ directory of your project. This is great because all the different absolute gem paths are now accessible from a known place within the main application.
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
We briefly tried to use a glob in the gem path in the Tailwind configuration (as in @source ".../.bundle/gems/flowbite-*/...") but this did not work, probably due to a limitation of the Tailwind scanner regarding symlinks.
-
$ bundle install Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Fetching bundler-symlink 0.4.0 Installing bundler-symlink 0.4.0 Installed plugin bundler-symlink Symlinking bundled gems into /home/matous/projekty/nejremeslnici/web/.bundle/gems Bundle complete! ... $ ls -l .bundle/gems lrwxrwxrwx 1 matous users 51 Mar 5 21:32 actioncable-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actioncable-8.0.1/ lrwxrwxrwx 1 matous users 53 Mar 5 21:32 actionmailbox-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actionmailbox-8.0.1/ lrwxrwxrwx 1 matous users 52 Mar 5 21:32 actionmailer-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actionmailer-8.0.1/ lrwxrwxrwx 1 matous users 50 Mar 5 21:32 actionpack-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actionpack-8.0.1/ lrwxrwxrwx 1 matous users 50 Mar 5 21:32 actiontext-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actiontext-8.0.1/ lrwxrwxrwx 1 matous users 50 Mar 5 21:32 actionview-8.0.1 -> /home/matous/.gem/ruby/3.4.1/gems/actionview-8.0.1/ ...
-
bundler-bare-symlink
Create symlinks to all your bundled gems using just the bare gem names without version
We ended up cloning the bundler plugin and amending its source to create symlinks that were not versioned instead. We released the new plugin under the bundler-bare_symlink name. It is exactly the same as the original 1 except for one thing: it uses the bare gem name instead of the (versioned) gem directory name in the symlink name.
-
As it quickly turned out, we forgot about the fact that not all CSS classes are used within our application itself. Our app includes an internal gem that implements several Flowbite components and some of the Tailwind classes it contains are unique to that gem. As the gem sources reside outside the app root directory, the Tailwind program cannot see them and doesn’t scan them for potential classes.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Related posts
-
LLMs and the Ossification of APIs: Are We Stuck with Prehistoric Patterns?
-
Show: Open-source admin dashboard with Tailwind CSS and Flowbite
-
Nativewind: Utility-First Tailwind CSS Experience for React Native
-
How to install HUGO with Tailwind CSS and Flowbite
-
Top Free Flowbite Dashboard Templates for Developers in 2025