uses: nick-invision/retry@v2 with: timeout_seconds: 30 max_attempts: 3 command: bundle exec rake spec

makandra dev

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

makandra dev

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

makandra dev

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

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

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

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

makandra dev

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

makandra dev

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

...You need to wrap them inside --cucumber-options option of parallel_cucumber. DISPLAY=:17 bundle exec parallel_cucumber --cucumber-options '--tags @solo' features See more details in the docs...

...cucumber features with (only) 2 cores The great thing is that the commands are bundler aware. Some tests showed that parallel test execution (2 CPUs instead of 1) gives you...

makandra dev

...one by one, fixing errors as they occur: Update gems as listed below, and bundle Boot a Rails console - see below for a list of changes you will probably need...

...install for Ruby 2.5 if you use a version equal or below 1.8.3. Run bundle update json --conservative to solve this issue. The backtrace you will encounter looks like this...

...to encounter several issues. Here are a few solutions (obviously not exhaustive): When running bundle install, a gem called linecache complains about not being compatible This is a dependency of...

makandra dev
github.com

Installation In your Gemfile: gem 'rmagick', :require => false gem 'gruff' Then run bundle install (and don't forget to restart your development server.) Usage This is a common...

makandracards.com

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

coderwall.com

...use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks. However, running bundle update therubyracer worked for me. It installed therubyracer -v '0.12.1' and libv8 -v '3.16.14.3' and...

Log of my attempts to get it working Probably you got here when bundling failed building native extensions for therubyracer. The libv8 (3.3.10.4) should have been installed when bundling...

...executable chromedriver for gem chromedriver-helper. chromedriver-helper is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception) chromedriver-helper overrides rbenv...

...a tradition of breaking details of its scope API every other release. The gem bundles multiple patches and initializers we've been using for hardcore work with scopes (or relations...

...for Libv8:Module (NoMethodError) This is caused by therubyracer's extconf.rb requiring libv8 without Bundler. So it gets the most recent version on your local machine, which might be incompatible...