Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
You can use gem list to list all gems available from a remote gem server: gem list -r --clear-sources...
Ruby's standard library is in the process of being gemified. It will soon - Ruby 2.5 - consist of RubyGems, which...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...
For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...
Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
/home/.../ruby/gems/2.1.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError) Solution: Upgrade Rubygems beyond 2.6.9...
Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
We have projects that have been developed using many different versions of Ruby. Since we do not want to...
On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...
deadlock 0x7f8a4160a360: sleep:- (main) - /home/me/.rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/bundler-1.14.3/lib/bundler/worker.rb:43 deadlock 0x7f8a38c03b08: sleep:- - /home/me/.rbenv/versions/1.8.7-p375/lib/ruby/gems/1.8/gems/bundler-1.14.3/lib/bundler/worker.rb:56 *** longjmp causes uninitialized stack frame ***: /home/me/.rbenv/versions/1.8.7-p375/bin/ruby terminated
This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...
There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...
The rack-contrib gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it...
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
TL;DR: Update the 'net-ssh' gem by adding to your Gemfile: gem 'net-ssh', '=2.9.1' Now run bundle update...
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...
This method will remove automatically installed packages that no other packages depend on any more. This, of course...