Looks like Rails 1.1.0 RC1 is finally here: http://dev.rubyonrails.org/changeset/4010 -- Posted via http://www.ruby-forum.com/.
Conductor wrote:> Looks like Rails 1.1.0 RC1 is finally here: > > http://dev.rubyonrails.org/changeset/4010Rails 1.1-RC1 announcement and instructions here: http://weblog.rubyonrails.org/ -- Posted via http://www.ruby-forum.com/.
I''ve not been on edge at all. In my app directory I did rake freeze_edge rake rails:update svk status (showed *only* vendor/rails, no updated scripts) rake And I get a ton of errors, which break down to two, actually: NoMethodError: undefined method `scoped_methods='' for Buyer:Class NoMethodError: undefined method `clear_connection_cache!'' for ActiveRecord::Base:Class Details: ~/Sites/sofarails: ruby --version ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0] ~/Sites/sofarails: psql --version psql (PostgreSQL) 8.1.2 contains support for command-line editing ~/Sites/sofarails: ls vendor/plugins rails_cron_0.2.2 rails_tidy-0.1 rav textmate_backtracer-1.1 Dependencies: require ''creditcardverifier'' require ''digest/sha1'' require_gem ''acts_as_paranoid'' require_gem ''acts_as_taggable'' require_gem ''acts_as_versioned'' require_gem ''money'' require_gem ''payment'' require_gem ''sentry'' This is Mac OS X 10.4.5 (PPC) Any ideas? -- -- Tom Mornini On Mar 21, 2006, at 6:13 PM, Conductor wrote:> Conductor wrote: >> Looks like Rails 1.1.0 RC1 is finally here: >> >> http://dev.rubyonrails.org/changeset/4010 > > Rails 1.1-RC1 announcement and instructions here: > > http://weblog.rubyonrails.org/
Hi, I followed the install instructions on blog (gem install rake, gem install rails --source http://gems.rubyonrails.org) . When I query ''rails --version'' I get ''Rails 1.0.0''. I am using os x 10.4.5 ppc and darwin ports. At first I couldn''t get rails to install (rake didn''t understand the --source option). There was a rake in /usr/bin so I go rid of that and made an ln from the /opt directory. So the install worked but rails doesn''t appear to be updated. I assume there''s an updated version in my drive, but if anyone has any ideas about how to get the new version to be the one that gets invoked please let me know. Thanks, Sean On 21-Mar-06, at 8:48 PM, Conductor wrote:> Looks like Rails 1.1.0 RC1 is finally here: > > http://dev.rubyonrails.org/changeset/4010 > > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I followed the directions and the ''rails --version'' command also reports 1.0.0. I''m guessing they''re not going to up the version number until it''s final. I tried some of the new goodies, listed here: <http://scottraymond.net/articles/2006/02/28/rails-1.1> and they work. The new .average, .sum, and .group calculations are nice! jt On 3/21/06, Sean O''Hara <sohara@sohara.com> wrote:> Hi, > > I followed the install instructions on blog (gem install rake, gem > install rails --source http://gems.rubyonrails.org) . When I query > ''rails --version'' I get ''Rails 1.0.0''. I am using os x 10.4.5 ppc and > darwin ports. At first I couldn''t get rails to install (rake didn''t > understand the --source option). There was a rake in /usr/bin so I go > rid of that and made an ln from the /opt directory. So the install > worked but rails doesn''t appear to be updated. I assume there''s an > updated version in my drive, but if anyone has any ideas about how to > get the new version to be the one that gets invoked please let me know. > > Thanks, > Sean > > On 21-Mar-06, at 8:48 PM, Conductor wrote: > > > Looks like Rails 1.1.0 RC1 is finally here: > > > > http://dev.rubyonrails.org/changeset/4010 > > > > > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 3/21/06, Tom Mornini <tmornini@infomania.com> wrote:> I''ve not been on edge at all. > > In my app directory I did > > rake freeze_edge > rake rails:update > svk status (showed *only* vendor/rails, no updated scripts) > rake > > And I get a ton of errors, which break down to two, actually: > > NoMethodError: undefined method `scoped_methods='' for Buyer:Class > NoMethodError: undefined method `clear_connection_cache!'' for > ActiveRecord::Base:Class > > Details: > > ~/Sites/sofarails: ruby --version > ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0] > > ~/Sites/sofarails: psql --version > psql (PostgreSQL) 8.1.2 > contains support for command-line editing > > ~/Sites/sofarails: ls vendor/plugins > rails_cron_0.2.2 rails_tidy-0.1 rav > textmate_backtracer-1.1 > > Dependencies: > > require ''creditcardverifier'' > require ''digest/sha1'' > > require_gem ''acts_as_paranoid'' > require_gem ''acts_as_taggable'' > require_gem ''acts_as_versioned'' > require_gem ''money'' > require_gem ''payment'' > require_gem ''sentry'' > > This is Mac OS X 10.4.5 (PPC) > > Any ideas? > > -- > -- Tom Mornini > > > On Mar 21, 2006, at 6:13 PM, Conductor wrote: > > > Conductor wrote: > >> Looks like Rails 1.1.0 RC1 is finally here: > >> > >> http://dev.rubyonrails.org/changeset/4010 > > > > Rails 1.1-RC1 announcement and instructions here: > > > > http://weblog.rubyonrails.org/ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >Try upgrading to Ruby 1.8.4 -Kyle
> > ~/Sites/sofarails: ruby --version > > ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0]> Try upgrading to Ruby 1.8.4Apparently I missed that.... But i was getting the same errors, and an upgrade to 1.8.4 was my fix.
On 3/21/06, Tom Mornini <tmornini@infomania.com> wrote:> I''ve not been on edge at all. > > In my app directory I did > > rake freeze_edge > rake rails:update > svk status (showed *only* vendor/rails, no updated scripts) > rake > > And I get a ton of errors, which break down to two, actually: > > NoMethodError: undefined method `scoped_methods='' for Buyer:Class > NoMethodError: undefined method `clear_connection_cache!'' for > ActiveRecord::Base:Class > > Details: > > ~/Sites/sofarails: ruby --version > ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0] > > ~/Sites/sofarails: psql --version > psql (PostgreSQL) 8.1.2 > contains support for command-line editing > > ~/Sites/sofarails: ls vendor/plugins > rails_cron_0.2.2 rails_tidy-0.1 rav > textmate_backtracer-1.1 > > Dependencies: > > require ''creditcardverifier'' > require ''digest/sha1'' > > require_gem ''acts_as_paranoid'' > require_gem ''acts_as_taggable'' > require_gem ''acts_as_versioned'' > require_gem ''money'' > require_gem ''payment'' > require_gem ''sentry'' > > This is Mac OS X 10.4.5 (PPC) > > Any ideas? > > -- > -- Tom Mornini > > > On Mar 21, 2006, at 6:13 PM, Conductor wrote: > > > Conductor wrote: > >> Looks like Rails 1.1.0 RC1 is finally here: > >> > >> http://dev.rubyonrails.org/changeset/4010 > > > > Rails 1.1-RC1 announcement and instructions here: > > > > http://weblog.rubyonrails.org/Tom, Please upgrade to the plugin versions of acts_as_paranoid, versioned, and sentry. I''ve quit updating the gems because plugins integrate well with rails. rails 1.1 added nested scopes which makes some of the hackery in acts_as_paranoid unnecessary (which is why you''re seeing those messages). -- Rick Olson http://techno-weenie.net
On Mar 21, 2006, at 9:23 PM, Rick Olson wrote:> Please upgrade to the plugin versions of acts_as_paranoid, versioned, > and sentry. I''ve quit updating the gems because plugins integrate > well with rails. rails 1.1 added nested scopes which makes some of > the hackery in acts_as_paranoid unnecessary (which is why you''re > seeing those messages).Thanks to Rick''s help, I''ve gotten past that problem. However I was using the acts_as_taggable gem, but it seems that there''s now a acts_as_taggable plugin that has several advantages, so I took this opportunity to switch as I''ve not implemented tagging yet. I added a new migration to create (and drop) the new tag and taggings tables (got the info from the Wiki and later confirmed against Rails Recipes) Now I cannot migrate: ~/Sites/sofarails: rake --trace db:migrate (in /Users/tmornini/Sites/sofarails) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Unknown key(s): polymorphic /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ active_record/associations.rb:519:in `belongs_to_without_reflection'' (eval):5:in `belongs_to'' /Users/tmornini/Sites/sofarails/config/../vendor/plugins/ acts_as_taggable/lib/tagging.rb:3 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ lib/active_support/dependencies.rb:149:in `require'' /Users/tmornini/Sites/sofarails/config/../vendor/plugins/ acts_as_taggable/init.rb:4:in `load_plugin'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:348:in `load_plugin'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:348:in `load_plugin'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:158:in `load_plugins'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:158:in `load_plugins'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:102:in `process'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ initializer.rb:42:in `run'' /Users/tmornini/Sites/sofarails/config/../config/environment.rb:10 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ lib/active_support/dependencies.rb:149:in `require'' /Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/ tasks/misc.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in `invoke_prerequisites'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 /usr/local/bin/rake:18
Thanks, Rick! -- -- Tom Mornini On Mar 21, 2006, at 9:23 PM, Rick Olson wrote:> On 3/21/06, Tom Mornini <tmornini@infomania.com> wrote: >> I''ve not been on edge at all. >> >> In my app directory I did >> >> rake freeze_edge >> rake rails:update >> svk status (showed *only* vendor/rails, no updated scripts) >> rake >> >> And I get a ton of errors, which break down to two, actually: >> >> NoMethodError: undefined method `scoped_methods='' for Buyer:Class >> NoMethodError: undefined method `clear_connection_cache!'' for >> ActiveRecord::Base:Class >> >> Details: >> >> ~/Sites/sofarails: ruby --version >> ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0] >> >> ~/Sites/sofarails: psql --version >> psql (PostgreSQL) 8.1.2 >> contains support for command-line editing >> >> ~/Sites/sofarails: ls vendor/plugins >> rails_cron_0.2.2 rails_tidy-0.1 rav >> textmate_backtracer-1.1 >> >> Dependencies: >> >> require ''creditcardverifier'' >> require ''digest/sha1'' >> >> require_gem ''acts_as_paranoid'' >> require_gem ''acts_as_taggable'' >> require_gem ''acts_as_versioned'' >> require_gem ''money'' >> require_gem ''payment'' >> require_gem ''sentry'' >> >> This is Mac OS X 10.4.5 (PPC) >> >> Any ideas? >> >> -- >> -- Tom Mornini >> >> >> On Mar 21, 2006, at 6:13 PM, Conductor wrote: >> >>> Conductor wrote: >>>> Looks like Rails 1.1.0 RC1 is finally here: >>>> >>>> http://dev.rubyonrails.org/changeset/4010 >>> >>> Rails 1.1-RC1 announcement and instructions here: >>> >>> http://weblog.rubyonrails.org/ > > Tom, > > Please upgrade to the plugin versions of acts_as_paranoid, versioned, > and sentry. I''ve quit updating the gems because plugins integrate > well with rails. rails 1.1 added nested scopes which makes some of > the hackery in acts_as_paranoid unnecessary (which is why you''re > seeing those messages). > > > -- > Rick Olson > http://techno-weenie.net > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
> Now I cannot migrate: > > ~/Sites/sofarails: rake --trace db:migrate > (in /Users/tmornini/Sites/sofarails) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > Unknown key(s): polymorphic > /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ > lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ > active_record/associations.rb:519:in `belongs_to_without_reflection'' > (eval):5:in `belongs_to''Look at those paths: you have one from vendor/rails/activesupport, and another from the activerecord gem. You''re having an issue w/ one of your plugins probably. The acts_as_taggable plugin in the rails svn is not the same as the gem. The gem uses habtm joins, while the plugin uses has_many :through and polymorphic joins. They''re by two different authors and aren''t meant to be compatible really. Just a heads-up. -- Rick Olson http://techno-weenie.net
On Mar 22, 2006, at 6:51 PM, Rick Olson wrote:>> Now I cannot migrate: >> >> ~/Sites/sofarails: rake --trace db:migrate >> (in /Users/tmornini/Sites/sofarails) >> ** Invoke db:migrate (first_time) >> ** Invoke environment (first_time) >> ** Execute environment >> rake aborted! >> Unknown key(s): polymorphic >> /Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/ >> lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' >> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ >> active_record/associations.rb:519:in `belongs_to_without_reflection'' >> (eval):5:in `belongs_to'' > > Look at those paths: you have one from vendor/rails/activesupport, > and another from the activerecord gem. You''re having an issue w/ one > of your plugins probably. > > The acts_as_taggable plugin in the rails svn is not the same as the > gem. The gem uses habtm joins, while the plugin uses has_many :through > and polymorphic joins. They''re by two different authors and aren''t > meant to be compatible really. > > Just a heads-up.Thanks for the eyes on the path, Rick. I know the acts_as_taggable difference, and have decided to go with the polymorphic version (plugin) I resolved the problem by removing the 1.0 gems, and installing the 1.1 gems. I''m not really clear why rake freeze_edge is broken. Isn''t it supposed to lock up the Rails version independent of the gems? -- -- Tom Mornini
Hi I just updated to Rails 1.1 but when I try the "rake rails:update" command I get this error "rake aborted! no rakefile found looking in ... " My rails version is 1.1 but rake is not working. Anyone know what Im doing wrong. Im on XP and running Instant Rails. Thanks, J
Anonymous napisa?(a):> > Hi I just updated to Rails 1.1 but when I try the "rake rails:update" > command I get this error "rake aborted! no rakefile found looking in ... > " My rails version is 1.1 but rake is not working. Anyone know what Im > doing wrong. Im on XP and running Instant Rails. Thanks, > > JHave you changed the working directory to your app''s root directory? Eg: c:/rails/my_application Peter
That was a quick response! That was it... thank you very much.
Anonymous wrote:> > Hi I just updated to Rails 1.1 but when I try the "rake rails:update" > command I get this error "rake aborted! no rakefile found looking in ... > " My rails version is 1.1 but rake is not working. Anyone know what Im > doing wrong. Im on XP and running Instant Rails. Thanks,You should be in the RAILS_ROOT directory of your application(s) when you issue this command. Ray
Seemingly Similar Threads
- Installation of plugins/gems/mix-ins confusion
- TimeZone, TZInfo, daylight savings, and composed_of
- acts_as_paranoid --> undefined method `constrain' for class `Class'
- acts_as_paranoid and :include
- Problem with acts_as_paranoid: "ArgumentError: Unknown key(s): group"