Reputation: 5199
I've set up rails using RVM in my user profile and its working perfectly fine from the terminal and using Gedit. But I wanted to use more powerful IDE which led me to Aptana Radrails. I have downloaded the latest binaries and am running it from the home/Softwares/ folder but anytime I am creating a new Rails project from the template the rails generate command does not generate anything but from command line it does. Please guide me upon how to set up Aptana Studio 3 with rails already set up using RVM. Some visual guides would really help.
OS - Ubuntu 11.04 Rails - 3.1.0 Ruby - 1.9.2
Upvotes: 2
Views: 4080
Reputation: 46
Open the terminal and type rvm use 1.9.2
then, in the same terminal, change directories to where Aptana is installed and launch Aptana using the following command ./studio3
This will solve your problem until the next time you use Aptana. For a permanent solution, write a bash file having these commands and launch it when you wish to use Aptana.
Upvotes: 3
Reputation: 11
do u have any other ruby versions installed in your system.? find it using which ruby before executing
Upvotes: 1
Reputation: 123831
May be just add your rvm rails binary's path to your /etc/environment file and export it and relogin your gnome session and try it?
Upvotes: 1