Have gemika generate a Github Actions workflow definition by running mkdir -p .github/workflows; bundle exec rake gemika:generate_github_actions_workflow > .github/workflows/test.yml Gemika tried to detect which of your...
You might run into issues with the mysql2 gem, including issues bundling, and even segfaults. Use this card to fix these issues. When tests pass, merge to...
...specs live in spec/shared/library_name. A Rakefile in the project root that lets you run bundler (rake all:bundle) or specs (rake all:spec) on all projects, which pretty colored output...
You can use rake --where task to find the source location that defines task: bundle exec rake --where assets:precompile rake assets:precompile /home/henning/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/precompiled_assets-0.2.1/lib/precompiled_assets/tasks/assets.rake:5:in `block in...
So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2' or Please install the mysql adapter: `gem install...
...activerecord-mysql-adapter` (mysql is not part of the bundle. Add it to Gemfile.) The reason for this confusing error message is probably that your Gemfile says mysql2, but your...
...like /usr/lib/ruby/gems/1.8/gems/your-broken-gem and /usr/lib/ruby/gems/1.8/specifications/your-broken-gem Update Rubygems or Slimgems by running gem update --system Run bundler on your project to reinstall the offending gem. If this happens to your during deployment...
After the update, log onto the server and remove the broken Bundler cache directories like (e. g. shared/bundle)
...To fix this you only need to upgrade the capistrano-passenger gem. Therefore run bundle update capistrano-passenger --conservative. The version change of passenger from 6.0.7 to 6.0.8 has triggered...
...this deprecation warning comes from try to run the tests with a step output. bundle exec parallel_cucumber --test-options "--format=pretty" feature The deprecation message looks like following:
... If upgrading is not an option, configure build options for gherkin: bundle config --local build.gherkin --with-cflags=-w Your .bundle/config file should now look like this: ---
...GHERKIN: "--with-cflags=-w" You should now be able to install the gem with bundle install. Make sure to commit and push .bundle/config so your fellow developers (and all the...
...freely mix these styles, and system will fail when passing it invalid arguments: system 'bundle exec rails server', '-p 3000' # fails and returns nil This is equivalent to running a...
...command called "bundle exec rails" (including spaces in its filename). There is usually no such command anywhere on the $PATH. Note that you should prefer the 2nd approach (list of...
...with rspec, cucumber and parallel_tests is easy. Add it to your Gemfile and bundle group :test do gem 'simplecov', require: false end Add a .simplecov file in your project...
uses: nick-invision/retry@v2 with: timeout_seconds: 30 max_attempts: 3 command: bundle exec rake spec
...want to run a script on the server. at Rails 2 it's script/runner bundle exec script/runner -e env_name path/to/script.rb argument1 argument2 ... at Rails 3 it's rails runner...
...RAILS_ENV=env_name bundle exec rails runner path/to/script.rb argument1 argument2...
after 'deploy:finished', 'deploy:after_deploy_tasks' # Keep this last Deploy with bundle exec. Now, when deploying, Capistrano will first check if there are any pending before deploy...
...reduce the webdriver update interval and see if VCR complains: WD_CACHE_TIME=1 bundle exec cucumber Note: Newer Rails versions come with the webdrivers gem automatically...
You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher to verify rubocop integrity First, open Settings -> Tools -> File Watchers...
...your $PATH. I worked around this constraint by using b as a shim for bundle exec. Resources File watchers documentation Settings documentation
...is the package manager we use for JavaScript. It does for JavaScript roughly what Bundler does for Ruby. Read the first couple of sections of its official documentation.
...works, you don't usually have to configure it. Webpack webpack is the asset bundler itself. It has extensive documentation, but things work a bit differently for Webpacker, so you...
...you get an error like this: An error occurred while installing pg (0.17.1), and Bundler cannot continue. Make sure that gem install pg -v '0.17.1' succeeds before bundling.
sudo apt-get install libpq-dev ... and run Bundler again...
...transactions and other shared states), you should not enable it just for fun. Use bundle exec puma -t 0:1 -w 1 -p 3000 to debug concurrency issues. Legacy
...uninstall --all mysql mysql2 The next time to work on a Rails project a bundle install will get you back the gems. Run tests Now run your test suite to...
...Solr you have to start your local instace by running Sunspot's rake task: bundle exec rake sunspot:solr:start Now prepare Solr's index by re-indexing all existing...
...code.example.com\/dev\/customer-2/https:\/\/gitlab-ci-token:$CI_CUSTOMER_2_ACCESS_TOKEN@code.example.com\/dev\/customer-2.git/" .gitmodules - git submodule init - git submodule update - bundle install rspec: script: - bundle exec rake db:create db:migrate - bundle exec rspec
...For Capistrano 2 set :application, 'PROJECT_NAME' # might be already set set :whenever_command, "bundle exec whenever" require 'whenever/capistrano' Note that "whenever" will not use a :cron role, but instead...
...to the :assets group in your Gemfile: gem 'compass-rails' gem 'oily_png' Run bundle install. Add a config/compass.rb with the following content: project_type = :rails generated_images_dir = 'app/assets/images/sprites...
...manner, it can affect readability in a terrible way. The better option is to bundle your local font into an npm package and to add a dependency in your project...
...s package.json file which loads this bundled font: // ./package.json { "name": "my_project", "private": true, "dependencies": { "@rails/webpacker": "^3.0.2", "bought-font": "file:vendor/asset-libs/bought-font" }, "devDependencies": { "webpack-dev-server": "^2.9.5" } } Note the path's...