/usr/lib/ruby/gems/1.8/gems/haml-4.0.5/lib/haml/parser.rb:86: warning: regexp has invalid interval
(DELEGATE):2:in settings': stack level too deep (SystemStackError) from (__DELEGATE__):2:insend'
from (DELEGATE):2:in settings' from (__DELEGATE__):2:insend'
from (DELEGATE):2:in settings' from (__DELEGATE__):2:insend'
from (DELEGATE):2:in settings' from (__DELEGATE__):2:insend'
from (DELEGATE):2:in settings' ... 2027 levels... from /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:929:inconfigure'
from (DELEGATE):2:in send' from (__DELEGATE__):2:inconfigure'
from /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb:49
Solution is to change appmarket-server.rb from:
if settings.respond_to? :public_folder
set :public_folder, File.join(File.dirname(FILE), '..', 'public')
else
set :public, File.join(File.dirname(FILE), '..', 'public')
end
to
set :public_folder, File.join(File.dirname(FILE), '..', 'public')
set :public, File.join(File.dirname(FILE), '..', 'public')
CentOS 6.5 & ruby 1.8.7
/usr/lib/ruby/gems/1.8/gems/haml-4.0.5/lib/haml/parser.rb:86: warning: regexp has invalid interval (DELEGATE):2:in
settings': stack level too deep (SystemStackError) from (__DELEGATE__):2:in
send' from (DELEGATE):2:insettings' from (__DELEGATE__):2:in
send' from (DELEGATE):2:insettings' from (__DELEGATE__):2:in
send' from (DELEGATE):2:insettings' from (__DELEGATE__):2:in
send' from (DELEGATE):2:insettings' ... 2027 levels... from /usr/lib/ruby/gems/1.8/gems/sinatra-1.0/lib/sinatra/base.rb:929:in
configure' from (DELEGATE):2:insend' from (__DELEGATE__):2:in
configure'from /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb:49
Solution is to change appmarket-server.rb from:
if settings.respond_to? :public_folder set :public_folder, File.join(File.dirname(FILE), '..', 'public') else set :public, File.join(File.dirname(FILE), '..', 'public')
end
to
set :public_folder, File.join(File.dirname(FILE), '..', 'public')
set :public, File.join(File.dirname(FILE), '..', 'public')