...installed, something is seriously wrong and needs to be fixed. If you accidently executed bundle install some_gem although you wanted bundle update some_gem What is wrong

...Gemfile asks for some-gem which you can see when running gem list but bundle show some-gem just gives you an error: Could not find gem 'some-gem', in...

...integration test container you can run your tests export CHROMEDRIVER_URL=http://localhost:9999 bundle exec rspec specs/system/test_spec.rb # You might need to set remove `--headless` from your chromedriver options in...

...port 12345 (#0) > GET / HTTP/1.1 > Host: localhost:12345 > User-Agent: curl/7.68.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 301 Moved Permanently < Date: Wed, 26 Apr...

...library should only be loaded for that screen. It should not blow up the bundle size for all screens. You can load code on demand by using import() as a...

Learn more We have another card: Webpack: How to split your bundles Webpack documentation: Code Splitting Unpoly: Loading large libraries on-demand

github.com

...it can happen that there are several version of the same package in your bundle, although one would fulfill your conditions: "@babel/code-frame@^7.0.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" "@babel/code-frame...

...github.com/net-ssh/net-ssh/issues/565 for more information Gem::LoadError : "ed25519 is not part of the bundle. Add it to your Gemfile." As described in the error message, the ed25519 and bcrypt_pbkdf...

...is fixed in reline 0.2.0. So either gem install reline, or in projects with Bundler: gem 'reline', '>= 0.2.0' # Fixes TypeError in Rails console

On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec): /home/arne/.rvm/gems/ruby-1.8.7-p374@global/gems/rubygems-bundler-1.4.2/lib/rubygems-bundler/noexec.rb:75:in `setup': undefined method `name' for # (NoMethodError...

...from /home/arne/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `map' ... Apparently, this is due to bundler (or maybe the rubygems-bundler that RVM supplies by default) no longer working on old Rails versions (it seems...

makandra dev

...rails_root}/tmp/pids/#{w.name}.pid" w.env = {"RAILS_ENV"=>rails_env, 'PIDFILE' => w.pid_file} w.start = "bundle exec rake my_task &" ... end Your Rake task should write its process ID to that...

...can set the number of processes via ENV variable manually: PARALLEL_TEST_PROCESSORS=1 bundle exec geordi cucumber Alternatively, you can run the vanilla cucumber command with Geordi's VNC...

...it is relevant to run all tests. Single tests are always run single threaded: bundle exec geordi cucumber features/some.feature Use cases: Somewhere in the test run a deprecation warning is...

...the database, import the dump and migrate to the current branch git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4 bundle exec rake db:drop db:create db:migrate psql -f some.dump -U some_user -h...

...database # or geordi dump -l some.dump git checkout master # or your current working branch bundle exec rake db:migrate

...a recent version of Rubygems You installed some gems that install a binary (like bundle, rake or rails) with code that only works with modern Rubygems versions You downgraded Rubygems...

...gem pristine --all Fixing an existing Ruby installation (fallback method) Uninstall all gems (including bundler) or remove and re-install the Ruby version Upgrade/downgrade to the version you want using...

...already required in your specs. Here is some info that should help you out: Bundler actually doesn't automatically require anything. You need to call Bundler.require(:default, :your_custom_group1...

...your spec folder (like has_defaults), and you boot its environment, it should call Bundler.require for you and you don't need to require anything yourself. If your embedded app...

...are trying to install in deployment mode after changing *** [err :: some-host.makandra.de] your Gemfile. Run `bundle install` elsewhere and add the *** [err :: some-host.makandra.de] updated Gemfile.lock to version control. *** [err :: some-host.makandra.de]

...have deleted from the Gemfile: *** [err :: some-host.makandra.de] * We found out a newer version of bundler runs on the machines to be deployed to (see bundle -v, it was 2.0.1 in...

...ssh (= 2.0.22) for [], already activated net-ssh-2.1.0 for [] (Gem::LoadError) If you have Bundler installed, you can use bundle exec to avoid this problem as follows: Create a gemfile...

...gem 'hoptoad_notifier' # Add this for projects that use Hoptoad and Capistrano integration Run bundle install in the same directory. Now you can use Capistrano again by prepending BUNDLE_GEMFILE...

makandra dev

...similar) and proceeds to deploy staging afterwards: alias await-deployment='watch -g git pull && bundle exec cap staging deploy' Note Use at your own risk. You could be deploying code...

makandra dev

...after switching from the asset pipeline to webpack: 01:05 deploy:assets:precompile 01 bundle exec rake assets:precompile 01 Compiling... 01 Compilation failed: 01 yarn run v1.22.5 01 error...

awsdocs.s3.amazonaws.com

...you have to upload the new certificate : (if you don't have a ca-bundle you can omit the -c www.example.com.ca-bundle) iam-servercertupload --aws-credential-file ./aws-credential.txt -b www.example.com.crt...

...k www.example.com.key -c www.example.com.ca-bundle -s www.example.com-2011 -v The output should look like this and includes the server certificate Amazon Resource Name (ARN) and GUID:

We recommend you disable documentation generation for gem install by default. Note that Bundler won't install documentation, so this advice applies only when installing gems manually.

makandra dev
github.com

...command, e.g. geordi rs or geordi dev[server] command dependencies, e.g. geordi rspec invokes geordi bundle-install (which bundles only if needed) no cluttered /usr/bin, but all commands in one...

...little niceties New commands setup: set up a Rails project for the first time (bundle install, create database.yml, create databases, migrate), optionally run all tests (--test) or load a dump...

...Remove version locks in package.json for webpack and webpack-dev-server Install by calling bundle update webpacker and yarn upgrade Update file contents Work through the Webpacker 4 migration guide...

github.com

rbenv each gem update geordi Another useful example would be to bulk-update bundler or rubygems. Note that rbenv-each hasn't been updated since 2018, but it is...

...even the diff is quite small afterwards. Preparations 1. Find all libraries that are bundled with the asset pipeline. You can check the application.js and the application.css for require and...

...compiling the packs for production and search for a working example: RAILS_ENV=production bundle exec rake assets:precompile. Remember to remove the folder public/packs afterwards. 11. Configure Capistrano and...

...command line tools. When your tests involve a Rails test application, your tool's Bundler environment will shadow that of the test application. To fix this, just call unset_bundler...

...now any command run through Aruba (e.g. via #run_simple) will have a clean Bundler environment. module Customization # Improve the internal #run method provided by Aruba::Api to run commands...