Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator throws errors #2

Open
mheadd opened this issue Apr 7, 2012 · 2 comments
Open

Validator throws errors #2

mheadd opened this issue Apr 7, 2012 · 2 comments

Comments

@mheadd
Copy link

mheadd commented Apr 7, 2012

Not sure why this isn't working. Using ruby 1.8.7.

~mheadd$ gem install open311-validator
~ mheadd$ open311-validate -u http://311.baltimorecity.gov/open311/discovery.json
/Users/mheadd/.rvm/gems/ruby-1.8.7-p334/gems/open311-validator-0.0.1/lib/session.rb:14:in `load': no such file to load --tests/discovery.rb (LoadError)
from /Users/mheadd/.rvm/gems/ruby-1.8.7-p334/gems/open311-validator-0.0.1/lib/session.rb:14:in `run_tests'
from /Users/mheadd/.rvm/gems/ruby-1.8.7-p334/gems/open311-validator-0.0.1/bin/open311-validate:41
from /Users/mheadd/.rvm/gems/ruby-1.8.7-p334/bin/open311-validate:19:in `load'
from /Users/mheadd/.rvm/gems/ruby-1.8.7-p334/bin/open311-validate:19
@tggagne
Copy link

tggagne commented Oct 3, 2014

I had the same error, and it was because I needed to run the command in the open311-validate directory, where the subdirectory "tests" lives.

My latest problem is the old code doesn't work with the new ruby stuffs--or doesn't seem to.

DrozBook:open311-validator tgagne$ gem --version
2.0.14
DrozBook:open311-validator tgagne$ ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
DrozBook:open311-validator tgagne$ gem which rspec
/Library/Ruby/Gems/2.0.0/gems/rspec-3.1.0/lib/rspec.rb

@tggagne
Copy link

tggagne commented Oct 3, 2014

I found the answer to that. I installed an older rspec and uninstalled the newer one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants