filestack / filestack-rails

Official Ruby on Rails plugin for Filestack File Picker that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
Apache License 2.0
223 stars 102 forks source link

cannot load such file -- filestack-rails (LoadError) #170

Closed niclin closed 7 years ago

niclin commented 7 years ago

version : Rails 5.0.4

As per document, my project get load error when gem file add gem 'filestack-rails', require: 'filestack-rails'

2017-08-03 1 41 03

after change to gem "filestack-rails", require: "filepicker-rails" can be work for me!!

but I still can't use <%= filestack_js_include_tag %> in layout.

2017-08-03 1 41 47

the error message tell me Did you mean? filepicker_js_include_tag

so I can not use it helper

Finally, I still use <script src="https://static.filestackapi.com/v3/filestack-0.6.2.js"></script> solution

staturecrane commented 7 years ago

@niclin Please run "bundle update" as your bundler is still installing the previous version of the Rails plugin, which is where your errors are coming from. If you do that and then follow the instructions on the Readme, all should work for you :)

Also, we are modifying the installation instructions. You no longer need to add the "require: "filestack-rails" clause to your Gemfile.