How to run or setup rails3?
Have 2 ruby installations 1.8 and 1.9.1, have 2 gems. From "gem1.9.1 inst开发者_高级运维all rails" installed rails3 to my system, but don't have "rails" in my "path".
How can i get rails to launch from entering rails in terminal?
EDIT
removed all ruby and ruby-gems from my system (Ubuntu 10.10) and installed ruby1.9.1 - it came with gems1.9.1 and then installed
gem1.9.1 install rails
How do i make "rails" run the installed gem rails?
EDIT 2
Found it!
The rails was installed in /var/lib/gems/1.9.1/bin/rails just had to add a alias "rails" to it in system $PATH
How did you install your rubies? I'd strongly suggest to use a version manager like rvm, otherwise you're asking for trouble.
You should be specific about your system environment. In windows when you install ruby, you just have RUBY_HOME/bin in your path. Whenever you install rails by gem install rails
, it automatically deploy executable files in RUBY_HOME/bin folder. So that you can directly execute that command.
精彩评论