Skip to content

Instantly share code, notes, and snippets.

@5v3n
Created February 15, 2014 00:25
Show Gist options
  • Save 5v3n/9012431 to your computer and use it in GitHub Desktop.
Save 5v3n/9012431 to your computer and use it in GitHub Desktop.
Fix broken ruby on Linino - using precompiled ruby packages. Work in Progress...
- Download and extract https://docs.google.com/file/d/0B54xzz44RpW6YlpaQXV3M2hTQVk to /tmp
# cd tmp
- ruby core
# opkg install libyaml libdb47 libruby_1.9.3-p429-1_ar71xx.ipk ruby-core_1.9.3-p429-1_ar71xx.ipk ruby_1.9.3-p429-1_ar71xx.ipk
# ruby -v
ruby 1.9.3p429 (2013-05-15 revision 40747) [mips-linux]
- rubygems
# opkg install ruby-enc_1.9.3-p429-1_ar71xx.ipk ruby-yaml_1.9.3-p429-1_ar71xx.ipk ruby-zlib_1.9.3-p429-1_ar71xx.ipk ruby-openssl_1.9.3-p429-1_ar71xx.ipk ruby-webrick_1.9.3-p429-1_ar71xx.ipk ruby-erb_1.9.3-p429-1_ar71xx.ipk ruby-gems_1.9.3-p429-1_ar71xx.ipk
# gem -v
/usr/lib/ruby/1.9/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
1.8.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment