Installation troubles under OS X Lion

680 views
Skip to first unread message

Sascha Vogt

unread,
Aug 17, 2012, 4:16:04 PM8/17/12
to xi...@googlegroups.com
Hi all,

I'm trying to get Xiki installed under Mac OS X Lion. It may be related
to my limited knowledge of Ruby and Gems.

I have gem in version 1.8.24, Ruby is in version 1.8.7 (2011-12-28
patchlevel 357) [universal-darwin11.0], Bundler in version 1.1.5.

gem sources shows rubygems.org as the only remote repository.
sascha$ gem list --remote | grep xiki returns nothing.

So I tried installing via GitHub.
bundle install --system went without error, I copied the wrapper to
/usr/local/bin and made it executeable.
After that, I had to adjust the path (the wrapper now looks like:
#!/usr/bin/env ruby
load "/Users/sascha/dev/projects/xiki/bin/xiki"

Calling xiki start produces:
SilverBear:xiki sascha$ xiki start
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:64:in
`get_response': execution expired (Timeout::Error)
from /Users/sascha/dev/projects/xiki/etc/command/xiki_command.rb:123:in
`open'
from /Users/sascha/dev/projects/xiki/etc/command/xiki_command.rb:123:in
`get_response'
from /Users/sascha/dev/projects/xiki/etc/command/xiki_command.rb:120:in
`get_response'
from /Users/sascha/dev/projects/xiki/etc/command/xiki_command.rb:102:in
`run'
from /Users/sascha/dev/projects/xiki/bin/xiki:37
from /usr/local/bin/xiki:2:in `load'
from /usr/local/bin/xiki:2

Any ideas? I see under /tmp/
-rw-r--r-- 1 sascha wheel 900B 17 Aug 22:14 xiki_process.rb.output
prw-rw-rw- 1 sascha wheel 0B 17 Aug 22:14 xikirequest
prw-rw-rw- 1 sascha wheel 0B 15 Aug 22:18 xikiresponse

Is this expected? Any hints?

Greetings
-Sascha-

Gamaliel Toro

unread,
Aug 17, 2012, 4:23:45 PM8/17/12
to xi...@googlegroups.com
First for install from gem u should use:

$ gem install xiki --pre

because is alpha.

But stills right now is not working well the --pre version until it gets merged u should try to use my fork https://github.com/argami/xiki

Because is alpha and stills need some work i recommend to use RVM

But u need to compile your gem so the steps are:

$ git clone git://github.com/argami/xiki.git
$ cd xiki
$ rvm use --create 1.8.7@xiki
$ gem install bundler
$ bundle
$ gem build wiki.gemspec
$ gem install xiki-0.5.0a.gem
$ xiki start 

This will install and start you xiki but it stills need to configure on emacs and theres a few errors on that.

Regards

-- 
Gamaliel Toro
Enviado con Sparrow

--
You received this message because you are subscribed to the Google Groups "Xiki" group.
To post to this group, send email to xi...@googlegroups.com.
To unsubscribe from this group, send email to xiki+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xiki?hl=en.

Craig Muth

unread,
Aug 17, 2012, 6:40:25 PM8/17/12
to xi...@googlegroups.com
Sacha,

We've got a few big commits coming soon. I'm using Lion as well, so
you'll be in great shape. Stay tuned. Will email the list when it's
committed.

Gamaliel,

Thanks for helping people troubleshoot!

--Craig

Dave Carlton

unread,
Aug 18, 2012, 3:03:03 PM8/18/12
to xi...@googlegroups.com
I tried following your instructions but alas, can't use rvm. From macports:
--->  Computing dependencies for rvm
--->  Building rvm
Error: org.macports.build for port rvm returned: command execution failed
To report a bug, follow the instructions in the guide:
Error: Processing of port rvm failed

Gamaliel Toro

unread,
Aug 18, 2012, 5:37:08 PM8/18/12
to xi...@googlegroups.com
RVM from macports?????

1) (recommendation) drop Macports and change to homebrew. (https://github.com/mxcl/homebrew) Macports generates a lot of headaches
2) Don't use Macports or brew to install RVM. Follow the instructions from rvm web page (https://rvm.io/rvm/install/)


Cheers 
Gami

Ian Varley

unread,
Sep 14, 2012, 3:29:28 PM9/14/12
to xi...@googlegroups.com
I just heard about xiki and followed the instructions on the README.md file pretty much word for word, and got this same error. 

$ sudo gem -v
1.8.24
$ xiki status
xiki_process.rb: no instances running
$ xiki

... prints out a whole bunch of stuff starting with "> Summary" and then after "% xiki readme", it shows this error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:60:in `get_response': execution expired (Timeout::Error)
from /Users/ivarley/xiki/etc/command/xiki_command.rb:123:in `open'
from /Users/ivarley/xiki/etc/command/xiki_command.rb:123:in `get_response'
from /Users/ivarley/xiki/etc/command/xiki_command.rb:120:in `get_response'
from /Users/ivarley/xiki/etc/command/xiki_command.rb:102:in `run'
from /Users/ivarley/xiki/bin/xiki:30
from /usr/local/bin/xiki:2:in `load'
from /usr/local/bin/xiki:2

I don't really know jack about Ruby, or the macports / homebrew / etc. stuff mentioned down thread. I'm on Mac OS 10.6.8. Any suggestions?

Thanks!
Ian
Reply all
Reply to author
Forward
0 new messages