Cannot load a custom gem <p>I have a real newbie problem. I wrote a very small (one-file) library and I wanted to publish it in a gem so that I can use it in other projects modularly. I used the following gemspec:</p> <pre><code>Gem::Specification.new do |s| s.name = 'symbolize-array' s.version = '1.0.0' s.date = '2013-11-22' s.summary = "Symbolizes strings in arrays" s.description = "" s.files = ["lib/array.rb"] s.homepage = 'https://github.com/renra/symbolize-array-ruby' s.license = 'MIT' end </code></pre> <p>I build the gem. Fine. I publish the gem. Fine. I install the gem from rubygems. Fine. But when I run irb and do require 'symbolize-array' I get:</p> <pre><code>LoadError: cannot load such file -- symbolize-array from /home/renra/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from /home/renra/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from (irb):4 from /home/renra/.rvm/rubies/ruby-2.0.0-p247/bin/irb:13:in `&lt;main&gt;' </code></pre> <p>As you can see from the backtrace I use rvm. When I run 'gem environment' and I go to the gem path I can see my gem is installed just like the others. I can require the others, but I cannot require my gem. So I guess this is not a problem with the load path (I've seen questions that were answered like that) but maybe in the way I built the gem. Grateful for your ideas.</p>