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

missing dependency to json ? (using ruby 1.8.7) #15

Closed
ofa- opened this issue Dec 21, 2013 · 2 comments
Closed

missing dependency to json ? (using ruby 1.8.7) #15

ofa- opened this issue Dec 21, 2013 · 2 comments

Comments

@ofa-
Copy link

ofa- commented Dec 21, 2013

pi@raspberrypi ~ $ gem install sonice
....
pi@raspberrypi ~ $ SONICE_VOTING=0 sonice
/var/lib/gems/1.8/gems/haml-4.0.4/lib/haml/parser.rb:86: warning: regexp has invalid interval
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
...

pi@raspberrypi ~/so-nice $ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [arm-linux-eabihf]
pi@raspberrypi ~/so-nice $ uname -a
Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux

@ofa-
Copy link
Author

ofa- commented Dec 21, 2013

anyway, installing json does not help enough:

pi@raspberrypi ~ $ gem install json
Fetching: json-1.8.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed json-1.8.1
1 gem installed
Installing ri documentation for json-1.8.1...
Installing RDoc documentation for json-1.8.1...

pi@raspberrypi ~ $ SONICE_VOTING=0 sonice
/var/lib/gems/1.8/gems/haml-4.0.4/lib/haml/parser.rb:86: warning: regexp has invalid interval
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': /var/lib/gems/1.8/gems/sonice-2.1.0/lib/sonice/app.rb:12: syntax error, unexpected ':', expecting kEND (SyntaxError)
set :haml, format: :html5

@ofa-
Copy link
Author

ofa- commented Dec 22, 2013

requires ruby 1.9 (tested to work on ruby 1.9.1)

@ofa- ofa- closed this as completed Dec 22, 2013
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

1 participant