I need to create a workout fit file in the rails application. From the Gramin available SDK, there is no SDK available for ruby. How can I make a .fit file in ruby?
I need to create a workout fit file in the rails application. From the Gramin available SDK, there is no SDK available for ruby. How can I make a .fit file in ruby?
there is no really good one, there are some that do partial bit but IMHO with so much missing bits and bugs that it's just a hassle.
I usually just use jruby and via that the official java sdk. Takes a bit getting used to but at least you know you're using the official SDK and jruby makes it convenient to use java libraries.
In a rails app it might not be possible or viable to switch to jruby so maybe using the C SDK via ffi (https://github.com/ffi/ffi ) is an option but you need to at least interface with C stuff which might be depending on your background harder than using jruby
I found a few ruby gems too out of which I ended up using https://github.com/jpablobr/f4r it's working for me.