[Rails] Re: Modifying a gem, best way to deploy

2012-03-21 Thread Nicolas Sebrecht
The 21/03/12, c...@eq4.andreas-s.net wrote: For a project I used the gem 'event_calendar'. However, there were a couple things I had to manually change within the gem source to suit my needs. How would I go about to deploy this in production 'the rails way'? Right now I have just replaced

[Rails] Re: Modifying a gem, best way to deploy

2012-03-21 Thread humbroll
monkey patch +1 vendorize isn't good choice for maintenance. Use AOP with include module chain methology(http://stackoverflow.com/questions/3689736/rails-3-alias-method-chain-still-used) not alias_method_chain. 2012년 3월 21일 수요일 오전 11시 45분 59초 UTC+9, (알 수 없음) 님의 말: For a project I used

[Rails] Re: Modifying a gem, best way to deploy

2012-03-21 Thread Peter
On Mar 20, 9:45 pm, c...@eq4.andreas-s.net wrote: How would I go about to deploy this in production 'the rails way'? If you're using bundler (which you should be), then you can: 1) Fork the gem and checkout that fork 2) Make your modifications to your fork (include tests if possible) and push

[Rails] Re: Modifying a gem, best way to deploy

2012-03-21 Thread C
Michael Pavling wrote in post #1052592: On 21 March 2012 02:45, c...@eq4.andreas-s.net wrote: For a project I used the gem 'event_calendar'. However, there were a couple things I had to manually change within the gem source to suit my needs. How would I go about to deploy this in production

[Rails] Re: Modifying a gem, best way to deploy

2012-03-21 Thread C
Ignore that last post... I discovered something went wrong with the vendorization of the gem and files did not end up in the correct location. Its working now. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on