Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Stated the need to specify "config.gem" +:lib+ option for libraries w…

…here the Gem name (eg. "sqlite3-ruby") differs from the file itself (eg. "sqlite3")

This affects great number of popular gems and is *really* frustrating to get "you have to rake gems:install" permanently when you *know* you just did that.

See eg.
  • Loading branch information...
commit b38a80323f9cef4415c110b0b05016f98613e870 1 parent efdad93
@karmi karmi authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  railties/environments/environment.rb
2  railties/environments/environment.rb
@@ -22,8 +22,10 @@
# Specify gems that this application depends on.
# They can then be installed with "rake gems:install" on new installations.
+ # You HAVE to specify the <tt>:lib</tt> option for libraries, where the Gem name (<em>sqlite3-ruby</em>) differs from the file itself (_sqlite3_)
# config.gem "bj"
# config.gem "hpricot", :version => '0.6', :source => ""
+ # config.gem "sqlite3-ruby", :lib => "sqlite3"
# config.gem "aws-s3", :lib => "aws/s3"
# Only load the plugins named here, in the order given. By default, all plugins

0 comments on commit b38a803

Please sign in to comment.
Something went wrong with that request. Please try again.