xuijs / xui

A tiny javascript framework for mobile web apps.

Home Page:http://xuijs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build xui package -- ruby dependencies?

hexagon5un opened this issue · comments

So I've got Ruby installed, I run "./build" and I get:

/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- YAML (LoadError) from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from ./build:2:in `

'

Perhaps update the instructions to include loading/installing other Ruby package dependencies for the ruby-noobs?

Seems to have been a capitalization issue?

Changing the line in ./build:

require 'YAML'
to
require 'yaml'
makes it build.

(PS. I don't know shit about Ruby. Is it case sensitive? Why was I getting this error?)

in lubuntu i had the same error but fix changing 'YAML' to 'yaml' tks hesagon5sun