bshaffer / oauth2-server-php-docs

documentation for the oauth2-server-php library
231 stars 148 forks source link

Install Issue with yajl/json_gem #54

Open ghost opened 9 years ago

ghost commented 9 years ago

In the last commit, you removed the Gemfile, on purpose? Once the Gemfile is put back into place and after the bundle install/update, I'm getting:

LoadError: cannot load such file -- yajl/json_gem

Now I don't know much about Ruby, but I want to contribute to the docs, so know a quick and dirty fix?

bshaffer commented 9 years ago

@bitcalc I struggled with a plethora of issues after upgrading to ruby 2.x. What version of ruby do you have installed?

bshaffer commented 9 years ago

The quick-and-dirty fix would be to just use markdown and submit the PR, and I can review the changes.

The not-so-quick-and-dirty would be to upgrade to ruby 2, run bundle update && bundle install, and then go to town :)

ghost commented 9 years ago

@bshaffer ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

I did update/install earlier, after a fair few new gems that needed installing... I'll make the changes and then submit, fix the issue on the side!

bshaffer commented 9 years ago

Sorry, so were you able to get it working then?

ghost commented 9 years ago

No, I have that yajl gem installed, but I don't know ruby and don't know what the /json_gem means or is referring to?

On 21 Jan 2015, at 19:49, Brent Shaffer notifications@github.com wrote:

Sorry, so were you able to get it working then?

— Reply to this email directly or view it on GitHub.

bshaffer commented 9 years ago

This is the issue I had as well, and is why I upgraded everything... but removing the Gemfile was in error.

If you have nanoc 3.7.5 installed, the nanoc command should work out of the box. In the meantime I'll see about getting this working again with a Gemfile for fresh checkouts

ghost commented 9 years ago

I have news, nanoc works fine when there is NO Gemfile