...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...
...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...
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...
...the database, import the dump and migrate to the current branch git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4 bundle exec rake db:drop db:create db:migrate psql -f some.dump -U some_user -h...
...database # or geordi dump -l some.dump git checkout master # or your current working branch bundle exec rake db:migrate
...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...
...similar) and proceeds to deploy staging afterwards: alias await-deployment='watch -g git pull && bundle exec cap staging deploy' Note Use at your own risk. You could be deploying code...
...after switching from the asset pipeline to webpack: 01:05 deploy:assets:precompile 01 bundle exec rake assets:precompile 01 Compiling... 01 Compilation failed: 01 yarn run v1.22.5 01 error...
We recommend you disable documentation generation for gem install by default. Note that Bundler won't install documentation, so this advice applies only when installing gems manually.
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...
...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...
...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...
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:
...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...
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...
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...
...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 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...
...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...
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...
...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
...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...
This is how you do it (key shortcuts apply for TextMate2) Open the bundle editor (ctrl + alt + + B) Create a new Item ( + N), select "Command" Paste this: ^ #!/usr/bin/env ruby...
...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...