xiki
xiki copied to clipboard
Symbol's value as variable is void
Following the steps as outlined in the wiki, and when I run emacs
, I get the following error:
Loading encoded-kb...done
el4r started.
An error has occurred while loading `/Users/burhan/.emacs':
Symbol's value as variable is void: /Users/burhan/.rvm/rubies/ruby-1.9.3-p374/bin/el4r-instance:579:
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
´´
I'm getting the same error in another file using chruby instead of rvm:
("emacs")
Loading encoded-kb...done
el4r started.
An error has occurred while loading `/Users/moe/.emacs':
Symbol's value as variable is void: /Users/moe/.gem/ruby/2.0.0/gems/trogdoro-el4r-1.0.7/lib/el4r/el4r-sub.rb:537:
The corresponding line reads
@@__system_to_string_count__ = 0
Xiki isn't yet tested with ruby 2.0. Try 1.9.3, as suggested by the README. I'm not familiar with chruby, but there's probably a way to make 1.9.3 your default ruby.
--Craig
On Mon, Jun 3, 2013 at 2:41 AM, Martin Mauch [email protected]:
I'm getting the same error in another file using chruby instead of rvm:
("emacs") Loading encoded-kb...done el4r started.
An error has occurred while loading `/Users/moe/.emacs':
Symbol's value as variable is void: /Users/moe/.gem/ruby/2.0.0/gems/trogdoro-el4r-1.0.7/lib/el4r/el4r-sub.rb:537:
The corresponding line reads
@@system_to_string_count = 0
— Reply to this email directly or view it on GitHubhttps://github.com/trogdoro/xiki/issues/51#issuecomment-18830941 .
Is there any progress with this? I cannot easily install an older version of ruby. My distribution (Fedora 19) ships with 2.0.
Here a quick and dirty hack to make things works : https://gist.github.com/darkslategrey/8224804
I think this error prevents xiki from running (with Aquamacs) on my up-to-date Mac (i.e., running 10.9).
The patch above indeed fixes an error on "el4r-sub.rb" line 537, but NOT the error on "el4r-instance" line 579 which is the issue here
I found a solution:
Change line 579
else; File.open(log || "/tmp/el4r-#{whoami
.chomp}.#{Process.pid}.log", "w")
to:
else; File.open(log || ENV["HOME"] + "/tmp/el4r-#{whoami
.chomp}.#{Process.pid}.log", "w")
This resolved the error at line 579 but now yields the "error: el4r-instance is dead." issue https://github.com/trogdoro/xiki/issues/28
Yep, Mavericks up to date on current aquamacs download fails as described
what’s aquatics?
On Jun 28, 2014, at 9:41 AM, Ross McDonald [email protected] wrote:
Yep, Mavericks up to date on current aquatics download fails as described
— Reply to this email directly or view it on GitHub.
Its an autocorrect problem :-)
I edited my comment to fix it.
Has anyone got an end to end set of instructions that work on latest aquamacs and mavericks ?
I am working with emacs-app @24.3_3 (from MacPorts) and Mavericks. I've installed Ruby 1.9.3-p547 using rvm, the gems directory at ~/.rvm/rubies/ruby-1.9.3-p547/bin/gem. But I am getting this same error, but it's referencing /Library/Ruby/Gems/2.0.0/gems/trogdoro-el4r-1.0.10/lib/el4r/el4r-sub.rb:537. So I think the problem is that when it's setting up the config files it's referencing the wrong gems directory. How do we fix this?
+1 Encounter the same problem.