...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...

...the current app directory). If you do gem install in the current app directory, bundler will have no knowledge of this. What you want to do instead is bundle pristine...

Use bundler > 1.15 to fix Gem::LOADED_SPECS_MUTEX (NameError). Given the following project: ruby -v ruby 1.8.7 bundler -v Bundler version 1.13.7 gem -v 1.8.30 rails -v

...LOADED_SPECS_MUTEX (NameError) The previous settings described in Maximum version of Rubygems and Bundler for Ruby 1.8.7 and Rails 2.3 (even the rails version was rails 3.2 and not...

stackoverflow.com

...with-ruby-include=$rvm_path/src/ruby-1.9.3-p448 Resume what you were doing before (probably a bundle install). Here is how the "full" error looks like when a Bundler installation fails. Gem::Installer...

Results logged to /home/martin/.rvm/gems/ruby-1.9.3-p448/gems/debugger-linecache-1.1.2/ext/trace_nums/gem_make.out An error occurred while installing debugger-linecache (1.1.2), and Bundler cannot continue. Make sure that `gem install debugger-linecache -v '1.1.2'` succeeds before bundling...

...install RubyGems from the repository but install the version from the webpage instead. Get Bundler: sudo gem install bundler Rails and other gems for a project should now be installed...

...via bundle install from the project directory. If you need Rails and don't have a Gemfile you can do it old-school: sudo gem install rails -v=2.3.12.

...spring binstub --all, your binstubs will be using Spring. bin/rails console bin/rake db:migrate bundle exec rails ... Bundle exec is inconsistent when it comes to spring. Some commands will use...

...it, some won't. bundle exec rails console # starts Spring bundle exec rake # does not start Spring Disabling Spring You can temporarily disable Spring by setting the environment variable DISABLE...

ratio = 0.5 [[[terminal2]]] type = Terminal parent = child1 profile = default command = env startup_cmd="bundle exec rails server" startup_attrs="-p 3000" bash [[[terminal3]]] type = Terminal parent = child1 profile = default...

docs.gitlab.com

...runs to merge requests and the master branch, you can write this: tests: script: bundle exec rake tests rules: - if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_PIPELINE_SOURCE == "merge_request...

...use it, you first need to wrap the require 'mathn' call (usually by wrapping Bundler.require) like this: # config/application.rb MathnWorkaround.intercept do Bundler.require(:default, Rails.env) if defined?(Bundler) # If you require "mathn...

...branch: '0.3.x-lts' # for Rails 3.x in your Gemfile, and do a bundle update mysql2 Background mysql2 used to check that the client library used at runtime actually...

:autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ TextMate The Text bundle offers a command Remove Trailing Spaces in Document / Selection, which you can call before saving...

...This is not aware of git (i.e., which lines YOU have edited). In the bundle editor, assign it a shortcut like Cmd + Alt + Backspace. Update: Since 9-29-2012, TextMate2...