As a user of Bundler you have spent significant time looking at this message: Fetching source index for http://rubygems.org/ To make Bundler skip this index update and only use...

...installed gems, you can use the --local option: bundle install --local Unfortunately this does not work with bundle update. It is said that Bundler 1.1 will use a feature of...

...in package.json, pins the exact versions in a lock file, and the build pipeline bundles it. You can evaluate a library before adding it — maintenance, popularity, tests, dependencies, size — and...

...of your JavaScript matters to users and check what a package costs (e.g. on Bundlephobia). You can add a library and import only the parts you need as ES modules...

stackoverflow.com

...about that but in some cases it can't. To resolve this issue, run: bundle install If this does not do the trick for you, take a look at the...

...r --clear-sources -s 'https://user:password@gemserver.tld/' This is useful to debug cases where Bundler complains of a gem existing in more than one gem source...

...run it from the directory that holds your projects. Note that, like the vanilla bundle install, this will fail whenever a new gem compiles native components and requires a missing...

By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets. If you have asset manifests...

...solutions as we become more experienced with using Bundler, and more command line tools become Bundler-aware. b will use bundle exec if there is a Gemfile in the working...

...directory, and run the call without Bundler otherwise. b spec spec This script is part of our geordi gem on github...

...between major versions. Use the latest Gemfile snippet from the Rails LTS docs. Run bundle update This will upgrade all your gems, ignoring versions locked in Gemfile.lock. This might lead...

...to conflicting gem versions due to conflicting dependencies. You might have to update (bundle update [gem names]) the necessary gems first or find a compatible gem version(s) setup by...

...all required gems. Gemfile # Gemfile gem 'docker-api' gem 'serverspec' Then we install them bundle install Preparation Create the directory where the Tests are going to live. Add the folder...

end See the test failing Run the test to see it fail bundle exec rspec F Failures: 1) File "/entrypoint.sh" is expected to exist Failure/Error: it { should exist...

apidock.com

Using rename_column, remove_column, etc. more than once in a migration makes that migration run slower than it should...

...load on your runners like in the following example .gitlab-ci.yml: rubocop: interruptible: true script: - 'bundle exec rubocop' rspec: interruptible: true script: - 'bundle exec rspec' Afterwards new pushes to your MR...

Add: gem "reek", group: [:test, :development] To run Reek on your Rails project: $ bundle exec reek app lib config test This will check the existing code for antipatterns in...

...commit a .reek.yml file that ignores all existing violations while flagging newly introduced ones: $ bundle exec reek --todo Example output for the "Long Parameter List" smell: app/models/foo.rb -- 1 warning...

...Make sure you don't have any version constraints in your Gemfile or your bundle update won't do anything! Upgrade cucumber_priority: bundle update cucumber_priority Upgrade spreewald:

...update spreewald Upgrade cucumber_factory: bundle update cucumber_factory Upgrade parallel_tests: bundle update parallel_tests Even on the latest version, parallel_tests will print some deprecation warnings due to...

makandracards.com

deploy-to-production now calls Capistrano with bundle exec since we started to bundle Capistrano in all projects...

...at its current local state into the current Ruby version. When you're using Bundler, you could also use the gem by specifying a relative path in the Gemfile of...

...how vulnerable dependencies endanger an app and how we find and fix them, e.g. with bundler-audit, CVE advisories and Rails LTS. You can explain what HTTPS guarantees against an...

...start new projects with 📄 A compatible default CSP for Rails projects — our card Vulnerable dependencies 📄 bundler-audit — checks your Gemfile.lock against known CVEs 📄 Brakeman — static analysis of a Rails app...

...in advisor mode. Learning goals You can explain what a frontend build pipeline does — bundling, transpiling, fingerprinting, postprocessing — and why the browser never sees your source files as you wrote...

...is a sprockets statement that would copy and duplicate the content file in your bundle each time you use it. only SASS @imports are aware of the current state of...

...ES module export - importing it runs an IIFE that assigns the API to window.pannellum. Bundle it statically, make sure the viewer's container gets a definite size, and allow blob...

...s no need for a lazy import() chunk; a static import into the main bundle is fine. Minimal viewer const viewer = window.pannellum.viewer(container, { type: 'equirectangular', panorama: '/path/to/equirectangular.jpg', autoLoad: true, })

...foreman to your Gemfile: gem 'jsbundling-rails' group :development, :test do gem 'foreman' # ... end bundle install run bin/rails javascript:install:esbuild in a console to prepare esbuild. run yarn install...

...plugin-import-glob') const { sassPlugin } = require('esbuild-sass-plugin') require('esbuild') .build({ entryPoints: [ 'application.js', ], bundle: true, outdir: path.join(process.cwd(), 'app/assets/builds'), absWorkingDir: path.join(process.cwd(), 'app/assets'), color: true, minify: optimize, sourcemap: true...

...the gigabyte, so you should aim to keep your footprint small. Check your JS bundles Webpack(er): Analyze the size of your JavaScript components

makandra dev

...context and user question. Choosing an input format The final user message has to bundle the retrieved RAG context with the actual question. How you encode that bundle matters: it...

vim.org

First option is to install it with your package manager: apt-get install vim-puppet vim-addons install puppet

makandra dev
github.com

After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...