Sunday, August 12, 2012

Re: [Rails] Re: trouble with new app in rails

On 12 August 2012 17:29, Sebastjan H. <lists@ruby-forum.com> wrote:
> Hi,
>
> I am back with a new problem. Today I've installed Ubuntu 12.04 and
> after some trouble also
>
> Ruby (output for ruby -v):
> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
>
> and Rails (output for rails -v):
> Rails 2.3.14
>
> I say trouble, because when I've installed with RVM I couldn't use them.
> The system kept saying unknown command for ruby and rails and it
> suggested to install via apt-get install. So I did. Still nothing. Then
> I ran the RVM installs again and now everything appears to be in order.

You should not have used apt-get if you are using rvm. But since you
have now got it working with rvm that is ok.

>
> However (there's always however with me lately), when I run
> "rails new tasks" rails actually generates "new" as the application
> folder. And after "cd new" + "rails server" rails generates another
> application called "server".
>
> What can I do?

You can use rails 3. The rails command has changed since version 2.
The current version of rails is 3.2.8. If you really want to use
rails 2 then the guides can be found at
http://guides.rubyonrails.org/v2.3.11/

Colin

--
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 https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate