koppen / redmine_github_hook

Allow your Redmine installation to be notified when changes have been pushed to a Github repository.
http://mentalized.net/journal/2009/08/03/redmine_plugin_github_hook/
MIT License
478 stars 114 forks source link

MissingSourceFile (no such file to load -- json) #15

Closed evandavey closed 13 years ago

evandavey commented 13 years ago

I keep getting a MissingSourceFile (no such file to load -- json) error. The json gem has been installed. OSX 10.7.1. Ruby 1.8.7.

Processing ApplicationController#index (for 207.97.227.234 at 2011-09-15 16:14:57) [POST] Parameters: {"payload"=>"{\"after\":\"30f2d125cf46b2214d2ce3f9ce1da894a9f352cf\",\"created\":false,\"base_ref\":null,\"repository\":{\"has_issues\":true,\"pushed_at\":\"2011/09/15 08:14:55 -0700\",\"created_at\":\"2011/06/30 05:45:58 -0700\",\"forks\":1,\"homepage\":\"\",\"language\":\"Python\",\"fork\":false,\"watchers\":2,\"open_issues\":0,\"private\":false,\"size\":2468,\"owner\":{\"name\":\"evandavey\",\"email\":\"evan.j.davey@gmail.com\"},\"name\":\"OpenFinancialManagement\",\"has_wiki\":true,\"description\":\"Open source personal financial management application using the django framework.\",\"has_downloads\":true,\"url\":\"https://github.com/evandavey/OpenFinancialManagement\"},\"commits\":[{\"author\":{\"name\":\"Evan Davey\",\"username\":\"evandavey\",\"email\":\"evan.j.davey@gmail.com\"},\"message\":\"Adds site wide urls\",\"added\":[\"urls.py\"],\"timestamp\":\"2011-09-15T08:14:49-07:00\",\"removed\":[],\"distinct\":true,\"id\":\"30f2d125cf46b2214d2ce3f9ce1da894a9f352cf\",\"modified\":[],\"url\":\"https://github.com/evandavey/OpenFinancialManagement/commit/30f2d125cf46b2214d2ce3f9ce1da894a9f352cf\"}],\"forced\":false,\"deleted\":false,\"compare\":\"https://github.com/evandavey/OpenFinancialManagement/compare/ff5ea20...30f2d12\",\"pusher\":{\"name\":\"evandavey\",\"email\":\"evan.j.davey@gmail.com\"},\"ref\":\"refs/heads/master\",\"before\":\"ff5ea20ad4b43618281f2e03fa9bdb2e793cf3ab\"}", "project_id"=>"financialdatabase", "action"=>"index", "controller"=>"github_hook"}

MissingSourceFile (no such file to load -- json):

* LOCAL GEMS *

actionmailer (2.3.11) actionpack (2.3.11) activerecord (2.3.11) activeresource (2.3.11) activesupport (2.3.11) acts-as-taggable-on (2.0.6) Ascii85 (1.0.1) bluefeather (0.40) bundler (1.0.18) coderay (0.9.8) daemon_controller (0.2.6) fastthread (1.0.7) holidays (1.0.3) i18n (0.4.2) icalendar (1.1.6) json (1.6.0) mysql (2.8.1) nokogiri (1.5.0) open-uri-cached (0.0.4) passenger (3.0.9) pdf-reader (0.10.0) prawn (0.12.0) rack (1.1.0) rails (2.3.11) rake (0.8.7) rubygems-update (1.3.7) ttfunk (1.0.2) vpim (0.695)

evandavey commented 13 years ago

My error. Had switched over to using Bundler and had a Gemfile.lock which was preventing json from being recognised.