Moneydance Ruby extension

Arvicco's Avatar

Arvicco

05 Feb, 2011 01:20 PM

I have created Ruby interface for Moneydance, similar in scope and function to Jython extension.
Now you can easily write your Moneydance-related scripts in dynamic Ruby language which is
a modern and preferred scripting solution for many developers.

Support site for this extension, complete with documentation and examples, is located here:
http://arvicco.github.com/moneydance-ruby/

  1. 1 Posted by Jon Hoover on 05 Feb, 2011 06:18 PM

    Jon Hoover's Avatar

    Arvicco,
    Great! Thanks for contributing this! It is much appreciated and I will pass it on to our developers to give it a try.
    Thanks!
    Jon Hoover, Moneydance Support

  2. 2 Posted by Mike on 05 Mar, 2011 05:31 PM

    Mike's Avatar

    Great Extension -- I've been waiting for someone to add this! Thanks!

  3. Support Staff 3 Posted by Sean Reilly on 14 Mar, 2011 08:15 PM

    Sean Reilly's Avatar

    Hi Arvicco,

    This looks great! Sorry it has taken me so long to verify and sign the extension. I am having a problem building the extension from source though. I assume this is due to my lack of ruby/jruby knowledge, but when trying to install I get the following:

    sreilly@ShepBook .+ceOS/moneydance-ruby: rake ant:jar
    (in /Users/sreilly/Projects/MoneydanceOS/moneydance-ruby) rake aborted!
    no such file to load -- ant
    /Users/sreilly/Projects/MoneydanceOS/moneydance-ruby/rakefile:2 (See full trace by running task with --trace)

    Any ideas what causes that?

  4. 4 Posted by Arvicco on 14 Mar, 2011 09:32 PM

    Arvicco's Avatar

    Hi Sean,

    No problems Sean, I understand that you have a lot on your plate at the moment.

    Usually, such error indicates that your are trying to run Rake tasks with vanilla Ruby, not JRuby. Vanilla Ruby does not know anything about Ant and gives you this error.

    Please check that is your current Ruby version by running:

    $ ruby -v

    If it's something other than "jruby 1.5.5+", than this is the problem. Most platforms have either vanilla Ruby, or OS-specific Ruby pre-installed by default, not JRuby. You need to make sure JRuby is installed, and it is found first when running ruby command. How to achieve this, depends on your platform, JRuby wiki may help:
    https://github.com/jruby/jruby/wiki

    Usually, when you have conflicting Ruby installs, it's easiest to use something like RVM to switch between them:
    http://rvm.beginrescueend.com/rubies/installing/

    Since most Rubyists use RVM (or Pik under Windows), I have .rvmrc in project directory that should switch to correct Ruby automatically. Your Ruby setup is probably different, as a result you're having this error.

  5. System closed this discussion on 31 Mar, 2015 03:33 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac