11 Apr '13, 3am

If you're building a new Ruby gem, spare yourself a bunch of time and avoid hoe. Bundler is the way to go.

If you're creating a gem from scratch, you can use bundler's built in gem skeleton to create a base gem for you to edit. $ bundle gem my_gem This will create a new directory named my_gem with your new gem skeleton. If you already have a gem with a gemspec, you can generate a Gemfile for your gem. $ bundle init Then, add the following to your new Gemfile gemspec Runtime dependencies in your gemspec are treated like base dependencies, and development dependencies are added by default to the group, :development . You can change that group with the :development_group option gemspec : development_group => : dev As well, you can point to a specific gemspec using :path . If your gemspec is in /gemspec/path , use gemspec : path => ' /gemspec/path' If you have multiple gemspecs in the same directory, specify which one you'd like to reference using :name gemspec : name => ' my_aweso...

Full article: http://gembundler.com/v1.3/rubygems.html

Tweets

I've considered moving from RVM to rbenv, as Bu...

robots.thoughtbot.com 11 Apr '13, 2pm

April 6, 2013 lailawinner rvm rbenv ruby Using rbenv to manage rubies and gems We recently switched from RVM to rbenv for ...

@cosmo__ ruby '1.9.3' とか。

gembundler.com 05 Apr '13, 2pm

Like gems, developers can setup a dependency on Ruby. This makes your app fail faster in case you depend on specific featu...

How to make #ruby bundler use local checkouts i...

gembundler.com 18 Apr '13, 7am

Now instead of checking out the remote git repository, the local override will be used. Similar to a path source, every ti...

Ruby Weekly issue 140 is out:

rubyweekly.com 11 Apr '13, 2pm

Working With Ruby Threads E-book Released Jesse Storimer, author of Working with Unix Processes and Working with TCP Socke...

"XML is like violence - if it doesn’t solve you...

nokogiri.org 12 Apr '13, 5pm

Nokogiri::CSS::Tokenizer::ScanError Nokogiri::Decorators Nokogiri::Decorators::Slop Nokogiri::EncodingHandler Nokogiri::HT...

@tkaemming just doin’ what they tell me to

gembundler.com 04 Apr '13, 8pm

Rails 3 comes with baked in support with bundler. Using Bundler with Rails 3 Install Rails as you normally would. Use sudo...

@RobotDeathSquad platforms

gembundler.com 11 Apr '13, 7pm

# setup adds gems to Ruby's load path Bundler.setup # defaults to all groups require "bundler/setup" # same as Bundler.set...

Using rbenv to manage rubies and gems

robots.thoughtbot.com 06 Apr '13, 2pm

April 6, 2013 lailawinner rvm rbenv ruby Using rbenv to manage rubies and gems We recently switched from RVM to rbenv for ...

BLOG UPDATED: WeChat Malaysia – The New Way To Connect (Launch Party)

BLOG UPDATED: WeChat Malaysia – The New Way To ...

mynjayz.com 10 Apr '13, 6am

WeChat is a mobile phone text and voice messaging communication service developed by Tencent in China. WeChat provides mul...

Ruby Matrix, the Forgotten Library

rubylearning.com 04 Apr '13, 3am

Ruby Matrix, the Forgotten Library This guest post is contributed by Matthew Kirk , who is a partner at Modulus 7 , specia...

@andypike yeah that's what I thought. I'm a rub...

fabiokung.com 07 Apr '13, 2pm

Great article! And apparently you are not alone thinking about this in a non-Java world. In Scala people talk about those ...

Кстати, список «Concurrent Programming and Thre...

rubyweekly.com 05 Apr '13, 12pm

Securing Your Rails Application: A Webinar (April 9) On Tuesday, April 9th at 9AM Pacific Time, Bryan Helmkamp will be giv...

Barcelona Ruby Conference - They are coming...

rubyflow.com 08 Apr '13, 8am

Barcelona Ruby Conference - They are coming... Posted by codegram on April 08, 2013 — 0 comments Check out our hyper-reali...

API with Ruby on Rails: useful tricks

rubyflow.com 08 Apr '13, 4pm

API with Ruby on Rails: useful tricks Posted by gregolsen on April 08, 2013 — 0 comments I've just published a blog post a...