xuijs / xui

A tiny javascript framework for mobile web apps.
http://xuijs.com
789 stars 106 forks source link

Can't build xui package -- ruby dependencies? #103

Closed hexagon5un closed 7 years ago

hexagon5un commented 10 years ago

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?

hexagon5un commented 10 years ago

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?)

comparan77 commented 9 years ago

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