From ruby-forum-incoming at andreas-s.net Thu Feb 5 06:32:35 2009 From: ruby-forum-incoming at andreas-s.net (Lark Dark) Date: Thu, 5 Feb 2009 12:32:35 +0100 Subject: [typo] db:create gives "Unknown database" In-Reply-To: References: Message-ID: Arun Gupta wrote: > I'm trying to install Typo 5.0.3 and "rake db:create" gives the > following error: > > -- cut here -- > (in /Users/arungupta/samples/jruby/typo-5.0.3) > rake aborted! > #42000Unknown database 'typo_dev' > > (See full trace by running task with --trace) > -- cut here -- > > I'm able to create other trivial Rails applications and db:create > database there. > > -Arun > > -- > Web Technologies and Standards > Sun Microsystems, Inc. > Blog: http://blogs.sun.com/arungupta Hi. I just have the same problem yesterday. Here is my notes so far: Solving rake db:migrate error Error: $ rake db:migrate (in /Users/johndoe/Sites/MyProject) rake aborted! #42000Unknown database 'myDB' /Users/johndoe/Sites/MyProject/rakefile:10 (See full trace by running task with --trace) Solution: 1) Open config/application.rb 2) Comment all block related to if ActiveRecord::Base.connection.tables.include?("countries") 3) Run the rake again 4) Uncomment the if block I hope it helps :) Regards, Eric -- Posted via http://www.ruby-forum.com/. From alpartis at thundernet.com Thu Feb 5 23:30:08 2009 From: alpartis at thundernet.com (Alan Partis) Date: Thu, 5 Feb 2009 23:30:08 -0500 (EST) Subject: [typo] rake aborted - access denied to mysql db In-Reply-To: References: Message-ID: Update: my problem appears to be resolved. The solution is that I appear to have been missing a 'db_host=' argument to the 'typo install' command line. Thanks for your troubles. On Thu, 5 Feb 2009, Alan Partis wrote: > > I really hate to be a bother, but I'm running out of thoughts to resolve > my problem getting Typo running on my host (Dreamhost.com). > > They've got the Typo 5.2 gem installed with Rails 2.2.2 and Ruby 1.8.5. > mysql --version reports the following: > > mysql Ver 14.12 Distrib 5.0.16, for pc-linux-gnu (i386) using readline 5.0 > > I have established a mysql database named xyz_test and a user with full > privileges called xyz. I have verified that I can connect to the db using > the following command line: > > $ mysql -h mysql.mydomain.com -u xyz -pxxxx -D xyz_test > > My problem is a failure when running the Typo install to my local path as > follows ($GEM_PATH is set to ~/gems): > > $ typo install my_root/typo db_user=xyz db_name=xyz_test db_password=xxxx > > The output (showing a couple problems): > > Installing typo 5.2 > Stopping Typo > ** Ruby version is not up-to-date; loading cgi_multipart_eof_fix > !!! PID file ~/my_root/typo/tmp/pid.txt does not exist. Not running? > mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to get > help. > Checking for existing Typo install in > /home/.mooer/alpartis/staging.thundernet.com/typo > Reading files from /home/alpartis/gems/gems/typo-5.2 > copying rails 2.2.2 to > /home/.mooer/alpartis/staging.thundernet.com/typo/vendor/rails/railties > copying activesupport 2.2.2 to > /home/.mooer/alpartis/staging.thundernet.com/typo/vendor/rails/activesupport > copying activerecord 2.2.2 to > /home/.mooer/alpartis/staging.thundernet.com/typo/vendor/rails/activerecord > copying actionpack 2.2.2 to > /home/.mooer/alpartis/staging.thundernet.com/typo/vendor/rails/actionpack > copying actionmailer 2.2.2 to > /home/.mooer/alpartis/staging.thundernet.com/typo/vendor/rails/actionmailer > Making scripts executable > Checking database > Creating initial database > Creating MySQL database > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2) > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/var/run/mysqld/mysqld.sock' (2) > Migrating Typo's database to newest release > rake aborted! > Access denied for user 'xyz'@'nnnnnnnnnnn' (using password: YES) > > > > QUESTIONS: > > 1. It seems that my host's Ruby installation is slightly out of date for > Typo's needs (1.8.5 vs. 1.8.6) but the installer appears to handle that > by loading the cgi_multipart_eof_fix. Do I need to install my own > local copy of Ruby? > > 2. Where is Typo picking up the apparently incorrect reference to the > mysqld socket file? > > 3. Is the socket failure the cause of the Access denied error? > > Thanks for any insight provided. > > > > _______________________________________________________ > Alan Partis > thundernet development group From ruby-forum-incoming at andreas-s.net Sun Feb 15 07:37:17 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sun, 15 Feb 2009 13:37:17 +0100 Subject: [typo] Length of the RSS flow Message-ID: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> Hi, What is the limit of the RSS flow ? Is it by date or by number of posts ? My flow (1) stops on December 19th. Is there a way to keep all the posts in the flow ? Thx, H (1) http://harryseldon.thinkosphere.com/articles.rss -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Sun Feb 15 13:18:11 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 15 Feb 2009 19:18:11 +0100 Subject: [typo] Length of the RSS flow In-Reply-To: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> References: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> Message-ID: <49985C63.1010605@gmail.com> Harry Seldon a ?crit : > Hi, > What is the limit of the RSS flow ? Is it by date or by number of posts > ? > My flow (1) stops on December 19th. Is there a way to keep all the posts > in the flow ? > > Thx, > H > (1) http://harryseldon.thinkosphere.com/articles.rss > You can define the number of article in your index. By HTML or by RSS feed in url : http://your_blog/admin/settings/read You can go to admin -> configuration -> read Your welcome -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Sun Feb 15 13:23:52 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Sun, 15 Feb 2009 19:23:52 +0100 Subject: [typo] Length of the RSS flow In-Reply-To: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> References: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> Message-ID: <49985DB8.9010205@gmail.com> Harry Seldon a ?crit : > Hi, > What is the limit of the RSS flow ? Is it by date or by number of posts > ? > My flow (1) stops on December 19th. Is there a way to keep all the posts > in the flow ? > > Thx, > H > (1) http://harryseldon.thinkosphere.com/articles.rss > I start a little documentation about this part in our wiki : http://wiki.github.com/fdv/typo/define-the-number-of-article-in-index-by-html-or-feed -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Mon Feb 16 01:34:31 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Mon, 16 Feb 2009 07:34:31 +0100 Subject: [typo] Length of the RSS flow In-Reply-To: <49985C63.1010605@gmail.com> References: <167e20b885b01ef5a17c163f97cdc474@ruby-forum.com> <49985C63.1010605@gmail.com> Message-ID: <7cd29bb3bb2a86056e3dea1b60baa8dc@ruby-forum.com> Cool. Thx. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Tue Feb 17 04:27:59 2009 From: ruby-forum-incoming at andreas-s.net (Jamie Penney) Date: Tue, 17 Feb 2009 10:27:59 +0100 Subject: [typo] [ANN] Typo 5.2 for Rails 2.2 released In-Reply-To: <44a221ec18ec33f702609bf373e4a6af@ruby-forum.com> References: <8549FB25-8199-4098-9E21-458CCB3A71B7@de-villamil.com> <44a221ec18ec33f702609bf373e4a6af@ruby-forum.com> Message-ID: <35b1ab3ebbdd4b3e0a78478abad771eb@ruby-forum.com> I am having an issue upgrading from 5.1.3. I have: 1) installed the upgraded typo gem 2) run `typo install .` in my typo directory 3) cleared the sessions with rake db:sessions:clear 4) double checked the migrations have worked with rake db:migrate The issue I have is this: When I try log in, it tries to navigate to /admin/settings/update_database. This fails, and the logs contain the following: Processing Admin::SettingsController#update_database (for 121.98.143.175 at 2009-02-17 09:04:30) [GET] Session ID: e70ccad1ea97ae3270cfcc699458d192 Rendering template within layouts/administration Rendering admin/settings/update_database ActionView::TemplateError (undefined method `editor' for #) on line #8 of app/views/layouts/administration.html.erb: 5: 6: Typo Administration: <%= controller.controller_name %> 7: 8: <%= javascript_include_tag :fckeditor if current_user.editor == 2 %> 9: <%= javascript_include_tag 'quicktags' if current_user.editor == 0 %> 10: <%= stylesheet_link_tag "administration", "lightbox" %> 11: <%= stylesheet_link_tag "administration_rtl" if ( _("Localization.rtl") == "1") %> vendor/rails/activerecord/lib/active_record/attribute_methods.rb:260:in `method_missing' app/views/layouts/administration.html.erb:8 Any ideas as to how to fix this? Cheers, Jamie -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Tue Feb 17 05:35:42 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 17 Feb 2009 11:35:42 +0100 Subject: [typo] [ANN] Typo 5.2 for Rails 2.2 released In-Reply-To: <35b1ab3ebbdd4b3e0a78478abad771eb@ruby-forum.com> References: <8549FB25-8199-4098-9E21-458CCB3A71B7@de-villamil.com> <44a221ec18ec33f702609bf373e4a6af@ruby-forum.com> <35b1ab3ebbdd4b3e0a78478abad771eb@ruby-forum.com> Message-ID: <499A92FE.40007@gmail> Jamie Penney wrote: > I am having an issue upgrading from 5.1.3. I have: > 1) installed the upgraded typo gem > 2) run `typo install .` in my typo directory > 3) cleared the sessions with rake db:sessions:clear > 4) double checked the migrations have worked with rake db:migrate > > The issue I have is this: When I try log in, it tries to navigate to > /admin/settings/update_database. This fails, and the logs contain the > following: > > Processing Admin::SettingsController#update_database (for 121.98.143.175 > at 2009-02-17 09:04:30) [GET] > Session ID: e70ccad1ea97ae3270cfcc699458d192 > Rendering template within layouts/administration > Rendering admin/settings/update_database > > > ActionView::TemplateError (undefined method `editor' for > #) on line #8 of > app/views/layouts/administration.html.erb: > 5: /> > 6: Typo Administration: <%= controller.controller_name > %> > 7: > 8: <%= javascript_include_tag :fckeditor if current_user.editor == 2 > %> > 9: <%= javascript_include_tag 'quicktags' if current_user.editor == 0 > %> > 10: <%= stylesheet_link_tag "administration", "lightbox" %> > 11: <%= stylesheet_link_tag "administration_rtl" if ( > _("Localization.rtl") == "1") %> > > vendor/rails/activerecord/lib/active_record/attribute_methods.rb:260:in > `method_missing' > app/views/layouts/administration.html.erb:8 > > Any ideas as to how to fix this? > > The editor field is insert in Typo 5.2 Maybe try a restart of Typo, with delete all cookie and restart rake db:migrate. - Stop Typo - rake db:sessions:clear - rake db:migrate - Start Typo Maybe you are a old user model in your session or your migration failed. -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Tue Feb 17 14:59:23 2009 From: ruby-forum-incoming at andreas-s.net (freak boy) Date: Tue, 17 Feb 2009 20:59:23 +0100 Subject: [typo] [ANN] Typo 5.2 for Rails 2.2 released In-Reply-To: <499A92FE.40007@gmail> References: <8549FB25-8199-4098-9E21-458CCB3A71B7@de-villamil.com> <44a221ec18ec33f702609bf373e4a6af@ruby-forum.com> <35b1ab3ebbdd4b3e0a78478abad771eb@ruby-forum.com> <499A92FE.40007@gmail> Message-ID: I have done all of these things. I stopped mongrel, clear my sessions and cookies in my browser, ran rake, restarted mongrel, and the problem still exists. Cyril Mougel wrote: > > The editor field is insert in Typo 5.2 > > Maybe try a restart of Typo, with delete all cookie and restart rake > db:migrate. > > - Stop Typo > - rake db:sessions:clear > - rake db:migrate > - Start Typo > > Maybe you are a old user model in your session or your migration failed. > > -- > Cyril Mougel > http://blog.shingara.fr -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Feb 18 00:16:24 2009 From: ruby-forum-incoming at andreas-s.net (freak boy) Date: Wed, 18 Feb 2009 06:16:24 +0100 Subject: [typo] [ANN] Typo 5.2 for Rails 2.2 released In-Reply-To: References: <8549FB25-8199-4098-9E21-458CCB3A71B7@de-villamil.com> <44a221ec18ec33f702609bf373e4a6af@ruby-forum.com> <35b1ab3ebbdd4b3e0a78478abad771eb@ruby-forum.com> <499A92FE.40007@gmail> Message-ID: Cyril Mougel wrote: > > The editor field is insert in Typo 5.2 > > Maybe try a restart of Typo, with delete all cookie and restart rake > db:migrate. > > - Stop Typo > - rake db:sessions:clear > - rake db:migrate > - Start Typo > > Maybe you are a old user model in your session or your migration failed. > > -- > Cyril Mougel > http://blog.shingara.fr I have fixed this by installing Typo in a different directory but pointing to the same database. It re-ran the migrations, which seem to have worked this time (I sear they ran the first time, but I guess not). Now running the blog from the original directory works. -- Posted via http://www.ruby-forum.com/. From tobias.weisserth at gmail.com Sat Feb 21 14:36:13 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Sat, 21 Feb 2009 20:36:13 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github Message-ID: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> Hi everybody, after some time not having done anything Ruby/Rails related I am trying to get into Typo again. I checked out Typo from github, edited the database.yml configuration as well as mail.yml. My local machine runs the latest Enterprise Ruby. Now, I want to get started running Typo locally in the development environment. The databases exist, as does the user with correct permissions. I tried to migrate the database first and ran into the first problem: rake --trace db:migrate renders rake aborted! no such file to load -- spec/rake/spectask /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' /home/tweisser/workspace/typo/typo/lib/tasks/rspec.rake:9 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load_without_new_constant_marking' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in `load' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8:in `each' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/tweisser/workspace/typo/typo/Rakefile:10 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /opt/ruby-enterprise/bin/rake:19:in `load' /opt/ruby-enterprise/bin/rake:19 I guess there is something wrong with the way I set up Enterprise Ruby. Care to show me what I can't see right now? Thanks, Tobias -------------- next part -------------- An HTML attachment was scrubbed... URL: From darius at onrails.lt Sat Feb 21 16:46:17 2009 From: darius at onrails.lt (Darius) Date: Sat, 21 Feb 2009 23:46:17 +0200 Subject: [typo] can't install typo Message-ID: <49A07629.5090509@onrails.lt> Hello, I try install typo, on my local machine, after set database config, i try start application and get fallowing error: /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate actionpack (= 1.13.6, runtime), already activated actionpack-2.2.2 (Gem::Exception) from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each' from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in `require_frameworks' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in `each' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in `require_frameworks' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:133:in `process' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' from /home/darius/workspace/github/typo/config/environment.rb:19 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 it seems like problem with actionpack, i have installed fallowing versions actionpack 2.2.2, 2.0.2, 1.13.6 maybe someone know how to fix it ? From tobias.weisserth at gmail.com Sat Feb 21 17:17:11 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Sat, 21 Feb 2009 23:17:11 +0100 Subject: [typo] can't install typo In-Reply-To: <49A07629.5090509@onrails.lt> References: <49A07629.5090509@onrails.lt> Message-ID: <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> Hi there, I am trying to figure out the exact same problem here. I tried to run "rake db:migrate" and get similar issues. I tried to get rid of old versions of gems by "sudo gem cleanup" which solved the problem you are having right now just to run into the next problem. Try this first and please let me know on this list if this resolved it for you. Thanks, Tobias On Sat, Feb 21, 2009 at 10:46 PM, Darius wrote: > Hello, > > I try install typo, on my local machine, after set database config, i try > start application and get fallowing error: > > /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate > actionpack (= 1.13.6, runtime), already activated actionpack-2.2.2 > (Gem::Exception) > from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in > `each' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:133:in > `process' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in > `send' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in > `run' > from /home/darius/workspace/github/typo/config/environment.rb:19 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from script/server:3 > > it seems like problem with actionpack, i have installed fallowing versions > actionpack 2.2.2, 2.0.2, 1.13.6 > maybe someone know how to fix it ? > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From darius at onrails.lt Sun Feb 22 03:50:55 2009 From: darius at onrails.lt (Darius) Date: Sun, 22 Feb 2009 10:50:55 +0200 Subject: [typo] can't install typo In-Reply-To: <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> References: <49A07629.5090509@onrails.lt> <43cee7130902211417u17afbb3ehdd5456705519aa24@mail.gmail.com> Message-ID: <49A111EF.9000203@onrails.lt> cleanup doesn't help, but thank you, you put me on the right way :) , problem is because lastest actionwebservice from gems depends on ationpack 1.13.6, activerecord 1.15.6 and activesupport 1.4.4 i install actionwebservice from github ant its work :) Tobias Weisserth wrote: > Hi there, > > I am trying to figure out the exact same problem here. > > I tried to run "rake db:migrate" and get similar issues. > > I tried to get rid of old versions of gems by "sudo gem cleanup" which > solved the problem you are having right now just to run into the next > problem. Try this first and please let me know on this list if this > resolved it for you. > > Thanks, > > Tobias > > On Sat, Feb 21, 2009 at 10:46 PM, Darius > wrote: > > Hello, > > I try install typo, on my local machine, after set database > config, i try start application and get fallowing error: > > /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't > activate actionpack (= 1.13.6, runtime), already activated > actionpack-2.2.2 (Gem::Exception) > from /usr/local/lib/site_ruby/1.8/rubygems.rb:165:in `activate' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `each' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:164:in `activate' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:35:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in `each' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:256:in > `require_frameworks' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:133:in `process' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' > from /home/darius/workspace/github/typo/config/environment.rb:19 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > from > /var/lib/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > from > /var/lib/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from script/server:3 > > it seems like problem with actionpack, i have installed fallowing > versions actionpack 2.2.2, 2.0.2, 1.13.6 > maybe someone know how to fix it ? > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From darius at onrails.lt Sun Feb 22 06:22:00 2009 From: darius at onrails.lt (Darius) Date: Sun, 22 Feb 2009 13:22:00 +0200 Subject: [typo] missing helper articles_by_month_path Message-ID: <49A13558.1000602@onrails.lt> Hi, i use lastest typo from github, when running index page, i get fallowing error Showing vendor/plugins/archives_sidebar/views/content.rhtml where line #6 raised: articles_by_month_url failed to generate from {:month=>"02", :controller=>"articles", :year=>"2009", :action=>"index"}, expected: {:controller=>"articles", :action=>"index"}, diff: {:month=>"02", :year=>"2009"} if in content.rhtml I comment this line, all works fine. From frederic at de-villamil.com Sun Feb 22 11:37:52 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Sun, 22 Feb 2009 17:37:52 +0100 Subject: [typo] missing helper articles_by_month_path In-Reply-To: <49A13558.1000602@onrails.lt> References: <49A13558.1000602@onrails.lt> Message-ID: <83E1EB73-56B3-4D04-8EA3-AB2E0F810984@de-villamil.com> Le 22 f?vr. 09 ? 12:22, Darius a ?crit : > Hi, > > i use lastest typo from github, when running index page, i get > fallowing error > > Showing vendor/plugins/archives_sidebar/views/content.rhtml where > line #6 raised: > > articles_by_month_url failed to generate from > {:month > =>"02", :controller=>"articles", :year=>"2009", :action=>"index"}, > expected: {:controller=>"articles", :action=>"index"}, diff: > {:month=>"02", :year=>"2009"} > > if in content.rhtml I comment this line, all works fine. Hello, Cyril has been doing lots of changes on our github master (which is NOT supposed to be stable and production ready), and I think he didn't update the plugins. Please, open a ticket if you want (or better, fork, update and ask for pull on github :-)) Regards, Fr?d?ric -- Fr?d?ric de Villamil frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From cyril.mougel at gmail.com Mon Feb 23 05:15:13 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Mon, 23 Feb 2009 11:15:13 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> Message-ID: <49A27731.3060901@gmail> Tobias Weisserth wrote: > Hi everybody, > > after some time not having done anything Ruby/Rails related I am > trying to get into Typo again. I checked out Typo from github, edited > the database.yml configuration as well as mail.yml. My local machine > runs the latest Enterprise Ruby. > > Now, I want to get started running Typo locally in the development > environment. The databases exist, as does the user with correct > permissions. > > I tried to migrate the database first and ran into the first problem: > > rake --trace db:migrate > > renders > > rake aborted! > no such file to load -- spec/rake/spectask > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in > `require' > /home/tweisser/workspace/typo/typo/lib/tasks/rspec.rake:9 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in > `load_without_new_constant_marking' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in > `load' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in > `new_constants_in' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:142:in > `load' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8:in > `each' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/rails.rb:8 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > /home/tweisser/workspace/typo/typo/Rakefile:10 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `load' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `raw_load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > /opt/ruby-enterprise/bin/rake:19:in `load' > /opt/ruby-enterprise/bin/rake:19 > > I guess there is something wrong with the way I set up Enterprise > Ruby. Care to show me what I can't see right now? This requirement is rspec or rspec-rails. Have you this gem on your production environment ? If you don't want this error you can delete file : /home/tweisser/workspace/typo/typo/lib/tasks/rspec.rake It's useless in production mode. We don't send in our package. -- Cyril Mougel http://blog.shingara.fr From tobias.weisserth at gmail.com Mon Feb 23 17:14:03 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Mon, 23 Feb 2009 23:14:03 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <49A27731.3060901@gmail> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> Message-ID: <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> Hi there, it was a weird issue with my setup on my box. I was using Ruby Enterprise Edition and its gems. When invoking "sudo gem ..." however, a different gem binary got invoked although the Enterprise gem binary should have been invoked instead according to what's in my PATH. It has to do how sudo treats environment variables. I figured it out. However, I still can't get a "rake db:migrate" to work, due to the "can't activate actionpack (= 1.13.6, runtime), already activated actionpack-2.2.2" issue which already has a Lighthouse ticket. Any idea? Just to be sure, I add the list of gems I have installed and which are used: actionmailer (2.2.2) actionpack (2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.2.2, 1.15.6) activeresource (2.2.2) activesupport (2.2.2, 1.4.4) cgi_multipart_eof_fix (2.5.0) columnize (0.3.0) daemons (1.0.10) fastthread (1.0.1) flexmock (0.8.4) gem_plugin (0.2.3) htmlentities (4.0.0) json (1.1.3) linecache (0.43) mongrel (1.1.5) mongrel_cluster (1.0.5) mysql (2.7) passenger (2.0.6) postgres (0.7.9.2008.01.28) rack (0.9.1) rails (2.2.2) rails-app-installer (0.2.0) rake (0.8.3) rspec (1.1.12) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-debug-ide (0.4.4) sqlite3-ruby (1.2.4) typo (5.2) will_paginate (2.2.2) So you can see, both versions of actionpack are installed. I'd really like to spend some free time after work (where I do Java EE all day) on Typo and Rails. There are some small itches I'd like to scratch myself in Typo and of it's any good, you're happy to have them. Thanks, Tobias On Mon, Feb 23, 2009 at 11:15 AM, Cyril Mougel wrote: > Tobias Weisserth wrote: > This requirement is rspec or rspec-rails. Have you this gem on your > production environment ? > > If you don't want this error you can delete file : > /home/tweisser/workspace/typo/typo/lib/tasks/rspec.rake > It's useless in production mode. We don't send in our package. > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Tue Feb 24 05:26:28 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 24 Feb 2009 11:26:28 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> Message-ID: <49A3CB54.60504@gmail> Tobias Weisserth wrote: > Hi there, > > it was a weird issue with my setup on my box. I was using Ruby > Enterprise Edition and its gems. When invoking "sudo gem ..." however, > a different gem binary got invoked although the Enterprise gem binary > should have been invoked instead according to what's in my PATH. It > has to do how sudo treats environment variables. > > I figured it out. However, I still can't get a "rake db:migrate" to > work, due to the "can't activate actionpack (= 1.13.6, runtime), > already activated actionpack-2.2.2" issue which already has a > Lighthouse ticket. Any idea? > > Just to be sure, I add the list of gems I have installed and which are > used: > > actionmailer (2.2.2) > actionpack (2.2.2, 1.13.6) > actionwebservice (1.2.6) > activerecord (2.2.2, 1.15.6) > activeresource (2.2.2) > activesupport (2.2.2, 1.4.4) > cgi_multipart_eof_fix (2.5.0) > columnize (0.3.0) > daemons (1.0.10) > fastthread (1.0.1) > flexmock (0.8.4) > gem_plugin (0.2.3) > htmlentities (4.0.0) > json (1.1.3) > linecache (0.43) > mongrel (1.1.5) > mongrel_cluster (1.0.5) > mysql (2.7) > passenger (2.0.6) > postgres (0.7.9.2008.01.28) > rack (0.9.1) > rails (2.2.2) > rails-app-installer (0.2.0) > rake (0.8.3) > rspec (1.1.12) > ruby-debug (0.10.3) > ruby-debug-base (0.10.3) > ruby-debug-ide (0.4.4) > sqlite3-ruby (1.2.4) > typo (5.2) > will_paginate (2.2.2) > > So you can see, both versions of actionpack are installed. > > I'd really like to spend some free time after work (where I do Java EE > all day) on Typo and Rails. There are some small itches I'd like to > scratch myself in Typo and of it's any good, you're happy to have them. In your list of gem you didn't have datanoise-actionwebservice-2.2.2 gem. So Typo want load actionwebservice but when you have a old actionwebservice it load this. So you can check : 1) Have you a freezing version of actionwebservice in /vendor/actionwebservice/ ? 2) Can you launch command rake gems and paste his output ? -- Cyril Mougel http://blog.shingara.fr From tobias.weisserth at gmail.com Tue Feb 24 08:10:22 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 14:10:22 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <49A3CB54.60504@gmail> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> Message-ID: <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> Hi Cyril, thanks for your help. Indeed, I didn't have the datanoise-actionwebservice-2.2.2 gem installed. I got the gem from github's gem repository. I now have following gems installed: *** LOCAL GEMS *** actionmailer (2.2.2) actionpack (2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.2.2, 1.15.6) activeresource (2.2.2) activesupport (2.2.2, 1.4.4) cgi_multipart_eof_fix (2.5.0) columnize (0.3.0) daemons (1.0.10) datanoise-actionwebservice (2.2.2) fastthread (1.0.1) flexmock (0.8.4) gem_plugin (0.2.3) htmlentities (4.0.0) json (1.1.3) linecache (0.43) mongrel (1.1.5) mongrel_cluster (1.0.5) mysql (2.7) passenger (2.0.6) postgres (0.7.9.2008.01.28) rack (0.9.1) rails (2.2.2) rails-app-installer (0.2.0) rake (0.8.3) rspec (1.1.12) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-debug-ide (0.4.4) sqlite3-ruby (1.2.4) typo (5.2) will_paginate (2.2.2) "rake --trace gems" renders: (in /home/tweisser/workspace/typo/typo) rake aborted! no such file to load -- /home/tweisser/workspace/typo/typo/config/../vendor/rails/railties/lib/initializer /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/tweisser/workspace/typo/typo/config/boot.rb:45:in `load_initializer' /home/tweisser/workspace/typo/typo/config/boot.rb:38:in `run' /home/tweisser/workspace/typo/typo/config/boot.rb:11:in `boot!' /home/tweisser/workspace/typo/typo/config/boot.rb:109 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /home/tweisser/workspace/typo/typo/Rakefile:4 /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `raw_load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in `load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in `load_rakefile' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /opt/ruby-enterprise/bin/rake:19:in `load' /opt/ruby-enterprise/bin/rake:19 The same goes for rake db:migrate. I pulled the latest changes from vanilla typo on github. I didn't freeze Rails, so vendor/rails is empty. Do I need to freeze Rails to work on the Typo sources? thanks, Tobias W. On Tue, Feb 24, 2009 at 11:26 AM, Cyril Mougel wrote: > Tobias Weisserth wrote: > >> Hi there, >> >> it was a weird issue with my setup on my box. I was using Ruby Enterprise >> Edition and its gems. When invoking "sudo gem ..." however, a different gem >> binary got invoked although the Enterprise gem binary should have been >> invoked instead according to what's in my PATH. It has to do how sudo treats >> environment variables. >> >> I figured it out. However, I still can't get a "rake db:migrate" to work, >> due to the "can't activate actionpack (= 1.13.6, runtime), already activated >> actionpack-2.2.2" issue which already has a Lighthouse ticket. Any idea? >> >> Just to be sure, I add the list of gems I have installed and which are >> used: >> >> actionmailer (2.2.2) >> actionpack (2.2.2, 1.13.6) >> actionwebservice (1.2.6) >> activerecord (2.2.2, 1.15.6) >> activeresource (2.2.2) >> activesupport (2.2.2, 1.4.4) >> cgi_multipart_eof_fix (2.5.0) >> columnize (0.3.0) >> daemons (1.0.10) >> fastthread (1.0.1) >> flexmock (0.8.4) >> gem_plugin (0.2.3) >> htmlentities (4.0.0) >> json (1.1.3) >> linecache (0.43) >> mongrel (1.1.5) >> mongrel_cluster (1.0.5) >> mysql (2.7) >> passenger (2.0.6) >> postgres (0.7.9.2008.01.28) >> rack (0.9.1) >> rails (2.2.2) >> rails-app-installer (0.2.0) >> rake (0.8.3) >> rspec (1.1.12) >> ruby-debug (0.10.3) >> ruby-debug-base (0.10.3) >> ruby-debug-ide (0.4.4) >> sqlite3-ruby (1.2.4) >> typo (5.2) >> will_paginate (2.2.2) >> >> So you can see, both versions of actionpack are installed. >> >> I'd really like to spend some free time after work (where I do Java EE all >> day) on Typo and Rails. There are some small itches I'd like to scratch >> myself in Typo and of it's any good, you're happy to have them. >> > In your list of gem you didn't have datanoise-actionwebservice-2.2.2 gem. > So Typo want load actionwebservice but when you have a old actionwebservice > it load this. > > So you can check : > > 1) Have you a freezing version of actionwebservice in > /vendor/actionwebservice/ ? > 2) Can you launch command rake gems and paste his output ? > > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Tue Feb 24 08:49:44 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 24 Feb 2009 14:49:44 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> Message-ID: <49A3FAF8.8030305@gmail> Tobias Weisserth wrote: > Hi Cyril, > > thanks for your help. Indeed, I didn't have the > datanoise-actionwebservice-2. > 2.2 gem installed. I got the gem from github's gem repository. > > I now have following gems installed: > > *** LOCAL GEMS *** > > actionmailer (2.2.2) > actionpack (2.2.2, 1.13.6) > actionwebservice (1.2.6) > activerecord (2.2.2, 1.15.6) > activeresource (2.2.2) > activesupport (2.2.2, 1.4.4) > cgi_multipart_eof_fix (2.5.0) > columnize (0.3.0) > daemons (1.0.10) > datanoise-actionwebservice (2.2.2) > fastthread (1.0.1) > flexmock (0.8.4) > gem_plugin (0.2.3) > htmlentities (4.0.0) > json (1.1.3) > linecache (0.43) > mongrel (1.1.5) > mongrel_cluster (1.0.5) > mysql (2.7) > passenger (2.0.6) > postgres (0.7.9.2008.01.28) > rack (0.9.1) > rails (2.2.2) > rails-app-installer (0.2.0) > rake (0.8.3) > rspec (1.1.12) > ruby-debug (0.10.3) > ruby-debug-base (0.10.3) > ruby-debug-ide (0.4.4) > sqlite3-ruby (1.2.4) > typo (5.2) > will_paginate (2.2.2) > > "rake --trace gems" renders: > > (in /home/tweisser/workspace/typo/typo) > rake aborted! > no such file to load -- > /home/tweisser/workspace/typo/typo/config/../vendor/rails/railties/lib/initializer > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > /home/tweisser/workspace/typo/typo/config/boot.rb:45:in `load_initializer' > /home/tweisser/workspace/typo/typo/config/boot.rb:38:in `run' > /home/tweisser/workspace/typo/typo/config/boot.rb:11:in `boot!' > /home/tweisser/workspace/typo/typo/config/boot.rb:109 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > /home/tweisser/workspace/typo/typo/Rakefile:4 > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `load' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `raw_load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in > `run' > /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > /opt/ruby-enterprise/bin/rake:19:in `load' > /opt/ruby-enterprise/bin/rake:19 > > The same goes for rake db:migrate. > > I pulled the latest changes from vanilla typo on github. > > I didn't freeze Rails, so vendor/rails is empty. > > Do I need to freeze Rails to work on the Typo sources? We don't need freeze rails gems. I don't understand why you have this error. If you made git status, there are no change ? -- Cyril Mougel http://blog.shingara.fr From tobias.weisserth at gmail.com Tue Feb 24 09:08:38 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 15:08:38 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <49A3FAF8.8030305@gmail> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> Message-ID: <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> Hi Cyril, I just pulled from fdv/typo and a git status renders: # On branch master nothing to commit (working directory clean) So far, all I did is adding my own sub modules to vendor/plugins and themes. This shouldn't conflict with any later changes. My guess is there is still something wrong with gems. I'll try on another box later tonight. thanks, Tobias On Tue, Feb 24, 2009 at 2:49 PM, Cyril Mougel wrote: > Tobias Weisserth wrote: > >> Hi Cyril, >> >> thanks for your help. Indeed, I didn't have the >> datanoise-actionwebservice-2. >> 2.2 gem installed. I got the gem from github's gem repository. >> >> I now have following gems installed: >> >> *** LOCAL GEMS *** >> >> actionmailer (2.2.2) >> actionpack (2.2.2, 1.13.6) >> actionwebservice (1.2.6) >> activerecord (2.2.2, 1.15.6) >> activeresource (2.2.2) >> activesupport (2.2.2, 1.4.4) >> cgi_multipart_eof_fix (2.5.0) >> columnize (0.3.0) >> daemons (1.0.10) >> datanoise-actionwebservice (2.2.2) >> fastthread (1.0.1) >> flexmock (0.8.4) >> gem_plugin (0.2.3) >> htmlentities (4.0.0) >> json (1.1.3) >> linecache (0.43) >> mongrel (1.1.5) >> mongrel_cluster (1.0.5) >> mysql (2.7) >> passenger (2.0.6) >> postgres (0.7.9.2008.01.28) >> rack (0.9.1) >> rails (2.2.2) >> rails-app-installer (0.2.0) >> rake (0.8.3) >> rspec (1.1.12) >> ruby-debug (0.10.3) >> ruby-debug-base (0.10.3) >> ruby-debug-ide (0.4.4) >> sqlite3-ruby (1.2.4) >> typo (5.2) >> will_paginate (2.2.2) >> >> "rake --trace gems" renders: >> >> (in /home/tweisser/workspace/typo/typo) >> rake aborted! >> no such file to load -- >> /home/tweisser/workspace/typo/typo/config/../vendor/rails/railties/lib/initializer >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `gem_original_require' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `require' >> /home/tweisser/workspace/typo/typo/config/boot.rb:45:in `load_initializer' >> /home/tweisser/workspace/typo/typo/config/boot.rb:38:in `run' >> /home/tweisser/workspace/typo/typo/config/boot.rb:11:in `boot!' >> /home/tweisser/workspace/typo/typo/config/boot.rb:109 >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `gem_original_require' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `require' >> /home/tweisser/workspace/typo/typo/Rakefile:4 >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in >> `load' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in >> `raw_load_rakefile' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in >> `load_rakefile' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in >> `load_rakefile' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in >> `run' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in >> `standard_exception_handling' >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in >> `run' >> >> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 >> /opt/ruby-enterprise/bin/rake:19:in `load' >> /opt/ruby-enterprise/bin/rake:19 >> >> The same goes for rake db:migrate. >> >> I pulled the latest changes from vanilla typo on github. >> >> I didn't freeze Rails, so vendor/rails is empty. >> >> Do I need to freeze Rails to work on the Typo sources? >> > > We don't need freeze rails gems. I don't understand why you have this > error. If you made git status, there are no change ? > > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matijs at matijs.net Tue Feb 24 09:39:22 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 24 Feb 2009 15:39:22 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> Message-ID: <49A4069A.6040001@matijs.net> Tobias Weisserth wrote: > (in /home/tweisser/workspace/typo/typo) > rake aborted! > no such file to load -- > /home/tweisser/workspace/typo/typo/config/../vendor/rails/railties/lib/initializer This sounds like the ./vendor/rails directory exists: If it exists, rails will try to load itself from there even if you tell it to use the gem in the configuration file. Can you check if this directory exists? It should be empty. If it is, can you remove it and try again? Regards, Matijs From tobias.weisserth at gmail.com Tue Feb 24 11:19:09 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 17:19:09 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <49A4069A.6040001@matijs.net> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> <49A4069A.6040001@matijs.net> Message-ID: <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> You are 100% right. vendor/rails exists and is emtpy. Deleting it magically "unlocks" everything. After deleting the empty vendor/rails directory I did a "git status" which returned no modified files. Is this git standard behaviour to not track directories? In this case, that was the cause of a lot of trouble. I checked out typo from github with the vendor/rails directory existing. It would be best I guess to delete it upstream. As soon as I'm back home I am also going to update the Typo Wiki on github as to what gems you need to have so typo will work after checkout. cheers, Tobias On Tue, Feb 24, 2009 at 3:39 PM, Matijs van Zuijlen wrote: > Tobias Weisserth wrote: > >> (in /home/tweisser/workspace/typo/typo) >> rake aborted! >> no such file to load -- >> >> /home/tweisser/workspace/typo/typo/config/../vendor/rails/railties/lib/initializer >> > > This sounds like the ./vendor/rails directory exists: If it exists, rails > will try to load itself from there even if you tell it to use the gem in the > configuration file. > > Can you check if this directory exists? It should be empty. If it is, can > you remove it and try again? > > Regards, > Matijs > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.weisserth at gmail.com Tue Feb 24 11:22:24 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 17:22:24 +0100 Subject: [typo] Working on a stable release from github by using local branches Message-ID: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> Hi everybody, I just want to share this with you. I find this useful, maybe this will help you too. Since typo in fdv/typo on github is a (fast)moving target, you might want to work with a stable code base to branch from. Suppose you might want to work with Typo 5.2.0, you'd clone the repository or fork it on github and clone from your fork. I did the latter and added dfv/typo as a remote on my local clone. The remote is named "vanilla_typo" in my example. First pull from dfv/typo, including tags: git pull --tags vanilla_typo master Then branch off of the tag "release_5_2_0" to "jump back in time": git checkout -b stable_5_2_0 release_5_2_0 This will create a new branch called "stable_5_2_0" next to your master branch and whatever else you created. Please note that you still might need to initialize Typo's submodules at this point. Migrations will be an issue if you already worked on the same databases with later migrations. You'll have take care of the state of your database scheme. Better yet, work on a new set of database schemes for development, tests and production. You can now edit files and commit. When you're done and you want to merge this with a current revision you can forward-merge like this: git checkout master git pull vanilla_typo master git format-patch -k -m --stdout release_5_2_0..stable_5_2_0 | git am -3 -k As I haven't used this extensively, I advice care. Maybe the git magicians reading this list can verify this or add comments. Tobias W. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cyril.mougel at gmail.com Tue Feb 24 11:39:04 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 24 Feb 2009 17:39:04 +0100 Subject: [typo] Working on a stable release from github by using local branches In-Reply-To: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> References: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> Message-ID: <49A422A8.40600@gmail> Tobias Weisserth wrote: > Hi everybody, > > I just want to share this with you. I find this useful, maybe this > will help you too. > > Since typo in fdv/typo on github is a (fast)moving target, you might > want to work with a stable code base to branch from. > > Suppose you might want to work with Typo 5.2.0, you'd clone the > repository or fork it on github and clone from your fork. I did the > latter and added dfv/typo as a remote on my local clone. The remote is > named "vanilla_typo" in my example. > > First pull from dfv/typo, including tags: > > git pull --tags vanilla_typo master > > Then branch off of the tag "release_5_2_0" to "jump back in time": > > git checkout -b stable_5_2_0 release_5_2_0 > > This will create a new branch called "stable_5_2_0" next to your > master branch and whatever else you created. > > Please note that you still might need to initialize Typo's submodules > at this point. Migrations will be an issue if you already worked on > the same databases with later migrations. You'll have take care of the > state of your database scheme. Better yet, work on a new set of > database schemes for development, tests and production. > > You can now edit files and commit. > > When you're done and you want to merge this with a current revision > you can forward-merge like this: > > git checkout master > git pull vanilla_typo master > git format-patch -k -m --stdout release_5_2_0..stable_5_2_0 | git am -3 -k > > As I haven't used this extensively, I advice care. Maybe the git > magicians reading this list can verify this or add comments. If you want you can put this explain in our wiki. http://github.com/fdv/typo/wikis Thanks -- Cyril Mougel http://blog.shingara.fr From cyril.mougel at gmail.com Tue Feb 24 11:43:39 2009 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Tue, 24 Feb 2009 17:43:39 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> <49A4069A.6040001@matijs.net> <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> Message-ID: <49A423BB.4050704@gmail> Tobias Weisserth wrote: > You are 100% right. > > vendor/rails exists and is emtpy. Deleting it magically "unlocks" > everything. > > After deleting the empty vendor/rails directory I did a "git status" > which returned no modified files. Is this git standard behaviour to > not track directories? In this case, that was the cause of a lot of > trouble. I checked out typo from github with the vendor/rails > directory existing. It would be best I guess to delete it upstream. > An empty directory is allways non-track by git. You have maybe this directory with an old manipulation, an old pull or other thing. I don't know. If you get a git clone. You don't have this directory. -- Cyril Mougel http://blog.shingara.fr From frederic at de-villamil.com Tue Feb 24 11:44:39 2009 From: frederic at de-villamil.com (=?ISO-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Tue, 24 Feb 2009 17:44:39 +0100 Subject: [typo] Matijs van Zuijlen joins Typo core team Message-ID: <082981E7-F15F-4468-92A5-B6F724A6B02F@de-villamil.com> 6 months after Cyril, I have the pleasure to welcome Matijs van Zuijlen into Typo core team, starting this morning. Matijs have been successfully commiting many interesting patches during the past months, almost all of them being merged into Typo core. He has also been active on this mailing list doing lots of support. It seemed natural to Cyril and I that he would fit in our crew. So, welcome aboard Matijs. -- Fr?d?ric de Villamil frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From tobias.weisserth at gmail.com Tue Feb 24 11:49:02 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 17:49:02 +0100 Subject: [typo] Matijs van Zuijlen joins Typo core team In-Reply-To: <082981E7-F15F-4468-92A5-B6F724A6B02F@de-villamil.com> References: <082981E7-F15F-4468-92A5-B6F724A6B02F@de-villamil.com> Message-ID: <43cee7130902240849i3f34502dp76b02ba8c0df1b1a@mail.gmail.com> Congratulations! And yes, just a couple of minutes ago, he solved a problem for me! Thanks! On Tue, Feb 24, 2009 at 5:44 PM, de Villamil Fr?d?ric < frederic at de-villamil.com> wrote: > 6 months after Cyril, I have the pleasure to welcome Matijs van Zuijlen > into Typo core team, starting this morning. > > Matijs have been successfully commiting many interesting patches during the > past months, almost all of them being merged into Typo core. He has also > been active on this mailing list doing lots of support. It seemed natural to > Cyril and I that he would fit in our crew. > > So, welcome aboard Matijs. > -- > Fr?d?ric de Villamil > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : > http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias.weisserth at gmail.com Tue Feb 24 11:50:01 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Tue, 24 Feb 2009 17:50:01 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <49A423BB.4050704@gmail> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> <49A4069A.6040001@matijs.net> <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> <49A423BB.4050704@gmail> Message-ID: <43cee7130902240850i6860ff3akad064133863d8f05@mail.gmail.com> Weird. But anyhow. It works! :-) On Tue, Feb 24, 2009 at 5:43 PM, Cyril Mougel wrote: > Tobias Weisserth wrote: > >> You are 100% right. >> >> vendor/rails exists and is emtpy. Deleting it magically "unlocks" >> everything. >> >> After deleting the empty vendor/rails directory I did a "git status" which >> returned no modified files. Is this git standard behaviour to not track >> directories? In this case, that was the cause of a lot of trouble. I checked >> out typo from github with the vendor/rails directory existing. It would be >> best I guess to delete it upstream. >> >> An empty directory is allways non-track by git. You have maybe this > directory with an old manipulation, an old pull or other thing. I don't > know. If you get a git clone. You don't have this directory. > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amol at hatwar.org Tue Feb 24 12:07:19 2009 From: amol at hatwar.org (Amol Hatwar) Date: Tue, 24 Feb 2009 22:37:19 +0530 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> <49A4069A.6040001@matijs.net> <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> Message-ID: <206C1048-63D1-4C31-A577-3D348DB333D1@hatwar.org> > > *Snip*. > > After deleting the empty vendor/rails directory I did a "git status" > which returned no modified files. Is this git standard behaviour to > not track directories? It is git standard behavior to not track empty directories... Thats why people litter .gitignore files everywhere if the directory is to be retained. > In this case, that was the cause of a lot of trouble. I checked out > typo from github with the vendor/rails directory existing. It would > be best I guess to delete it upstream. If it causes problems, I guess it indeed would be best. > > > As soon as I'm back home I am also going to update the Typo Wiki on > github as to what gems you need to have so typo will work after > checkout. Also, it will be a neat idea to require gems right in the config/ environment.rb. Recent rails have a config.gem statement that allows you to do just this -- define gem dependencies. Cheers, Amol Hatwar http://hatwar.org/epilogue/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From matijs at matijs.net Tue Feb 24 15:14:44 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 24 Feb 2009 21:14:44 +0100 Subject: [typo] being stupid with Enterprise Ruby and Typo from github In-Reply-To: <206C1048-63D1-4C31-A577-3D348DB333D1@hatwar.org> References: <43cee7130902211136s4132f2c4y34afeabbe2c5bf5f@mail.gmail.com> <49A27731.3060901@gmail> <43cee7130902231414s7e20eef7qc1337f10282dae3f@mail.gmail.com> <49A3CB54.60504@gmail> <43cee7130902240510mcf2a94id8e3ccf6970545e9@mail.gmail.com> <49A3FAF8.8030305@gmail> <43cee7130902240608j6c409034i3b4a4ca2db58fd67@mail.gmail.com> <49A4069A.6040001@matijs.net> <43cee7130902240819l1fb2335aodaf8d9bdcb1a76a6@mail.gmail.com> <206C1048-63D1-4C31-A577-3D348DB333D1@hatwar.org> Message-ID: <49A45534.5060006@matijs.net> Amol Hatwar wrote: >> In this case, that was the cause of a lot of trouble. I checked out >> typo from github with the vendor/rails directory existing. It would be >> best I guess to delete it upstream. > > If it causes problems, I guess it indeed would be best. Sadly, that has no effect on existing vendor/rails directories: Git just doesn't track directories as separate units. >> As soon as I'm back home I am also going to update the Typo Wiki on >> github as to what gems you need to have so typo will work after checkout. > > Also, it will be a neat idea to require gems right in the > config/environment.rb. Recent rails have a config.gem statement that > allows you to do just this -- define gem dependencies. config.gem is very useful, and is used for other dependencies for type, but it doesn't work properly for rspec-rails: Specifying that gem in config/environment.rb makes rails always use the test database :-(. Regards, Matijs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From tobias.weisserth at gmail.com Wed Feb 25 08:03:26 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Wed, 25 Feb 2009 14:03:26 +0100 Subject: [typo] Working on a stable release from github by using local branches In-Reply-To: <49A422A8.40600@gmail> References: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> <49A422A8.40600@gmail> Message-ID: <43cee7130902250503k165fa56cy41a36a2ac0c1b31e@mail.gmail.com> Done. On Tue, Feb 24, 2009 at 5:39 PM, Cyril Mougel wrote: > If you want you can put this explain in our wiki. > > http://github.com/fdv/typo/wikis > > Thanks > > -- > Cyril Mougel > http://blog.shingara.fr > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matijs at matijs.net Wed Feb 25 09:45:07 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Wed, 25 Feb 2009 15:45:07 +0100 Subject: [typo] Working on a stable release from github by using local branches In-Reply-To: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> References: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> Message-ID: <49A55973.40509@matijs.net> Tobias Weisserth wrote: > When you're done and you want to merge this with a current revision you > can forward-merge like this: > > git checkout master > git pull vanilla_typo master > git format-patch -k -m --stdout release_5_2_0..stable_5_2_0 | git am -3 -k > > As I haven't used this extensively, I advice care. Maybe the git > magicians reading this list can verify this or add comments. I have a comment on this part: Why not just use git merge, like so: git checkout master git pull vanilla_typo master git merge stable_5_2_0 Regards, Matijs. From tobias.weisserth at gmail.com Wed Feb 25 12:35:59 2009 From: tobias.weisserth at gmail.com (Tobias Weisserth) Date: Wed, 25 Feb 2009 18:35:59 +0100 Subject: [typo] Working on a stable release from github by using local branches In-Reply-To: <49A55973.40509@matijs.net> References: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> <49A55973.40509@matijs.net> Message-ID: <43cee7130902250935j3257769ataa588e36751d463@mail.gmail.com> You'd work on your master branch. But maybe you want to work on two parallel branches. One for production code and the other for future releases of your blog. On Wed, Feb 25, 2009 at 3:45 PM, Matijs van Zuijlen wrote: > Tobias Weisserth wrote: > >> When you're done and you want to merge this with a current revision you >> can forward-merge like this: >> >> git checkout master >> git pull vanilla_typo master >> git format-patch -k -m --stdout release_5_2_0..stable_5_2_0 | git am -3 -k >> >> As I haven't used this extensively, I advice care. Maybe the git magicians >> reading this list can verify this or add comments. >> > > I have a comment on this part: Why not just use git merge, like so: > > git checkout master > git pull vanilla_typo master > git merge stable_5_2_0 > > Regards, > Matijs. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruby-forum-incoming at andreas-s.net Fri Feb 27 18:29:22 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sat, 28 Feb 2009 00:29:22 +0100 Subject: [typo] Problem with trackbacks Message-ID: <4115ef20d4e089c3425746461b340430@ruby-forum.com> Hey guys, I have some small problems with the trackbacks generated by my own site on my own site. Weirdly the address to trackback from has one supplementary "http://:" . You can check it here: http://harryseldon.thinkosphere.com/2009/02/22/good-news-from-the-combat-against-the-crisis in the trackbacks . Moreover, as you can see, Markdown is not interpreted in the trackback, therefore that makes ugly trackbacks. Is it only on my blog ? I run Typo 5.2 (stable). And about trackbacks do they work well on external sites? I have not really tested them recently but some time ago it looked like they were not working that well. But maybe it was only me not knowing that much how to use them. Do you use them, can you confirm they are working well? Thx H -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Fri Feb 27 18:38:23 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sat, 28 Feb 2009 00:38:23 +0100 Subject: [typo] Simple Routing question Message-ID: <09e5466ca32de7e0a7092b2f69300c0e@ruby-forum.com> I have added in my blog a controller called test_it to show some graphs for OFC. The routes to reach it were simply like /test_it/index, that is old routing style. After the migration to Typo 5.2 and Rails 2.2 these routes were no longer working. So I added these routes : map.connect ':controller/:action' map.connect ':controller/:action/:id.:format' But these broke the tag route (see this post : http://www.ruby-forum.com/topic/176700#773450) Is there a simple way to activate this route just for the test_it controller ? The answer is probably simple but I don't know much about the routing system. Thx H -- Posted via http://www.ruby-forum.com/. From matijs at matijs.net Sat Feb 28 05:43:24 2009 From: matijs at matijs.net (Matijs van Zuijlen) Date: Sat, 28 Feb 2009 11:43:24 +0100 Subject: [typo] Working on a stable release from github by using local branches In-Reply-To: <43cee7130902250935j3257769ataa588e36751d463@mail.gmail.com> References: <43cee7130902240822s3ca68049x23348805b2b6a378@mail.gmail.com> <49A55973.40509@matijs.net> <43cee7130902250935j3257769ataa588e36751d463@mail.gmail.com> Message-ID: <49A9154C.6000607@matijs.net> Tobias Weisserth wrote: > You'd work on your master branch. But maybe you want to work on two > parallel branches. One for production code and the other for future > releases of your blog. Well, you can still do that. After the merge, just do git checkout stable_5_2_0 and continue working on that. > On Wed, Feb 25, 2009 at 3:45 PM, Matijs van Zuijlen > wrote: > > I have a comment on this part: Why not just use git merge, like so: > > > git checkout master > git pull vanilla_typo master > git merge stable_5_2_0 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From ruby-forum-incoming at andreas-s.net Sat Feb 28 17:02:27 2009 From: ruby-forum-incoming at andreas-s.net (Harry Seldon) Date: Sat, 28 Feb 2009 23:02:27 +0100 Subject: [typo] Typo and feedburner Message-ID: <5ae5e4c2b0786609552e9b3083fec62c@ruby-forum.com> Hey (again) guys, If you have a look at this post (1) about Rails heroes RSS feeds you will see that they all use feedburners. My question is how to use feedburner with Typo? For instance how to change the feed address that appears when clicking on the RSS logo in firefox url bar (or its equivalent in Safari)? How to change the address appearing in the syndication sidebar? Thx H -- Posted via http://www.ruby-forum.com/.