Saturday, February 19, 2011

[Rails] rails new Application create "new" and not "Application"

Hello

I start using RoR on Ubuntu because I want to develop a little bit.

I installed ruby:

$>sudo apt-get install ruby

and it's ok

I installed gem:

$>sudo apt-get install rubygem1.8

I try to install rails with gem:

$>sudo gem install rails

ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /var/lib/gems/1.8
directory.

so i installed via apt:

$>sudo apt-get install rails

and it's ok.
Now I tried to start a new application:

$>mkdir ./RailsCode
$>cd RailsCode
$>rails new Application

build me "new" and not "Application":

$>ls
new

also if I try to start server:

$>cd new
$/new>rails server

rails build up a application named "server"

$/new>ls
.. ... ... ... server ... ... ...

what can I DOOOOOO?????

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate