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.

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

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

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

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

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

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

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

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

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

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

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

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?

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

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, {

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

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

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