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

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

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

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