Hasanai Chanlongbut
2013-Nov-22 14:57 UTC
[JOBS] Fresh Rake File Error when creating project or launch rails server
Hi, I''m new to rails so wonder if you guys can help out, most appreciated. Problem: When creating a new project or start rails server this error occurs: No such file or directory for fresh_rakefile = ========================================$ rails new simple_cms -d mysql or $ rails simple_cms -d mysql create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initializers create config/locales create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create test/fixtures create test/functional create test/integration create test/performance create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile No such file or directory - /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/rails_generator/generators/applications/app/../../../../../fresh_rakefile ============================================= The folder simple_cms was created but I wonder why error/warning pops up as No such file or directory .../fresh_rakefile Specs: Running on Mac Os X 10.6.8 Snow Leopard. Lasted XCode installed. MySQL initialized ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin10.8.0] rails -v: Rails 2.3.18 Gem List Installed as follows: gem list *** LOCAL GEMS *** actionmailer (4.0.1) actionpack (4.0.1) activemodel (4.0.1) activerecord (4.0.1) activerecord-deprecated_finders (1.0.3) activesupport (4.0.1) arel (4.0.1) atomic (1.1.14) bigdecimal (1.2.0) builder (3.1.4) bundler (1.3.5) daemon_controller (1.1.7) erubis (2.7.0) hike (1.2.3) i18n (0.6.5) io-console (0.4.2) json (1.8.1, 1.7.7) mail (2.5.4) mime-types (1.25) minitest (5.0.8, 4.3.2) multi_json (1.8.2) mysql2 (0.3.14) passenger (4.0.25) polyglot (0.3.3) psych (2.0.1, 2.0.0) rack (1.5.2) rack-test (0.6.2) rails (4.0.1) railties (4.0.1) rake (0.9.6) rdoc (4.0.0) rubygems-update (2.1.11) sprockets (2.10.0) sprockets-rails (2.0.1) test-unit (2.5.5, 2.0.0.0) thor (0.18.1) thread_safe (0.1.3) tilt (1.4.1) treetop (1.4.15) tzinfo (0.3.38) -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/409b9878-433c-425d-be1b-529e48feacb4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Matt Jones
2013-Nov-23 17:36 UTC
Re: [JOBS] Fresh Rake File Error when creating project or launch rails server
On Friday, 22 November 2013 09:57:42 UTC-5, Hasanai Chanlongbut wrote:> > > Hi, I''m new to rails so wonder if you guys can help out, most appreciated. > > Problem: When creating a new project or start rails server this error > occurs: No such file or directory for fresh_rakefile > [snip] > No such file or directory - > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-2.3.18/lib/rails_generator/generators/applications/app/../../../../../fresh_rakefile > =============================================> > The folder simple_cms was created but I wonder why error/warning pops up > as No such file or directory .../fresh_rakefile > >There''s something wrong with your PATH setting - the error message indicates that you''re trying to `rails new` with a 2.3.18 install, but that command wasn''t even added until 3.0. The file being requested is also in the *system* Ruby (1.8.7) set of gems... How did you install Ruby 2.0? Running `which ruby`, `which rails` and `which gem` will also be helpful. --Matt Jones> Specs: > Running on Mac Os X 10.6.8 Snow Leopard. > Lasted XCode installed. > MySQL initialized > ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin10.8.0] > rails -v: Rails 2.3.18 > > Gem List Installed as follows: > gem list > > *** LOCAL GEMS *** > > actionmailer (4.0.1) > actionpack (4.0.1) > activemodel (4.0.1) > activerecord (4.0.1) > activerecord-deprecated_finders (1.0.3) > activesupport (4.0.1) > arel (4.0.1) > atomic (1.1.14) > bigdecimal (1.2.0) > builder (3.1.4) > bundler (1.3.5) > daemon_controller (1.1.7) > erubis (2.7.0) > hike (1.2.3) > i18n (0.6.5) > io-console (0.4.2) > json (1.8.1, 1.7.7) > mail (2.5.4) > mime-types (1.25) > minitest (5.0.8, 4.3.2) > multi_json (1.8.2) > mysql2 (0.3.14) > passenger (4.0.25) > polyglot (0.3.3) > psych (2.0.1, 2.0.0) > rack (1.5.2) > rack-test (0.6.2) > rails (4.0.1) > railties (4.0.1) > rake (0.9.6) > rdoc (4.0.0) > rubygems-update (2.1.11) > sprockets (2.10.0) > sprockets-rails (2.0.1) > test-unit (2.5.5, 2.0.0.0) > thor (0.18.1) > thread_safe (0.1.3) > tilt (1.4.1) > treetop (1.4.15) > tzinfo (0.3.38) > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e979ddab-3ee9-4141-b603-18d2968e2b29%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.