Heroku and Ruby Sets

So I'm building a Rails app and I was making use of the Set class that Ruby provides (docs here: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/set/rdoc/Set.html).

In my code I have:

require 'Set'

and everything runs well locally.

However, Heroku seems to stumble, giving the error:

LoadError (cannot load such file -- Set)

I have tried googling but the broadness of the word "Set" seems to contaminate my results. Is there any way to setup Heroku to allow me to use the Set datatype?

Thanks!

Answers


You should simply do:

require 'set'

Libs shouldn't be capitalized.


Need Your Help

How to send drawable to twitter intent in android

android android-intent twitter

I have made an android app ,I want to share a drawable to twitter,Currently I have done this way for text,But can any buddy tell me how to attach image to intent to share via twitter ,Thank you in

Jquery in Multi Select Drop down list

javascript jquery asp.net

I have put myself together a multiple select drop down list user control that looks like this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.