I''ve got a site at Dreamhost, and am trying to freeze rails, but am getting this error message: [larchmont]$ rake rails:freeze:gems --trace (in /home/.input/cmills/fsilg.dreamhosters.com) rake aborted! Don''t know how to build task ''rails:freeze:gems'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1634:in `[]'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1930:in `invoke_task'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 I created a new test rails app on the same server and had no problem freezing rails. Any ideas out there? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 19, 9:41 am, Charley Mills <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I''ve got a site at Dreamhost, and am trying to freeze rails, but am > getting this error message: > > [larchmont]$ rake rails:freeze:gems --trace > (in /home/.input/cmills/fsilg.dreamhosters.com) > rake aborted! > Don''t know how to build task ''rails:freeze:gems'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1634:in `[]'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1930:in `invoke_task'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > I created a new test rails app on the same server and had no problem > freezing rails. Any ideas out there? > -- > Posted viahttp://www.ruby-forum.com/.Are you sure you''re running this from your RAILS_ROOT directory? Looks like it can''t find the rakefile. Jeff --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeff Cohen wrote:> Are you sure you''re running this from your RAILS_ROOT directory? > Looks like it can''t find the rakefile. > > JeffI''m running it in the correct directory, and the rakefile exists as this: ---------- # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/switchtower.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' ---------- Is there a config file that tells rails where the rakefile is? That''s my only other thought - I''m not an expert with ruby or rails, and so am a bit in the dark. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 19 Sep 2008, at 15:41, Charley Mills wrote:> > I''ve got a site at Dreamhost, and am trying to freeze rails, but am > getting this error message: >is this app using an older version of rails where the task had a different name ? (rake -T shows tasks) Fred> [larchmont]$ rake rails:freeze:gems --trace > (in /home/.input/cmills/fsilg.dreamhosters.com) > rake aborted! > Don''t know how to build task ''rails:freeze:gems'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1634:in `[]'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1930:in > `invoke_task'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in > `standard_exception_handling'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 > /usr/bin/rake:19:in `load'' > /usr/bin/rake:19 > > I created a new test rails app on the same server and had no problem > freezing rails. Any ideas out there? > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 19 Sep 2008, at 15:41, Charley Mills wrote: > > is this app using an older version of rails where the task had a > different name ? (rake -T shows tasks)Here is the output: [larchmont]$ rails -v Rails 2.1.0 [larchmont]$ rake -T (in /home/.input/cmills/fsilg.dreamhosters.com) rake add_new_scripts # Add new scripts to the application script/ ... rake apidoc # Build the apidoc HTML Files rake appdoc # Build the appdoc HTML Files rake clear_logs # Clears all *.log files in log/ rake clobber_apidoc # Remove rdoc products rake clobber_appdoc # Remove rdoc products rake clobber_plugindoc # Remove plugin documentation rake clone_schema_to_test # Recreate the test database from the current... rake clone_structure_to_test # Recreate the test databases from the develo... rake create_sessions_table # Creates a sessions table for use with CGI::... rake db_schema_dump # Create a db/schema.rb file that can be port... rake db_schema_import # Import a schema.rb file into the database. rake db_structure_dump # Dump the database structure to a SQL file rake default # Run all the tests on a fresh test database rake deploy # Deploy application directories / Push the l... rake drop_sessions_table # Drop the sessions table rake freeze_edge # Lock this application to the Edge Rails (by... rake freeze_gems # Lock this application to the current gems (... rake load_fixtures # Load fixtures into the current environment''... rake migrate # Migrate the database according to the migra... rake plugindoc # Generate documation for all installed plugins rake prepare_test_database # Prepare the test database and load the schema rake purge_sessions_table # Drop and recreate the session table (much f... rake purge_test_database # Empty the test database rake reapidoc # Force a rebuild of the RDOC files rake reappdoc # Force a rebuild of the RDOC files rake recent # Run tests for recentprepare_test_database rake remote_exec # Execute a specific action using the release... rake rollback # Rollback to the release before the current ... rake show_deploy_tasks # Enumerate all available deployment tasks rake stats # Report code statistics (KLOCs, etc) from th... rake test_functional # Run tests for test_functionalprepare_test_d... rake test_plugins # Run tests for test_pluginsenvironment rake test_units # Run tests for test_unitsprepare_test_database rake unfreeze_rails # Unlock this application from freeze of gems... rake update_javascripts # Update your javascripts from your current r... -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 21 Sep 2008, at 21:32, Charley Mills <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > wrote:> > Frederick Cheung wrote: >> On 19 Sep 2008, at 15:41, Charley Mills wrote: >> >> is this app using an older version of rails where the task had a >> different name ? (rake -T shows tasks) > > Here is the output: > >You don''t need my help to read through that list and find the freeze task :-) Do just check it''s not already frozen ( does vendor/rails exist?) - those task names look pretty old - possibly before the whole setting your version in environment.rb was added Fred> > [larchmont]$ rails -v > Rails 2.1.0 > [larchmont]$ rake -T > (in /home/.input/cmills/fsilg.dreamhosters.com) > rake add_new_scripts # Add new scripts to the application > script/ ... > rake apidoc # Build the apidoc HTML Files > rake appdoc # Build the appdoc HTML Files > rake clear_logs # Clears all *.log files in log/ > rake clobber_apidoc # Remove rdoc products > rake clobber_appdoc # Remove rdoc products > rake clobber_plugindoc # Remove plugin documentation > rake clone_schema_to_test # Recreate the test database from the > current... > rake clone_structure_to_test # Recreate the test databases from the > develo... > rake create_sessions_table # Creates a sessions table for use with > CGI::... > rake db_schema_dump # Create a db/schema.rb file that can be > port... > rake db_schema_import # Import a schema.rb file into the > database. > rake db_structure_dump # Dump the database structure to a SQL > file > rake default # Run all the tests on a fresh test > database > rake deploy # Deploy application directories / Push > the l... > rake drop_sessions_table # Drop the sessions table > rake freeze_edge # Lock this application to the Edge > Rails > (by... > rake freeze_gems # Lock this application to the current > gems (... > rake load_fixtures # Load fixtures into the current > environment''... > rake migrate # Migrate the database according to the > migra... > rake plugindoc # Generate documation for all installed > plugins > rake prepare_test_database # Prepare the test database and load the > schema > rake purge_sessions_table # Drop and recreate the session table > (much f... > rake purge_test_database # Empty the test database > rake reapidoc # Force a rebuild of the RDOC files > rake reappdoc # Force a rebuild of the RDOC files > rake recent # Run tests for > recentprepare_test_database > rake remote_exec # Execute a specific action using the > release... > rake rollback # Rollback to the release before the > current ... > rake show_deploy_tasks # Enumerate all available deployment > tasks > rake stats # Report code statistics (KLOCs, etc) > from > th... > rake test_functional # Run tests for > test_functionalprepare_test_d... > rake test_plugins # Run tests for test_pluginsenvironment > rake test_units # Run tests for > test_unitsprepare_test_database > rake unfreeze_rails # Unlock this application from freeze of > gems... > rake update_javascripts # Update your javascripts from your > current r... > > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---