Ruby on Rails
Sunday, March 29, 2015
If the error says the server is already running,
Can you go to temp/pids folder there you see a PID associated to the sever. Delete it and run again.
It should work.
On Mon, Mar 30, 2015 at 12:20 AM, Ant Na <lists@ruby-forum.com> wrote:
I got everything to work. When I first tried:
rails new myApp
it created the app and then I ran:
rails server
that worked fine too with localhost:3000
but then I tried making another app, which was created but gave me a
message stating that server is already running and then it exited.
Therefore, my locahost wasn't working anymrore.
Then I did some fooling around and I think I just made it worse!!
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
exists app/models
exists app/views/layouts
exists config/environments
exists config/initializers
exists config/locales
exists db
exists doc
exists lib
exists lib/tasks
exists log
exists public/images
exists public/javascripts
exists public/stylesheets
exists script/performance
exists test/fixtures
exists test/functional
exists test/integration
exists test/performance
exists test/unit
exists vendor
exists vendor/plugins
exists tmp/sessions
exists tmp/sockets
exists tmp/cache
exists tmp/pids
identical Rakefile
identical README
identical app/controllers/application_controller.rb
identical app/helpers/application_helper.rb
identical config/database.yml
identical config/routes.rb
identical config/locales/en.yml
identical db/seeds.rb
identical config/initializers/backtrace_silencers.rb
identical config/initializers/inflections.rb
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!????
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
Please advise. THANKS!
T
--
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 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/f0a3fe2017c4e47f5b4afe943c22d783%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
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/CAMszB6wv3nPQLNG5b8KmJzaDYN6TevBj3CrCR5nkwZ_c9v5XdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment