How to create a new Rails 3 project in aptana 3? and also turn the perspective to the rails or ruby - ruby-on-rails-3

I have aptana 3 and is updated.
How to create a new project and setup a server for this to work?

Here is the doc on creating Rails project and starting a server in Aptana Studio 3: http://wiki.appcelerator.org/display/tis/Rails+Development. There is no Rails or Ruby specific perspective any more, just the Web perspective. Also some of the Rails specific views in RadRails 2 are deprecated, as there is now a built-in Terminal view where the rails commands could be run.

Related

Do Rubymine support Rails view and linking of files in Rails (Engine/Module)?

Does Rubymine version 6 supports views for Rails::Engine that is already built?
I have a separate Rails project named Kitting as an Engine under lib folder of the main app.
Folder structure:
RAILS.root/lib/kitting/app/controllers/kitting/controller_name
Excluding the Engine, I'm able to render views in the main project.
Let me know if any suggestions.
NO Plugin Developed for RUBY MINE TO SUPPORT Existing ENGINE.
But you can open the rails engine in ruby mine as new project that would work fine.

Rails: Installing Twitter-Bootstrap 3 in a Rails project

I am a total n00b and am trying to install Twitter-Bootstrap 3 into my rails project. The twitter-bootstrap-rails gem is unfortunately only for version 2.0, otherwise I would totally use that. Is there some kind of set up magic I need to do in my app to configure it with my Rails project other than copy and paste the Bootstrap directories into my rails project repo?
Any and all advice much appreciated!

Migrating from Rails 2.3 to 3.2 over a long period

I'm working on a small project that has been allocated a small amount of time to maintain and update features. This project is on Rails 2.3.
I'd like to move it to Rails 3.2 but there is little time allocated to this so I would like to do it over a slow gradual process.
I'm thinking that it might be worth moving over to Rails 3.2 on a section-by-section basis.
This would mean that I would create a second application that looks the same as the first one but is located somewhere different and accessed from a different subdomain.
Is this feasible if I just update the Rails 2.3 routes file for certain routes to go to the new application?
Has anyone done this before?
It depends on many parameters but among these the most relevant are :
Does your Rails 2 project already use Bundler ? If not, migrate to it before the migration.
Do you use gems which are known not to work on Rails 3 ?
Does your project already use Rails XSS plugin (https://github.com/rails/rails_xss) ? If not, migrate to it before the migration.
After that, the migration will be easier.
For the migration, I recommend that you create a brand new Rails application using "rails new" command, so that all the boot files will be good. Then migrate the initializers/config files and "app" folder...
Good luck.

Running rails project on another machine

I am developing a website on rails. I tried to move my project on another machine and start the rails server but the server doesn't start. Instead when I enter the command rails s in terminal it creates various files. Please let me know the steps I should follow to run my project on another machine. I have rails installed there.
sounds like the other machine has rails 2 (instead of 3) installed, where running rails <something> would generate a new rails app called <something>

Is Aptana Studio 3 ready for Rails 3 development?

I'm going to upgrate my website to Rails 3.
Is Aptana Studio 3 Beta ready for this ?
Can it debug Ruby code ?
What important features are missing ?
As the lead developer of RadRails, I can say - yes, Studio 3 supports Rails 3. Debugging is supported. There's a large difference in the RadRails 2 vs Studio 3 support in that we've moved away from dedicated UI views for Servers, Rake Tasks, Gems, Generators, etc. We now use an embedded Terminal and urge users to perform the command line operations to do that sort of work.
The Display view (where you can execute code at a ruby breakpoint) is not in 3.0 final, but will be in the upcoming 3.0.2 release.
The last time I tried Aptana 3 Beta it was not properly supporting Rails 3.
I currently use netbeans 6.7.* . Though, Oracle has just announced they won't support Rails in the next releases.