Syntax for some of the command line tools have changed between Rails 2.x and 3. The syntax you're using is new as of Rails 3, so you should run
rails -v to see what you're running. If it's anything before version 3, you need to change the syntax of your commands to $> rails application $> ./script/server in order to do what you want to do. On Sat, Feb 19, 2011 at 12:29 PM, Pietro R. <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

