On 30 March 2015 at 04:20, Ant Na <lists@ruby-forum.com> wrote:
> ...
> here is where I am at now:
>
>
> ~$ rails new blog
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv
> will be deprecated in the future, use String#encode instead.
> /usr/lib/ruby/vendor_ruby/railties/lib/rails_generator/generators/applications/app/app_generator.rb:7:
> Use RbConfig instead of obsolete and deprecated Config.
> exists
> exists app/controllers
> exists app/helpers
> ...
> identical config/initializers/mime_types.rb
> identical config/initializers/new_rails_defaults.rb
> overwrite config/initializers/session_store.rb? (enter "h" for help)
> [Ynaqdh]
>
> WHAT DO I DO!????
That means you are trying to create a new rails app in the folder
blog, but there is already a rails app in that folder. If you want to
throw it away and start again then delete the blog folder before doing
rails new, otherwise use a name other than blog for your new one.
>
> ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
> Rails 2.3.14
> rvm 1.26.10 (latest)
>
> ~$ gem -v
> 1.8.23
>
> ~$ which ruby
> /usr/bin/ruby
>
> ~$ which gem
> /usr/bin/gem
The fact that ruby is being picked up from the system location (rather
than .rvm) means that you are not actually using rvm.
If you have not already done so then I suggest you work right through
a good tutorial such as railstutorial.org (which is free to use
online). That will show you the basics of rails.
Your problem with the server already running may mean that you ran
rails s
but have not shut down the server (Ctrl+C in the server window) before
trying to start another one.
Colin
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuNs0DE2VKoMie8YHX60ZyX6mFoU4J02B5YwHqNGPuzqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment