no such file to load
Closed this issue · 3 comments
$ heroku update
Updating from 2.34.0... done, nothing to update
$ rvm use 1.9.3-p327
Using /Users/dfuentes/.rvm/gems/ruby-1.9.3-p327
1.9.3-p327 ~ $ heroku plugins:install https://github.com/neilmiddleton/heroku-healthcheck.git
Installing heroku-healthcheck...
failed
! Unable to load plugin heroku-healthcheck.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: no such file to load -- json (LoadError)
Backtrace: /Users/dfuentes/.heroku/plugins/heroku-healthcheck/init.rb:2:in `require'
/Users/dfuentes/.heroku/plugins/heroku-healthcheck/init.rb:2
/Users/dfuentes/.heroku/client/lib/heroku/plugin.rb:68:in `load'
/Users/dfuentes/.heroku/client/lib/heroku/plugin.rb:68:in `load_plugin'
/Users/dfuentes/.heroku/client/lib/heroku/command/plugins.rb:46:in `install'
/Users/dfuentes/.heroku/client/lib/heroku/helpers.rb:236:in `action'
/Users/dfuentes/.heroku/client/lib/heroku/command/plugins.rb:44:in `install'
/Users/dfuentes/.heroku/client/lib/heroku/command.rb:207:in `send'
/Users/dfuentes/.heroku/client/lib/heroku/command.rb:207:in `run'
/Users/dfuentes/.heroku/client/lib/heroku/cli.rb:28:in `start'
/usr/bin/heroku:25
Command: heroku plugins:install https://github.com/neilmiddleton/heroku-healthcheck.git
Plugins: heroku-config
heroku-dashboard
heroku-healthcheck
heroku-pg-extras
heroku-pg-transfer
Version: heroku-toolbelt/2.34.0 (universal-darwin11.0) ruby/1.8.7
I'm not sure what's going on here as json is part of the 1.9.3 stdlib. Saying that, I've noticed that your version is listed as ruby/1.8.7
(see the bottom of your paste) which might be the problem.
Curious, I re-downloaded and re-installed the Heroku Toolbelt and tried it again:
$ heroku version
heroku-toolbelt/2.34.0 (x86_64-darwin10.8.0) ruby/1.9.3
$ heroku plugins:install https://github.com/neilmiddleton/heroku-healthcheck.git
Installing heroku-healthcheck... done
You would think "heroku update" would accomplish this but I guess the installer does a bit more than the updater.
In either case. Thanks.
The toolbelt by default uses 1.8.7, so I would guess that combining that
with RVM would cause some odd results
On Tuesday, February 5, 2013, dfuentes77 wrote:
Curious, I re-downloaded and re-installed the Heroku Toolbelt and tried it
again:$ heroku version
heroku-toolbelt/2.34.0 (x86_64-darwin10.8.0) ruby/1.9.3$ heroku plugins:install
https://github.com/neilmiddleton/heroku-healthcheck.git
Installing heroku-healthcheck... doneYou would think "heroku update" would accomplish this but I guess the
installer does a bit more than the updater.In either case. Thanks.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-13144986.