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

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

...certificate-body file://www.example.com.crt --private-key file://www.example.com.key --certificate-chain file://www.example.com.ca-bundle { "ServerCertificateMetadata": { "Path": "/", "Arn": "arn:aws:iam::5xxxxxxxxxxx:server-certificate/www.example.com-2013010-2014010", "ServerCertificateId": "AXXXXXXXXXXXXXXXXXXXX", "ServerCertificateName": "www.example.com-2013010-2014010", "UploadDate...

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

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

I use the Gemini web chat interface quite extensively. One thing that is tedious is giving it all the context...

...plugin would require the sqlite3 gem, but that gem wasn't in the Gem bundle. Rack only parses 65536 form params by default Problem can occur when using the integrated...

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

The bug is fixed in a new version of RSolr. Simply run bundle update rsolr. Version 1.0.6 works for us...

makandra dev
github.com

Improve geordi deploy: Find stages by their prefix (e.g. s -> staging, m -> makandra), bundle if needed, check the selected stage exists Improve geordi server: Takes port as argument (e.g. geordi...

Fix Rubygems binary error: undefined method `activate_bin_path' for Gem:Module (NoMethodError) Bundler: Gemfile.lock is corrupt & gems are missing from the DEPENDENCIES section

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

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

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

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

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

Try fully removing and re-installing the gem: gem uninstall mysql mysql2 bundle install

...is the package manager we use for JavaScript. It does for JavaScript roughly what Bundler does for Ruby. Read the first couple of sections of its official documentation.

...works, you don't usually have to configure it. Webpack webpack is the asset bundler itself. It has extensive documentation, but things work a bit differently for Webpacker, so you...

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

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

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

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

wiki.macromates.com

When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they are plain Ruby files. But there is help! Solution

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