gtamba / spice_rub

Ruby wrapper for the NASA-JPL CSPICE library via SciRuby
Other
9 stars 3 forks source link

Improvements, corrections to Rakefile and Gemspec #9

Closed translunar closed 8 years ago

translunar commented 8 years ago

See commit message for details. I was a little sloppy because I was in a hurry.

gtamba commented 8 years ago

Thanks a lot for this! I was honestly a bit lost on where to get started with automating builds.

translunar commented 8 years ago

The other nice thing is now you can do bundle exec rake pry or bundle exec rake console to get a Ruby console with your gem already loaded. =)

There are a bunch of other rake tasks you might want to steal from NMatrix as well, since you're doing C development. The main things are the gdb and valgrind tasks, which allow you to run your specs inside of gdb or valgrind to track down memory issues.