ERROR: paperclip is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
to add paperclip
gem in bundle list I tried the following:
bundle install paperclip
but yet again error occurs that is:
Your bundle is complete! It was installed into ./paperclip The path argument to bundle install is deprecated. It will be removed in version 1.1. Please use bundle install --path paperclip instead.
kindly assist me.
gem files your app uses in vendor/cache . Running bundle install will prefer gems in vendor/cache to gems in other locations.
To install a gem, use gem install [gem] . Browsing installed gems is done with gem list . For more information about the gem command, see below or head to RubyGems' docs.
Open Gemfile
in your favorite text editor. Add the line gem 'paperclip'
. Then run bundle install
Another way to add a gem to the bundle is to run:
bundle add paperclip
The bundle add
command seems to be supported since Bundler v1.15.
When you run bundle add
, the requested gem is added to the Gemfile and the bundle install
is being executed automatically so you don't have to run it yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With