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

Errors running theme-bootstrap-2 #288

Open
TeAmigo opened this issue May 2, 2014 · 3 comments
Open

Errors running theme-bootstrap-2 #288

TeAmigo opened this issue May 2, 2014 · 3 comments

Comments

@TeAmigo
Copy link

TeAmigo commented May 2, 2014

I'm working through the material on http://ruhoh.com/docs/2/
Have created the config.yml, cloned the theme-bootstap-2, but when I run
$ bundle exec ruhoh server 9292
I get this error msg.:
/home/rickcharon/.rvm/gems/ruby-head/gems/ruhoh-2.6/lib/ruhoh/parse.rb:28:in `rescue in page_file': Error trying to read meta-data from /share/ruhoh-site/theme-bootstrap-2/media/glyphicons-halflings.png. Check your folder configuration. Error details: invalid byte sequence in UTF-8 (RuntimeError)
the png file seems to be ok, opens in Gimp, etc. Could someone tell me what's going on?
Thanks for any help

@baboocon
Copy link

baboocon commented May 6, 2014

I encountered the same issues, too...

@ameuret
Copy link

ameuret commented Jun 17, 2014

Since you have created the config.yml file the first thing to check is if you specify that the theme-bootstrap-2 directory must be used as a theme, using:

"theme-bootstrap-2": 
  use: "theme"

However if this is already the case you are likely running into the same issue as I did (#293) which is fixed by 1c7df99. A simple workaround is to rename the config.ru file to rackup.ru and launch the preview server with:

bundle exec rackup -p 9292 rackup.ru

@purefan
Copy link

purefan commented Aug 9, 2015

@ameuret After renaming the config file I was able to move past that issue, but now I get this instead

syntax error, unexpected ':', expecting '}' (SyntaxError)
"theme-bootstrap-2":

I have tried a lot of combinations for the rackup.ru file and none have worked, any clue what might be the problem?

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

4 participants