For that purpose, just use these command: bundle install --without production

opentechtips.com

This card is the copycat from this awesome article, all thanks to Zsolt Agoston. # Extract the private key openssl pkcs12...

wiki

...deploys) available via ssh by ssh_key. Deploy via remote_cache: require 'rvm/capistrano' require 'bundler/capistrano' set :application, '_proj_' set :rails_env, 'production' set :domain, '_user@your_deploy_domain_'

...File.join(ENV['HOME'], '.ssh', '_ssh_key_for_staging_machine.pem_') set :branch, 'master' set :deploy_via, :remote_cache set :bundle_gemfile, 'Gemfile' set :rake_file, "#{deploy_to}/current/Rakefile" role :web, domain role :app, domain

...database_cleaner' gem 'email_spec' gem 'poltergeist' gem 'launchy' gem 'selenium-webdriver' end Run bundle install Ensure your spec_helper.rb looks similar with this: require 'rubygems' require 'spork' #uncomment the following...

robmclarty.com

...gem 'capistrano' gem 'rvm-capistrano' end Then cd to project root folder and run: bundle install capify . setup your config/deploy.rb file, here some useful examples cap deploy:setup #before first...

Best results in other decks

Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this: bundle update cucumber-rails ... you might think this will only...

...is a dependency of cucumber-rails), which will break all your tests. The fix Bundler >= 1.14 has a --conservative flag. Using the conservative flag allows bundle update GEM to update...

To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website uses some large JavaScript library – say TinyMCE – which is only...

...up TinyMCE like this (code is somewhat simplified): // TinyMCE as part of the main bundle! import tinymce from 'tinymce/tinymce' // UI import 'tinymce/themes/silver' import 'tinymce/skins/ui/oxide/skin.min.css' // Plugin import 'tinymce/plugins/autoresize' up.compiler('[tinymce]', (element...

Search in all decks