I have tried followed the guide in https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x,but failed.I suggest the newest plugin in git://github.com/sandipransing/rails_tiny_mce.git only support Rails3.0.How to install in Rails2.3.10? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
This is the error trace. ./script/generate rails_tiny_mce_migration /Library/Ruby/Gems/1.8/gems/activesupport-2.3.10/lib/active_support/ dependencies.rb:466:in `load_missing_constant'': uninitialized constant TinyMCE::OptionValidator (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.10/lib/ active_support/dependencies.rb:106:in `const_missing'' from /Volumes/test/vendor/plugins/rails_tiny_mce/init.rb:2:in `evaluate_init_rb'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin.rb: 158:in `evaluate_init_rb'' from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.10/lib/ active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin.rb: 154:in `evaluate_init_rb'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin.rb: 48:in `load'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin/ loader.rb:38:in `load_plugins'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin/ loader.rb:37:in `each'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/rails/plugin/ loader.rb:37:in `load_plugins'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/initializer.rb: 369:in `load_plugins'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/initializer.rb: 165:in `process'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/initializer.rb: 113:in `send'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/initializer.rb: 113:in `run'' from /Volumes/test/config/environment.rb:9 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' from /Library/Ruby/Gems/1.8/gems/rails-2.3.10/lib/commands/ generate.rb:1 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'' from ./script/generate:3 On Mar 10, 3:52 pm, jaron <inepa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have tried followed the guide inhttps://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x,but > failed.I suggest the newest plugin in git://github.com/sandipransing/rails_tiny_mce.git > only support Rails3.0.How to install in Rails2.3.10?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Mar-10 15:39 UTC
Re: Re: How to install rails_tiny_mce in Rails2.3.10
On Thu, Mar 10, 2011 at 2:16 AM, jaron <inepalon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This is the error trace. > ./script/generate rails_tiny_mce_migration > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.10/lib/active_support/ > dependencies.rb:466:in `load_missing_constant'': uninitialized constant > TinyMCE::OptionValidator (NameError) >This constant may have changed when they went to Rails 3. This is what I suggest you try doing. 1. uninstall/delete the plugin you have from your vendors folder for rails_tiny_mce 2. run the following to install the plugin from the branch rails 2.x ./script/plugin install --branch rails_2.x git://github.com/sandipransing/rails_tiny_mce.git 3. run the migration command ./script/generate rails_tiny_mce_migration Let us know how it goes. B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The follow install command run failed: ./script/plugin install --branch rails_2.x git://github.com/sandipransing/rails_tiny_mce.git Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ rails_tiny_mce.git"] I try to download the plugin for rails 2.x in the page https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x, extract the file and copy to my vendors folder.Bute the migration command run error still. On Mar 10, 11:39 pm, Bryan Crossland <bacrossl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > This constant may have changed when they went to Rails 3. This is what I > suggest you try doing. > > 1. uninstall/delete the plugin you have from your vendors folder for > rails_tiny_mce > 2. run the following to install the plugin from the branch rails 2.x > > ./script/plugin install --branch rails_2.x > git://github.com/sandipransing/rails_tiny_mce.git > > 3. run the migration command > > ./script/generate rails_tiny_mce_migration > > Let us know how it goes. > > B.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Jaron, I''ve played around with the TinyMCE plugins for Rails 2, 3 and every time I''ve found it to be MUCH easier to just download the files from http://tinymce.moxiecode.com/download/download.php, drop them in your public folder and you should be good to go. On Mar 10, 9:14 am, jaron <inepa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The follow install command run failed: > ./script/plugin install --branch rails_2.x git://github.com/sandipransing/rails_tiny_mce.git > Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ > rails_tiny_mce.git"] > > I try to download the plugin for rails 2.x in the pagehttps://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x, > extract the file and copy to my vendors folder.Bute the migration > command run error still. > > On Mar 10, 11:39 pm, Bryan Crossland <bacrossl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > This constant may have changed when they went to Rails 3. This is what I > > suggest you try doing. > > > 1. uninstall/delete the plugin you have from your vendors folder for > > rails_tiny_mce > > 2. run the following to install the plugin from the branch rails 2.x > > > ./script/plugin install --branch rails_2.x > > git://github.com/sandipransing/rails_tiny_mce.git > > > 3. run the migration command > > > ./script/generate rails_tiny_mce_migration > > > Let us know how it goes. > > > B.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Mar-10 17:41 UTC
Re: Re: How to install rails_tiny_mce in Rails2.3.10
On Thu, Mar 10, 2011 at 11:14 AM, jaron <inepalon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> The follow install command run failed: > ./script/plugin install --branch rails_2.x git:// > github.com/sandipransing/rails_tiny_mce.git > Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ > rails_tiny_mce.git"] > >I think my syntax was wrong. Try it this way. ./script/plugin install git://github.com/sandipransing/rails_tiny_mce.git-r rails_2.x B. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Mar 10, 2011 at 5:34 PM, kwiest <kyle.wiest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Jaron, > > I''ve played around with the TinyMCE plugins for Rails 2, 3 and every > time I''ve found it to be MUCH easier to just download the files from > http://tinymce.moxiecode.com/download/download.php, drop them in your > public folder and you should be good to go. > > I agree with kwiest,Its much easier to simply download the files in public folder, and use them as you want to. I am myself using TinyMCE in one of my applications, and its pretty easy to go. You just need to create an attribute of type text, for your required model, and simply use TinyMCE without any problems.> On Mar 10, 9:14 am, jaron <inepa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > The follow install command run failed: > > ./script/plugin install --branch rails_2.x git:// > github.com/sandipransing/rails_tiny_mce.git > > Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ > > rails_tiny_mce.git"] > > > > I try to download the plugin for rails 2.x in the pagehttps:// > github.com/sandipransing/rails_tiny_mce/tree/rails_2.x, > > extract the file and copy to my vendors folder.Bute the migration > > command run error still. > > > > On Mar 10, 11:39 pm, Bryan Crossland <bacrossl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > > > > > > > > > This constant may have changed when they went to Rails 3. This is what > I > > > suggest you try doing. > > > > > 1. uninstall/delete the plugin you have from your vendors folder for > > > rails_tiny_mce > > > 2. run the following to install the plugin from the branch rails 2.x > > > > > ./script/plugin install --branch rails_2.x > > > git://github.com/sandipransing/rails_tiny_mce.git > > > > > 3. run the migration command > > > > > ./script/generate rails_tiny_mce_migration > > > > > Let us know how it goes. > > > > > B. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
It''s right.I install the plugin using follow command: ./script/plugin install git://github.com/sandipransing/rails_tiny_mce.git -r rails_2.x ./script/generate rails_tiny_mce_migration rake db:migrate ./script/plugin install git://github.com/aaronchi/jrails.git rake rails_tiny_mce:plugins rake rails_tiny_mce:install Why don''t I use the original TinyMCE for Rails? Because it can''t upload image and media, but the rails_tiny_mce default support it. On Mar 11, 1:41 am, Bryan Crossland <bacrossl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I think my syntax was wrong. Try it this way. > > ./script/plugin install > git://github.com/sandipransing/rails_tiny_mce.git-r rails_2.x > > B.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, rails_tiny_mce works with rails 2.3.10 use rails_2.x branch. https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x On Fri, Mar 11, 2011 at 4:26 AM, Jatin kumar <jatinkumar.nitk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> > > On Thu, Mar 10, 2011 at 5:34 PM, kwiest <kyle.wiest-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Jaron, >> >> I''ve played around with the TinyMCE plugins for Rails 2, 3 and every >> time I''ve found it to be MUCH easier to just download the files from >> http://tinymce.moxiecode.com/download/download.php, drop them in your >> public folder and you should be good to go. >> >> I agree with kwiest, > Its much easier to simply download the files in public folder, and use them > as you want to. > I am myself using TinyMCE in one of my applications, and its pretty easy to > go. > You just need to create an attribute of type text, for your required model, > and simply use TinyMCE without any problems. > > >> On Mar 10, 9:14 am, jaron <inepa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > The follow install command run failed: >> > ./script/plugin install --branch rails_2.x git:// >> github.com/sandipransing/rails_tiny_mce.git >> > Plugin not found: ["rails_2.x", "git://github.com/sandipransing/ >> > rails_tiny_mce.git"] >> > >> > I try to download the plugin for rails 2.x in the pagehttps:// >> github.com/sandipransing/rails_tiny_mce/tree/rails_2.x, >> > extract the file and copy to my vendors folder.Bute the migration >> > command run error still. >> > >> > On Mar 10, 11:39 pm, Bryan Crossland <bacrossl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > This constant may have changed when they went to Rails 3. This is what >> I >> > > suggest you try doing. >> > >> > > 1. uninstall/delete the plugin you have from your vendors folder for >> > > rails_tiny_mce >> > > 2. run the following to install the plugin from the branch rails 2.x >> > >> > > ./script/plugin install --branch rails_2.x >> > > git://github.com/sandipransing/rails_tiny_mce.git >> > >> > > 3. run the migration command >> > >> > > ./script/generate rails_tiny_mce_migration >> > >> > > Let us know how it goes. >> > >> > > B. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- sαη∂ιρ Rαηѕιηg --- blog www.funonrails.com twitter @sandipransing skype sandip.ransing -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.