sdsykes / slim_scrooge

SlimScrooge heavily optimises your database interactions
313 stars 25 forks source link

Use a block with chdir, to restore original working directory #18

Closed omgitsads closed 12 years ago

omgitsads commented 12 years ago

Use a block with chdir, as this will restore the original working directory after the command has been executed.

Should fix #16, but haven't tested as i am not using this project, debugging for an Engine Yard customer.

omgitsads commented 12 years ago

As an aside to this, i'm not sure why you feel it necessary to run make every time the rails stack initialises the gem. Surely this should be done when the gem is intstalled? Maybe there is a reason.

sdsykes commented 12 years ago

I think that code was added for using this as a 'plugin', and compilation of the extension may be required but wouldn't be handled by rubygems.

I'm thinking we should remove that code and make a gem only release.