Ruby on Rails Sunday, February 17, 2013




On Sun, Feb 17, 2013 at 9:44 AM, Jonathon M. <lists@ruby-forum.com> wrote:

Yes, I'm using rvm. So the CKeditor gem will be there. If I want to
modify the gem and have that modification passed to my deployed site do
I need to move it to within my assets (or whatever)? I ask because
otherwise when I run bundle install on the deployed site (heroku hosted)
it will just install the regular ckeditor files won't it, without my
changes?

As far as I understand, you're modifying the gem by your own. I've donde this with simple form  and once with ckeditor.
This is what I did then:

- forked the github repository
- made the changes, commit them and push to my fork
- then in Gemfile

   gem 'simple_form', :git => 'git://github.com/MY_ACCOUNT/simple_form.git' 

If your site is in heroku, then I suggest doing this. 

Javier

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment