inukshuk / bibtex-ruby

A BibTeX library, parser, and converter for Ruby.
http://inukshuk.github.com/bibtex-ruby
GNU General Public License v3.0
155 stars 35 forks source link

LoadError with 2.3.3 #73

Closed jwvdm closed 11 years ago

jwvdm commented 11 years ago

There appears to be a permissions problem with 2.3.3 which results in a LoadError on require 'bibtex', which goes away when reverting to 2.3.2.

Installed files have permissions 600 instead of 644, which may be the cause of this problem (I'm not very familiar with ruby, just a user of your jekyll-scholar package). I installed by doing "sudo gem install bibtex-ruby". I am using ruby 1.9.3 (installed via macports).

inukshuk commented 11 years ago

Interesting! @mfenner encountered the problem as well – this being caused by a permission problem makes a lot of sense, too, because I nomally have 600 permission on the laptop from which I pushed the last release, thanks for figuring that out!

mfenner commented 11 years ago

Thanks @jwvdm, I couldn't reproduce the problem so I'm glad you figured it out.

inukshuk commented 11 years ago

I just read up in this a little bit and it turns out gem build actually warns you about non-world-readable files. To my defence, I was on a train without air conditioning at the time (deutsche bahn!) so I must have missed it : )

I'll push a new gem with fixed permissions with as 2.3.4. Thanks again @jwvdm!

jwvdm commented 11 years ago

No trouble at all, glad it proved an easy fix!