zdavatz / spreadsheet

The Ruby Spreadsheet by ywesee GmbH
http://spreadsheet.ch
GNU General Public License v3.0
1.13k stars 240 forks source link

Provide documentation showing correct installation of your gem #197

Closed bigos closed 7 years ago

bigos commented 7 years ago

require 'spreadsheet' gives me following error:

LoadError: cannot load such file -- spreadsheet

Some issues from the past give different solutions to the problem. The gem does not work out of the box.

zdavatz commented 7 years ago
  1. Learn Ruby properly.
  2. Read the Guide: https://github.com/zdavatz/spreadsheet/blob/master/GUIDE.md
  3. Stay friendly.
bigos commented 7 years ago

To stay friendly, I would suggest following changes specific to a Rails application. Recommend using gem 'spreadsheet' That solves lots of problems. When I put the above in my Gemfile the code worked and I was able to follow your examples. Sadly your gem has no support for Excel formulas yet, so I was forced to move to another gem.

The fact that someone points out a problem should not be taken personally. I do not mean to criticise you.

zdavatz commented 7 years ago

I do not care about Rails and I do not care if you use this gem or not. Next time just try a bit harder before you open an issue.

bigos commented 7 years ago

I understand, but it seems that many Rails users will look at your gem and someone will open the same issue unnecessarily. Clarifying the documentation a tiny bit does not require much effort and would be helpful. Many gems try to solve this issue by including examples for pure Ruby and Rails. Some of those examples might be suitable for you. If it stops people like me from opening issues it might be worth your time.