trogdoro / xiki

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

Emacs/Aquamacs complains about symbol variable being void #66

Closed alebcay closed 10 years ago

alebcay commented 10 years ago

So I installed Xiki successfully (using RVM, not default ruby), and then ran xiki web/start, and I proceeded to create all three configuration files. When I then start Aquamacs, I get:

Warning (initialization): An error occurred while loading `/Users/caleb/.emacs':

Symbol's value as variable is void: /Users/caleb/.rvm/gems/ruby-2.1.0@global/gems/trogdoro-el4r-1.0.10/lib/el4r/el4r-sub.rb:537:

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.

What's happening?

Here's my Ruby version:

ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
alebcay commented 10 years ago

Never mind, found #51. Downgrading to ruby 1.9.3 and closing this.

trogdoro commented 10 years ago

Yeah, sry, added this until we get ruby 2 support in place, but I haven't pushed it yet:

/projects/xiki/xiki.gemspec : s.required_ruby_version = ">= 1.9.3"

--Craig

On Thu, Feb 13, 2014 at 8:08 AM, Caleb Xu notifications@github.com wrote:

Closed #66 https://github.com/trogdoro/xiki/issues/66.

Reply to this email directly or view it on GitHubhttps://github.com/trogdoro/xiki/issues/66 .

trogdoro commented 10 years ago

If someone added 's.required_ruby_version = ">= 1.9.3"' and made sure it worked, and submitted a pull request, I'd merge it!

--Craig

On Thu, Feb 13, 2014 at 12:19 PM, Craig Muth craig.muth@gmail.com wrote:

Yeah, sry, added this until we get ruby 2 support in place, but I haven't pushed it yet:

/projects/xiki/xiki.gemspec : s.required_ruby_version = ">= 1.9.3"

--Craig

On Thu, Feb 13, 2014 at 8:08 AM, Caleb Xu notifications@github.comwrote:

Closed #66 https://github.com/trogdoro/xiki/issues/66.

Reply to this email directly or view it on GitHubhttps://github.com/trogdoro/xiki/issues/66 .

davidswelt commented 10 years ago

Is there a way to get it to work with the regular ruby that comes with Mavericks, or is installed by homebrew? Quite generally, it would be good for xiki to compile and run out-of-the-box. I don't speak ruby, and I don't intend to learn its packaging technologies and version issues just to try out xiki...!

mannd commented 10 years ago

Same issue here as per davidswelt. Don't really want to downgrade Ruby to run xiki with emacs.

mannd commented 10 years ago

Just wanted to add that by using RVM and switching to ruby 1.9.3 it does work for me.