You want to do a new installation of Aptana RadRails IDE in Mandriva as an eclipse plugin.
- Install eclipse first (selecting openjdk when prompted):
sudo urpmi eclipse
- According to the instructions here take the following steps:
- From the Help menu in Eclipse, select Software Updates
- Select the Available Sotware tab
- Click the “Add Site..” button.
- Specify the Location Url update site: http://update.aptana.com/update/studio/3.4/ and click OK
- Select the checkbox next to the added update site.
- Click the install button.
- Complete instruction to install from update site and restart eclipse
- Go to ‘My Aptana’ page and then the ‘Plugins’ tab on the top
- Click on Aptana Rad Rails ‘Get It’ link and get through the next sequence of screens select ‘ok’.
- Restart Eclipse and RadRails should now be installed.
When using a nested (or embedded) scaffold in ActiveScaffold with Rails 2.3.2 you have the error:
undefined method `render_component'
According to the issue here, in Rails 2.3 the render_component has been removed.
Install the render_component from:
script/plugin install git://github.com/lackac/render_component.git -r rails-edge
and restart your server, and it should be working.
While developing on Rails 2.3.2 you want to deploy in dreamhost that uses 2.2.2 at the moment.
Although we could try to freeze the specific rails version we are using, it’s probably easier as a temporary solution, until dreamhost upgrades the rails version to do the following:
- Make sure that we have the following line with the appropriate version of
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
in the config/environment.rb file
Rename the application_controller.rb file back to application.rb
Comment out the following line from config/environments/production.rb
config.action_view.cache_template_loading = true
There is a DoS vulnerability in Ruby, and consequently in Ruby on Rails, reported by Jose Fernandez
For anyone that haven’t so far looked into it there are some links to resolve the problem:
The link below also includes an example script (example.rb) to see if your version of Ruby is vulnerable: