From jon at endpoint.com Thu Aug 12 00:35:27 2010 From: jon at endpoint.com (Jon Jensen) Date: Wed, 11 Aug 2010 22:35:27 -0600 (MDT) Subject: [typo] Write-up on upgrade from 5.3 to 5.5 Message-ID: Hi, everyone. First, thanks to the authors of Typo. I'm sure it been a lot of work over the years! I just wrote a blog post that is really mostly about trying out nginx + Unicorn for deployment instead of Apache + Passenger, but also about upgrading Typo and Rails: http://blog.endpoint.com/2010/08/ruby-on-rails-typo-blog-upgrade.html One point that may be of interest to list readers is the need to stick with an older version of sqlite3-ruby on RHEL 5. Exact installation commands are there. HTH, Jon -- Jon Jensen End Point Corporation http://www.endpoint.com/ From frederic at de-villamil.com Tue Aug 17 09:07:52 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Tue, 17 Aug 2010 15:07:52 +0200 Subject: [typo] Write-up on upgrade from 5.3 to 5.5 In-Reply-To: References: Message-ID: Le 12 ao?t 2010 ? 06:35, Jon Jensen a ?crit : > Hi, everyone. > > First, thanks to the authors of Typo. I'm sure it been a lot of work over the years! > > I just wrote a blog post that is really mostly about trying out nginx + Unicorn for deployment instead of Apache + Passenger, but also about upgrading Typo and Rails: > > http://blog.endpoint.com/2010/08/ruby-on-rails-typo-blog-upgrade.html > > One point that may be of interest to list readers is the need to stick with an older version of sqlite3-ruby on RHEL 5. Exact installation commands are there. > > HTH, > Jon > > Hi Jon, Thank you for writing about this, having some users feedback and up to date documentation is always nice. Too bad your blog isn't running Typo ;-) BTW I really loved your 2 articles comparing Spree and Magento feature. I just used it on a project here. Cheer, Fred / neuro` -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From jon at endpoint.com Tue Aug 17 18:51:21 2010 From: jon at endpoint.com (Jon Jensen) Date: Tue, 17 Aug 2010 16:51:21 -0600 (MDT) Subject: [typo] Write-up on upgrade from 5.3 to 5.5 In-Reply-To: References: Message-ID: On Tue, 17 Aug 2010, de Villamil Fr?d?ric wrote: >> I just wrote a blog post that is really mostly about trying out nginx + >> Unicorn for deployment instead of Apache + Passenger, but also about >> upgrading Typo and Rails: >> >> http://blog.endpoint.com/2010/08/ruby-on-rails-typo-blog-upgrade.html >> >> One point that may be of interest to list readers is the need to stick >> with an older version of sqlite3-ruby on RHEL 5. Exact installation >> commands are there. > > Thank you for writing about this, having some users feedback and up to > date documentation is always nice. Too bad your blog isn't running Typo > ;-) Yeah, that blog is on Blogger, but here's the Typo blog I was talking about that I upgraded: http://erin.zayda.net/ > BTW I really loved your 2 articles comparing Spree and Magento feature. > I just used it on a project here. Oh, that's good to hear. It was by my co-worker Steph Powell. So did you end up using Spree or Magento for your current project? Jon -- Jon Jensen End Point Corporation http://www.endpoint.com/ From ruby-forum-incoming at andreas-s.net Wed Aug 18 19:44:49 2010 From: ruby-forum-incoming at andreas-s.net (Tim Sitnikov) Date: Thu, 19 Aug 2010 01:44:49 +0200 Subject: [typo] Integrating typo into website Message-ID: <8d5c48579e5c35c631131303289c3fc9@ruby-forum.com> Is there a way to integrate typo into web site? I would like most of my pages to have other content, and one of my pages would have the Typo blog but it would use my layout and typo blog would be inserted into it, similar to how <%= yield %> inserts content. Or is there software better suited for this. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Aug 22 23:31:59 2010 From: ruby-forum-incoming at andreas-s.net (Allan Bowhill) Date: Mon, 23 Aug 2010 05:31:59 +0200 Subject: [typo] db:create gives "Unknown database" In-Reply-To: References: Message-ID: <59a135b92df0cbb2c56020540fbff7c2@ruby-forum.com> Lark Dark wrote: > 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' >> I am new to Rails and Ruby and I've had a similar problem with a remote copy of mysql running on a non-dns server on my internal home network. 192.168.0.101 is my Win7 Ruby development environment and a mysql server is running on 192.168.0.103 on a FreeBSD machine. I have the following settings in database.yml: development: adapter: mysql encoding: utf8 reconnect: false database: myapp_development pool: 5 username: mysql host: !str "192.168.0.103" password: port: 3306 I had a number of problems connecting to mysql when both were installed on Win7, in fact so many that I moved the server to UNIX. Using SQLite works fine, but I wanted to try MySQL. The first problem I had connecting was the IP address not being picked up by the YAML configuration file. After hours of haggling with various things, I found [!str "192.168.0.103"] works in converting the IP address to a proper string. http://yaml.org/YAML_for_ruby.html was a useful resource, since I am new to it. The second problem I had was in thinking "rake db:migrate" would create the database for me. But reading advice in this forum, I created it manually and that seemed to do the trick. Tables got created in it. Most people here probably already know this stuff but I thought I would post my experience anyway since it has been an all-day affair to fix. -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Sun Aug 22 23:37:07 2010 From: ruby-forum-incoming at andreas-s.net (Allan Bowhill) Date: Mon, 23 Aug 2010 05:37:07 +0200 Subject: [typo] db:create gives "Unknown database" In-Reply-To: <59a135b92df0cbb2c56020540fbff7c2@ruby-forum.com> References: <59a135b92df0cbb2c56020540fbff7c2@ruby-forum.com> Message-ID: <5e0bb260f6ac4217531025a0b31086e2@ruby-forum.com> Allan Bowhill wrote: > Lark Dark wrote: >> 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' >>> > > I am new to Rails and Ruby and I've had a similar problem with a remote > copy of mysql running on a non-dns server on my internal home network. > 192.168.0.101 is my Win7 Ruby development environment and a mysql server > is running on 192.168.0.103 on a FreeBSD machine. > > I have the following settings in database.yml: > > development: > adapter: mysql > encoding: utf8 Oh, one more thing. To get the connections going I had to download an older version of libmySQL.dll from Oracle's website and installed it in the /bin directory of my Ruby installation. The dll was version 5.1.x and the server is also 5.1.x and I think that solved the connection problem. -- Posted via http://www.ruby-forum.com/.