Reputation: 20145
I see a command in environment.rb
that says
config.gem 'thoughtbot-paperclip', :lib => 'paperclip', :source => 'http://gems.github.com'
If I wanted to manually do it, it would be
gem install thoughtbot-papperclip --source http://gems.github.com
Where does the lib
fit in to the command line gem call?
Upvotes: 2
Views: 388
Reputation: 611
You want to use :lib
in your environment.rb
if the library name is different with the gem name.
Upvotes: 3
Reputation: 42865
Paperclip doesn't need a library call.
gem.config 'paperclip'
that should take care of paperclip.
Some gems have crazy dependencies like syntax highlighting and they need to reference a library to meet the dependencies.
Upvotes: 0