After 2 years at the kudelabs office, gzruby has outgrown our humble common room. We have decided to move to a new venue - one with more space, and we think it will be a lot more fun! As always, gzruby is about getting a bunch of people together to talk about what we all do for a living. Its a chance to learn from each other, and find ways to improve our craft. If you are a ruby developer who has never attended, its like finding a new group of friends that you never knew you had.
View the invitation at the gzruby home page
The new venue is close to our office, close to Zhu Jiang New Town, and features hand-crafted beers made by one of Kudelab's former interns!
GZRUBY10 will be held at the Kudelabs offices this wednesday evening, starting at 7:30. GZRUBY is a gathering of ruby developers, Kudelabs is one of the sponsors along with other ruby development companies in the city. Its always a lot of fun and a great chance to meet up and talk web development. Find out more at the Guangzhou Ruby Group page.
StartupGrind is a global network of startup communities that was established to educate, inspire, and connect entrepreneurs in the city. Here in Guangzhou, we see it as a way to connect the English speaking world with the Chinese startup ecosystem. The second event features founder Clement Song, who founded eCitySky and successfully completed an acquisition to YY Inc. He's now with YY as the Directory of Platforms and Services, and was able to experience an IPO first hand. Find out more at StartupGrind Guangzhou Meetup page.
The 9th gzruby meetup will be coming to the kudelabs offices in Guangzhou next Wednesday, November 21st at 7PM. We'd love to see you there! You'll meet several members from the growing Ruby community in our city, and have a chance to present an idea you're working on or a gem you use. Feel free to invite anyone who may be interested in ruby, or learning more about Ruby on Rails.
gzruby is the Guangzhou Ruby User's group, we meet once every 2 months to share tips and techniques, as well as show off recent projects.
As those of us living and working in China know,sometimes the internet can be troublesome . At some point last month, installing gems from the command line - something we do almost every day if not many times a day - no longer worked seamlessly. For whatever unknown reason, the rubygems production server is currently inaccessible or extremely unstable from within mainland China.
In discussions with the gzruby group, we tried to find workable solutions to this problem. One idea is to set up a reverse proxy. This solves the issue, but installing gems is still really slow. Another proposal is to set up a mirror, as described in this post by sachin. But rather than set up a local server, why not set up the proxy somewhere the greater community can use it.
Thus, gems.gzruby.org was born.
Add the following line to your Gemfile:
And change your ~/.gemrc to something like this:
--- :sources: - http://gems.gzruby.org/ gem: --no-rdoc --no-ri
The app itself is a simple rack app that either serves a cached version of the gem, or fetches the gem from production.cf.rubygems.org. So the server on which you install must have access to this address.
If you already have a rails server running passenger on any VPS outside of china, setup is very easy. Simply clone the project into a new directory, and add a config to apache or nginx just as you would for any rails app.
Thanks to everyone who attended the gzruby meetup last wednesday night. It was great to get a chance to meet up with our ruby friends and we also met a lot of new people. It‘s exciting to see how the community is growing as we gain new members and introduce more people to the joys of ruby.
The presentations included:
- Launch of http://gems.gzruby.org, the GZRUBY rubygems mirror
- Real Life Rails Scaling, by Seb. Scaling your app, your team ... yourself. (slides)
- method_proxy - some fun with ruby's dynamic programming, by Jev. A look at how we can utilize ruby's meta-programming features to get deep insight into our code. (method_proxy sample code, slides)
- Cloud Service API design, by Chance Jiang
Really looking forward to the next meeting, planned for Jan 18, 2012! See you all next year.
Photo by littlepxy
Last week we had another great Rails on Campus session with the students at South China Agriculture University 华南农业大学. Again, it is really great to see how motivated the students are. We are really impressed with their level of knowledge in web-development and how quickly they can pick up the topics we cover.
上周我们与华南农业大学的同学们度过了一个愉快的周末 -- Rails on Campus 的第二次活动。 非常高兴能够再一次感受到同学们的积极。大家对网页开发的扎实知识以及对新知识的快速吸收能力，给我们留下了深刻的印象。
This week the lesson covered the following topics:
- Review Rails app structure, rails commands to create the DB and start the app
- Basic resources and RESTful routes: index, show, create
- Adding an ActiveRecord association: belongsto, hasmany
- ActionView#form_for and building a nested form
We did this by adding a replies feature to our simple miniblog app. To follow along, you can grab the code at github RoC Lab #2.
Rails on Campus is a program started by Leon Du and Shaokun Wu, 2 ruby developers in Guangzhou, China. The idea is to build a good set of material for introduction courses that can be used to teach Rails on college campuses. College students are often not exposed to newer technology, and are left to learn on the job. The goal of this program is to introduce students to the world of open source development frameworks to help prepare them for a good job.
Rails on Campus是由中国广州两位Ruby 开发者， Leon Du和Shaokun Wu 发起的。活动的初衷是为大学Rails的教学积淀一些有价值的学习材料。大学学生接触新技术的机会不十分多，而常常要上到工作岗位才开始学习。希望通过这次活动，可以为同学们带来更多开源的开发框架，以此为将来的好工作更好地准备自己。
Rails on Campus is sponsored by:
Rails on Campus的赞助团队有：
时间过得飞快，Rubyist party 又来了，你准备好了吗？ 有主题想分享的同学请踊跃回复啦！
时间：23/11, 7:30 PM
地图：Kudelabs 明月一路59号, 汉苑 西塔601室
How time flies, it's party time again, are you ready?
Anyone want to share something, please reply!
When: 23/11, 7:30 PM
Where: Kudelabs, 明月一路59号, 汉苑 西塔601室
Metro: Exit A Wuyangcun station
So far, we have a few talks planned: @shaokun will talk about Rails Engines. @seb will discuss large scale rails apps and scaling issues, and @adevadeh will talk about solving the rubygems problem.
The second meeting of the gzruby group will be held in the Kudelabs Offices Wed, Sept 21 at 7:30PM.
Anyone in GZ who uses ruby, or is interested in ruby is invited!
For more information, join the mailing list: http://groups.google.com/group/gzruby
本周三我们将会在老地方（Kudelabs）迎来又一个Rubyist party，大家准备好了吗？ 为了照顾大家出行，避开下班高峰期，我们决定这次聚会稍晚（晚7:30）开始， 以便大家就餐，来到后可以直接进入主题进行讨论。 聚会预计持续1.5小时，出去开场介绍和自由讨论之外，应该有一个小时左右留给大家做发言， 目前我们已经有来自Sooyoung团队的Padrino主题，此外我们团队也将带来一个主题， 分享我们项目开发过程中使用的一些gem/工具，现在还留有时间可以准备1-2个主题， 大家有想来做分享的请踊跃回帖阿！
Hi all dear rubyist in GZ, it's party time again!
We'll have the next rubyist party on Wednesday(21th Sept) this week at 7:30 pm, same place at Kudelabs. To make it more convenient to all of us, we decide to get start a little later, so everyone can have dinner before come to the party, then we can get straight into the topics faster. We planned to have the event last in around 1.5 hrs, endding at around 9:00 pm, before everyone is sleepy ;-) besides the introduction/public discuss section, we should have about 1 hours for topics. We've already had Padrino from Sooyoung's team, our team will share a topic, something like "share our toolbox", so we still have time for 1-2 topics, if you have something to share, please post it here :)