Archive for the 'TinyMCE' Category

TinyMCE in Ruby On Rails on Windows

I am currently working on a Social Networking website for a friend of mine and decided that I would use RoR for the project. We wanted to integrate TinyMCE into the site to make it easy for creating blog posts. Once I got to the point where I was able to add in TinyMCE, I went to the Ruby on Rails Wiki to begin. I never used Subversion, so I needed to download the client before I could get started. I opted for the command line client, which at the time of writing is at svn-1.4.5-setup.exe. The Rails Wiki is pretty good and I also found the post by John Wulff on his blog. It should be noted that both of these are excellect sources, but I wanted to add my own that is specific using it in a Windows enviroment and adds some additional details about using TinyMCE.

Note: After I installed the subversion command line client, I had to reboot my computer for it to function properly. If you get the message that svn.exe is not a recognized command, try rebooting.

Installing TinyMCE

  1. Open the command prompt and go to the vendor/plugin directory of your application (<YourWebAppDirectory>\vendor\plugin)
  2. This downloads the TinyMCE plugin into the plugin directory.svn export https://secure.near-time.com/svn/plugins/trunk/tiny_mce
  3. This installs the javascipt files that are used with TinyMCE.rake tiny_mce:scripts:install

Read more »