Top "Rubygems" questions

RubyGems is a package management tool for the Ruby programming language.

How to create a new Ruby gem?

To create a new Ruby gem, should I use Jeweler or should I use Bundler's built-in gem skeleton to create …

ruby rubygems bundler
Rails Devise: after_confirmation

Is there a way to create a after_confirmation :do_something ? The goal is to send an e-mail after the …

ruby-on-rails rubygems ruby-on-rails-3 devise
`add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError) OR Gem.source_index is deprecated

I am using rails 2.3.11, ruby-1.9.2-p320. Trying to run script/server but getting this error :- system@admin:~/apps/app_…

ruby-on-rails rubygems deprecated ruby-on-rails-2
rake db:migrate is being aborted due to rake version difference

I am getting the error rake db:migrate --trace rake aborted! You have already activated rake 10.1.1, but your Gemfile requires …

ruby-on-rails ruby rubygems gem rake-task
rbenv and bundler: "bad interpreter: No such file or directory"

I messed up my configuration. I am running Ubuntu 14.04 and had some issues when I tried to move from a …

ruby gem rubygems bundle rbenv
Problem installing mysql gem on Snow Leopard: uninitialized constant MysqlCompat::MysqlRes

I've got a problem trying to install the Ruby mysql gem driver. I recently upgraded to Snow Leopard and did …

mysql ruby rubygems osx-snow-leopard gem
Should rbenv be installed system-wide, or at a user level?

I'm building a vagrant setup, and part of that is installing rbenv. I'm using librarian-chef to manage all my chef …

ruby rubygems chef-infra vagrant rbenv
gem cannot access rubygems.org

I have a server with Rackspace that I use for a few Ruby sites. When I try bundle install on …

rubygems debian-jessie
rbenv: Surviving without gemsets

TL;DR Don't bother with gemsets; multiple versions of a gem may be installed concurrently. When necessary, specify which version …

ruby-on-rails ruby rubygems bundler rbenv
Rails/Ruby Error When Creating Database: Unable to load the EventMachine C extension

Update: the eventmachine gem is installed and in my gemfile: eventmachine (1.0.0, 0.12.10) Please help! Trying to create a database with the …

ruby-on-rails ruby rubygems gem eventmachine