Rails server command not working (other commands, as well) -


I am in the first part of building a Rail app and I can not get the command Rail Server

To work, or in fact any other railway order. Whenever I try the Rail Order, I get this help screen:

  $ rails server usage: new APP_PATH rail [option] option: -r, [--ruby = PATH] ] Path # of your choice Ruby Binary # Default: /home/sgallagher/.rvm/rubies/ruby-1.9.2-p290/bin/ ruby ​​-b, [[builder = builder] # path to the app builder (A file system path or url may be) -M, [-Template = TEMPLATE] # path to an application template (can be a file system path or URL) [- Skip-Gamfile] #Jefffile Do not create [- skip-bundle] # bundle do not install - g, [- -cip-git] # skip guit ignores and keeps   

and so on (this is the same for me "Rail New" gives the command number what I put into it ...)

Any ideas on what may be missing in my system or why are not these orders responding? Thanks

P.S. Another strange thing is that when I made this app, initially, I used the command:

  rail new first_app   

this is actually Created two apps: A 'new' and second is called 'first_app'. It has also not created a default jamfile.

I am running Rails 3.1.0 and Ruby 1.9.2. But you have installed tracks 3.1.0, but as forcibly mentioned, I do not believe your path is using it.

I would strongly recommend (assuming you are not using it). It wants to avoid problems down the road and it is easy to set up!

Edit

It is possible that it is still trying to use your system rail.

Use rvm 1.9.2 Then just install gem Rails , not sudo . If this works, then see RVM uses your profile to store all your gems, my guess is that when you type rail , then this system is using one of its To confirm, type which rail and I think it will not be subject to ~ / .rvm /...// >>

. You can call it echo. [[-s "$ HOME / .rvm / scripts / rvm"]] & amp; Amp; . "$ HOME / .rvm / scripts / rvm" # Load RVM Function "& gt; ~ / .bash_profile

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -