trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 207 forks source link

Stuck in Step 2: EmacsRuby (el4r) setup #10

Open gtorodelvalle opened 11 years ago

gtorodelvalle commented 11 years ago

First of all, let me congratulate for xiki ;-) It looks amazing :-)

I was trying to use it from AquaEmacs but I am stuck in Step 2. I installed xiki from GitHub as you indicate without any problem and running "xiki" on my shell seems to work perfectly.

This is what I get when executing "sudo bash etc/install/el4r_setup.sh" from the xiki directory:

mac507514-7:xiki gtv$ sudo bash etc/install/el4r_setup.sh ruby: No such file or directory -- setup.rb (LoadError) ruby: No such file or directory -- el4r-rctool (LoadError) ruby: No such file or directory -- el4r-rctool (LoadError) mac507514-7:xiki gtv$

Not a Ruby expert (or newbie ;-) ) so any help is more than appreciated.

Thank you very much!

ktf commented 11 years ago

Same here

piranha commented 11 years ago

Do cat etc/install/el4r_setup.sh. You can see that it tries to determine directory of trogdoro-el4r, where setup.rb is lying. It's not working, but you can cd ../trodgoro-el4r/ and perform other commands yourself.

I'm a bit concerned though that it tries to install everything to /System/..., would be better to find nicer place for all the stuff...

piranha commented 11 years ago

I have another problem with installing el4r (os x 10.8.1):

piranha@gto /usr/local/Cellar/Gems/1.8/gems/trogdoro-el4r-1.0.7/bin> ruby -S el4r-rctool -p
cp /Users/piranha/.el4rrc.rb backup/.el4rrc.rb.backup
Generating backup/.el4rrc.rb.new...
el4r-rctool:125:in `write': closed stream (IOError)
    from el4r-rctool:125:in `puts'
    from el4r-rctool:125:in `apply_patch'
    from el4r-rctool:98:in `open'
    from el4r-rctool:98:in `apply_patch'
    from el4r-rctool:168:in `__send__'
    from el4r-rctool:168:in `commit'
    from el4r-rctool:166:in `each'
    from el4r-rctool:166:in `commit'
    from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1724:in `options'
    from el4r-rctool:148:in `commit'
    from el4r-rctool:36:in `initialize'
    from el4r-rctool:276
cocevk commented 11 years ago

Same here. Stuck on step 2 with same error...

manthano commented 11 years ago

same here. cd'd to the appropriate directory to run the commands listed in el4r_setup.sh and had the same error as piranha. Also on OS X 10.8.1.

ktf commented 11 years ago

Actually I finally managed to install it by using rvm, ruby 1.9.2, and aquaemacs.

nixnuex commented 11 years ago

A workaround for this problem can be found in https://groups.google.com/d/msg/xiki/2hd7sFDStIo/-cCN4N3-qsMJ

First, delete /Library/Ruby/Gems/1.8/gems/trogdoro-el4r-1.0.7/bin/backup/ and /Users/yourusername/.el4rrc.rb and then perform the steps described in the google groups thread.

manthano commented 11 years ago

I also got it working with rvm, ruby 1.9.2 and aquaemacs. Also had to use Opt+Enter to run xiki commands in Aquaemacs, not Cmd+Enter or Ctrl+Enter.

trogdoro commented 11 years ago

Glad you're finding work-arounds. People seem to be having the best luck with ruby 1.9.3. I'll try to figure out the other errors soon.

cocevk commented 11 years ago

I have tried the standard (as written in README) procedure, with ruby 1.9.3 (installed via brew), no dice. Same error. Trogdoro, I hope you succeed in making an install procedure that actually works, since xiki is soooo interesting! ;-) Btw, I am on OSX 10.8.1 (XCode command line tools installed).

sjackman commented 11 years ago

+1

caboteria commented 11 years ago

I had the same "No such file or directory" problem when I first tried to install Xiki. Turns out I had an old version of gem that output nothing in response to "gem contents trogdoro-el4r". I upgraded to gem version 1.8.24 which outputs the setup.rb line that the script is looking for and everything worked fine.