postmodern · @postmodern
1320 followers · 1931 posts · Server ruby.social

When using a gem directly from git with bundler, how do you handle gems that have files which need to be dynamically generated by rake? Bundler doesn't seem to have logic to compare the git files against the gemspec files and run `rake #{file} ...` to auto-generate any missing dynamic files.

#ruby #bundler

Last updated 1 year ago

Chris is. · @offby1
742 followers · 7744 posts · Server wandering.shop

How do developers work with projects that don't include an in their dependencies, but still get the benefits of ruby-lsp or sorbet's LSP? I don't want to maintain a delta against Gemfile.lock just to turn those on. Is there a way to configure to add a host-only gem dependency that never gets included in Gemfile and Gemfile.lock?

#ruby #opensource #lsp #bundler

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
478 followers · 2178 posts · Server floss.social

Super fast web build tool written in goes brrrrrrrrrrrr:

github.com/farm-fe/farm

If you can trust their benchmark, startup is almost 10x faster than and HMR 5x faster! 🚀 ⚡

It's build on the awesome project.

#Rust #vite #swc #rustlang #performance #JavaScript #webdev #buildtool #bundler

Last updated 1 year ago

Jeremy · @notgrm
28 followers · 47 posts · Server ruby.social

[Now in english] Use Bundler in a Ruby script dev.to/notgrm/use-bundler-in-a

#ruby #bundler #til

Last updated 1 year ago

Jeremy · @notgrm
27 followers · 46 posts · Server ruby.social

[Blog] Utiliser Bundler dans un script en Ruby : blog.notgrm.dev/til-use-bundle

#ruby #bundler #til

Last updated 1 year ago

Ich entdeckte !

Wie wunderschön das ist!!

😍

#noconfig #bundler #typescript #vite

Last updated 1 year ago

· @nicod
52 followers · 1512 posts · Server diaspodon.fr
deSilva · @aesthetikx
32 followers · 181 posts · Server ruby.social

I'm noticing that Gemfile.lock does not contain information about groups in the Gemfile. Does bundler reference both Gemfile.lock and Gemfile when installing, say, production dependencies?

#ruby #bundler

Last updated 2 years ago

travis · @travails
1 followers · 1 posts · Server ruby.social

I wanted to check out some things in Rails 7.1.0.alpha and the newest bundler makes this wicked fast without downloading the whole repo.

#ruby #rails #bundler #docker

Last updated 2 years ago

Steven Harman · @stevenharman
181 followers · 153 posts · Server ruby.social

HOLY HELL the new version resolver in Bundler 2.4 is FAST. With the new PubGrub-based version resolver `bundle update` runs in ~30s on our monolith. Whereas before it took HOURS to run.

#ruby #bundler #rails

Last updated 2 years ago

olivierlacan · @olivierlacan
697 followers · 748 posts · Server ruby.social

As @getajobmike said, lots of great improvements in Bundler 2.4 but for me no longer having some of the most confusing output about dependency resolution blockers is a gigantic improvement, especially for less experienced folks who could feel paralyzed by the previous output on resolution failure. bundler.io/blog/2023/01/31/bun

Thanks to David Rodríguez, @jhawthorn, and @nex3 for their incredibly helpful work.

#ruby #bundler #pubgrub

Last updated 2 years ago

I use :vim: · @asteroidrainfall
59 followers · 807 posts · Server fosstodon.org

When using to a library, is there something you must configure for editor to work when importing the library? The actual import map is working (I can use modules in my project) but class properties and methods don’t have any IntelliSense in and in class properties are highlighted as “undefined“ (even though they work just fine).

#babel #transpile #nodejs #intellisense #vscode #webstorm #webdev #question #softwaredevlopment #development #bundler #webpack #javascript #typescript #vanillajs

Last updated 2 years ago

૮༼⚆︿⚆༽つ · @drsensor
86 followers · 249 posts · Server fosstodon.org

devlog

Number of chunks produced by code splitting

site: 7a695d63.nusa.pages.dev/demo/m
before: just esbuild
vs
after: Rollup+Sucrase+esbuild
site: aa647c9e.nusa.pages.dev/demo/m

Still not ideal since I need to patch the chunks after build is done but overall it's okay-ish. Now I need to implement hoistmap to avoid that waterfall request. (maybe later)

PS: notice it produce an empty chunk (0B) when I only using esbuild instead of Rollup++

#nusa #javascript #bundler

Last updated 2 years ago

GenghisKen Coar · @GenghisKen
73 followers · 277 posts · Server ruby.social

@postmodern
I agree, which is why I wish 's setting could be ground more finely, with a different default. IIRC, having 𝚜𝚞𝚍𝚘 access has resulted in Bundler doing system-wide gem installs on me in the past.

But maybe I'm misremembering.

#bundler #ruby #gems

Last updated 2 years ago

૮༼⚆︿⚆༽つ · @drsensor
85 followers · 227 posts · Server fosstodon.org

I wish other and support`/*@__INLINE__*/` annotation. Not just specific to terser.

#javascript #bundler #minifier #webdev #esbuild #swc

Last updated 2 years ago

Volkan Özçelik · @volkan
35 followers · 1223 posts · Server z2h.dev

If `gem install $package` gives an access denied error

cd $HOME
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-dev libcurl4-openssl-dev libffi-dev

git clone github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL

1/2

#tips #ruby #gem #bookmarked #bundler #devex

Last updated 2 years ago

Matthew Graybosch · @matthewgraybosch
89 followers · 710 posts · Server mastodon.world

@anclement @philnash I'm not sure why it would, either, but for whatever reason thinks you're running an old and busted and isn't talking to .

I just did some searching and found this GitHub issue. Apparently the Bundler gem has the version with which it was installed hard-coded. One person manually edited the script to reset the version.

github.com/rubygems/bundler/is

If messing with Bundler doesn't fix it, I don't know what else to tell you.

#bundler #ruby #RVM

Last updated 2 years ago

Ayo · @ayo
119 followers · 634 posts · Server fosstodon.org

Never thought is this bad on package managers. Please consider users need assurances on CLIs and TUIs too (maybe even more so)

#a11y #ruby #gems #bundler #cli #tui

Last updated 2 years ago

Daniel Sandbecker · @d_s
6 followers · 26 posts · Server ruby.social

I've been using dev shells (via ) for native dependencies for quite some time now and is happy with how that has worked out. This year I started to use flakes to pin the dependencies better. But now I probably want to level up and actually build my projects via Nix, and create container images for deployment directly in Nix. For projects I've been exploring the idea to base the dev shell on the nix gemset rather than running *inside* the shell. Is anyone doing this?

#nix #direnv #ruby #bundler

Last updated 2 years ago