[Archivesspace_Users_Group] archivesspace newbie questions
esha at nyu.edu
Tue Feb 9 20:04:26 EST 2016
I'm a developer with NYU's Bobst Library and am new to JRuby and
ArchivesSpace. I have to write a plugin and am trying to use pry for
stepping through some code. I have done some rails work before and tried to
install pry by adding it to the backend/ Gemfile and then running
./scripts/jruby -S bundle install. The command ran but didn't install pry.
I then tried to install it by doing the following:
./scripts/jruby -S gem install pry
That installed pry but when I tried to use it in the backend by doing
"binding.pry", I got an error saying it's an undefined method. If anyone
has pointers as to how to use pry in this environment, I'd really
appreciate it. Basically, I'm trying to figure out what certain objects
have and return in order to write the plugin.
Also, I will need to write tests for the plugin. Sorry, if I've missed
documentation in how to write tests for the plugin and how to run them. If
someone could point me to that, I'd really appreciate it.
Thanks for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Archivesspace_Users_Group