Kenyth Zeng's Library tagged → View Popular
05 Nov 09
Blog post - danopia
-
Short, or at least shorter than FedOne. The main file is 865 lines (including blanks/comments) as of this post; the code that interacts with XMPP is <400 lines; all the logic from the WebUI is 75 lines. The little Telnet server is 50 lines, 15 of which actually involve printing the wave list to the console.
29 Sep 09
Getting Started with Rails
-
Rails is opinionated software. That is, it assumes that there is a best way to do things, and it’s designed to encourage that best way – and in some cases to discourage alternatives.
-
Rails is opinionated software. That is, it assumes that there is a best way to do things, and it’s designed to encourage that best way
- 37 more annotations...
Ruby: No Such File to Load: net/https : ob.blog
-
…/custom_require.rb:27:in `gem_original_require’: no such file to load — net/https (MissingSourceFile)If you get this error when getting your Rails app up and running under Ubuntu (Dapper in my case) it means you still need to install the
libopenssl-rubylibrary:
View topic - Rails and Ruby 1.9 problem :: For Linux & Unix Server Administrators and Developers :: BlueQuartz.US
-
What wrong:
# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/ur i.rb:8:in
Don't use 1.9.0 - it's an unstable development version. The first
stable version of ruby 1.9 is 1.9.1
Installing Ruby on Rails on Debian/Ubuntu => Rails Wiki
-
It is possible to install RubyGems using apt-get. However, this is not recommended.
Michael Greenly: Rails Development On Ubuntu
-
Next install RubyGems from source because the Ubuntu packages are usually not current. I also prefer to install RubyGems into my $HOME directory because mixing source packages in with distribution managed packages is generally a bad idea.
setup.rb
setup.rb is a generic installer for ruby scripts and libraries. You can use setup.rb to install your any ruby programs.
-
setup.rb is a generic installer for ruby scripts and libraries.
You can use setup.rb to install your any ruby programs.
Ruby mixins, modules, require and include
-
A Ruby "mixin" is a way of adding extra code from a module into a class - thus giving the programmer the ability to share code between a number of classes in a way that's in addition to inheritance.
-
require is used to load in a file (which probably contains a module) and include then brings its namespace into the current namespace.
26 Sep 09
Dead Programmer Society: Ruby Blocks, Closures, and Continuations
-
Blocks are basically nameless functions...Basically, you can pass a nameless function to another function, and then that function can invoke the passed-in nameless function.
-
in Ruby, any method can be called with a block as an implicit argument. Inside the method, you can call the block using the yield keyword with a value.
- 8 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in ruby
Related Lists on Diigo
-
Rspec Intro
RSpec is a Behaviour Driven...
Items: 11 | Visits: 234
Created by: Vincent Tsao
-
Ruby Stduy
start to study ruby
Items: 18 | Visits: 106
Created by: swan lin
-
ror-project
Items: 1 | Visits: 104
Created by: A. D.
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
