...the process, but you can get them back easily if you have been using Bundler. sudo apt-get uninstall ruby1.8 ruby sudo apt-get install ruby1.9.1 ruby1.9.1-dev # this is actually...

sudo ruby setup.rb sudo ln -s /usr/bin/gem1.9.1 /usr/bin/gem sudo gem install bundler You will now need to run bundle install in your projects to get your gems...

makandra dev
semaphoreci.com

...roles: :app, only: { primary: true } do run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rails runner 'ScriptRunner.go'" end becomes desc 'Run script' task :script do on primary :app...

within current_path do with rails_env: fetch(:rails_env, 'production') do execute :bundle, 'exec', "rails runner 'ScriptRunner.go'" end end end end There is no :user setting any more...

Info If you're using Rails you already have concurrent-ruby in your bundle. hamster hamster provides several collection classes, such as Hamster::Hash. Hamster collections are immutable. Whenever...

makandra dev

...different Rubies can be installed at once. When you run ruby or gem or bundler or any other Ruby binary rbenv looks for a file .ruby-version in your directory...

...can be uninstalled with gem uninstall gemname. List and uninstall a gem installed via Bundler from Github This does not work for gems installed directly from Github. They do not...

...appear in gem list. Show all gems installed via Github by bundler: ls ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/ Remove a gem installed via Github by Bundler: rm -rf ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gemname-xyz rm -rf ~/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/cache/bundler/gemname-1.2.3

...you want to require a gem, that is not in the Gemfile of you bundle and therefore not in your loadpath, you need to add the path manually and require...

makandra dev

...this step definition: Then /^debugger$/ do debugger end Make the Ruby debugger work in Bundler projects Bundle the ruby-debug gem into the :development, :test and :cucumber groups. Problems?

github.com

...Copy your "Webhook URL". Add slackistrano to your Gemfile, in your :deploy group, and bundle your project. Add the following to your Capfile. # Slack notifications require 'slackistrano/capistrano' set :slackistrano, {

makandra dev

...files need to be corrected, then passes them to the autocorrection command: alias fixcops="bundle exec rubocop -p | grep -P \"\A[^:]+(?=:\d+:\d+: )\" --only-matching | xargs --no-run-if-empty...

...bundle exec rubocop -a" bundle exec rubocop -p quickly scans for issues, listing each affected file grep -P \"\A[^:]+(?=:\d+:\d+: )\" --only-matching searches for those file names

...depends on crass which depends on Ruby 1.9 gem 'cucumber_factory' Run bundle update on any added/changed gem, e.g. bundle update cucumber capybara selenium-webdriver database_cleaner cucumber_spinner

...test;'" failed and exited with 1 during . Rails 2/3 migrations don't work anymore bundle exec rspec spec -- create_table(:users) bundler: failed to load command: rspec (/home/travis/build/makandra/minidusen/vendor/bundle/ruby/2.2.0/bin/rspec) ActiveRecord::StatementInvalid...

makandra dev

...information check the compatibility notes. Fix Update net-ssh to version 7 or newer! bundle update net-ssh --conservative Bundler attempted to update net-ssh but its version stayed the...

...to find the gem that prevents you from updating and update this gem first. bundle update net-scp --conservative

Results logged to /home/user/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/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' --source 'https://rubygems.org/'...

...succeeds before bundling. In Gemfile: pry-debugger was resolved to 0.2.0, which depends on debugger was resolved to 1.1.4, which depends on debugger-linecache Fix: Use debugger version 1.1.4:

makandra dev

...unless the user explictily requested the version: gem install foobar --version="=2.3.0.alpha2" Also bundle update will never update a stable version to a pre-release version unless the user...

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

jacopretorius.net

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:

github.com

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

blog.jayfields.com

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