Jul31
So I'm starting on a new idea I had today, and figured now would be as best time as ever to jump back on edge.
The first hiccup I ran in to was almost immediate. Rails assumes you have ActiveResource, yet doesn't provide it when you freeze edge.
`gem_original_require': no such file to load -- active_resource
So make sure the SECOND thing you do after freezing edge is:
svn export http://dev.rubyonrails.org/svn/rails/trunk/activeresource vendor/rails/activeresource
Popularity: 4% [?]
Categories: Rails
4 Comments »
Jun23
Here's the list of gems that are included on Leopard by default.
# gem list
*** LOCAL GEMS ***
actionmailer (1.3.3)
Service layer for easy email delivery and testing.
actionpack (1.13.3)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.3)
Web service support for Action Pack.
activerecord (1.15.3)
Implements the ActiveRecord pattern for ORM.
activesupport (1.4.2)
Support and utility classes used by the Rails framework.
acts_as_ferret (0.4.0)
acts_as_ferret - Ferret based full text search for any ActiveRecord
model
capistrano (1.4.1)
Capistrano is a framework and utility for executing commands in
parallel on multiple remote machines, via SSH. The primary goal is
to simplify and automate the deployment of web applications.
cgi_multipart_eof_fix (2.1)
Fix an exploitable bug in CGI multipart parsing which affects Ruby
<= 1.8.5 when multipart boundary attribute contains a non-halting
regular expression string.
daemons (1.0.6)
A toolkit to create and control daemons in different ways
dnssd (0.6.0)
DNS Service Discovery (aka Rendezvous) API for Ruby
fastthread (1.0)
Optimized replacement for thread.rb primitives
fcgi (0.8.7)
FastCGI library for Ruby.
ferret (0.11.4)
Ruby indexing library.
gem_plugin (0.2.2)
A plugin system based only on rubygems that uses dependencies only
hpricot (0.5)
a swift, liberal HTML parser with a fantastic library
libxml-ruby (0.3.8.4)
LibXML2 bindings for Ruby
mongrel (1.0.1)
A small fast HTTP library and server that runs Rails, Camping, Nitro
and Iowa apps.
needle (1.3.0)
Needle is a Dependency Injection/Inversion of Control container for
Ruby. It supports both type-2 (setter) and type-3 (constructor)
injection. It takes advantage of the dynamic nature of Ruby to
provide a rich and flexible approach to injecting dependencies.
net-sftp (1.1.0)
Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
net-ssh (1.1.1)
Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
rails (1.2.3)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.7.3)
Ruby based make-like utility.
ruby-openid (1.1.4)
A library for consuming and serving OpenID identities.
ruby-yadis (0.3.4)
A library for performing Yadis service discovery
sources (0.0.1)
This package provides download sources for remote gem installation
sqlite3-ruby (1.2.1)
SQLite3/Ruby is a module to allow Ruby scripts to interface with a
SQLite3 database.
termios (0.9.4)
Termios module are simple wrapper for termios(3). It can be included
into IO-family classes and can extend IO-family objects. In
addition, the methods can use as module function.
Here's some of my favorite inclusions:
- Termios - Yay for password masqueing (sp?)
- ruby-openid
- hpricot - sweet!
- ferret and acts_as_ferret
Looks like no mysql, so its not 100% complete. (at least MY dev stack)
Popularity: 11% [?]
Categories: Rails, Ruby
5 Comments »
Jun19
As of the WWDC beta that was released, these are the version numbers of Ruby and friends that ship with the next version of our favorite operating system.
ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin9.0]
rails --version
Rails 1.2.3
gem --version
0.9.2
rake --version
rake, version 0.7.3
cap --version
Capistrano v1.4.1
and
mongrel is 1.01
Popularity: 4% [?]
Categories: Rails
No Comments »
Jun12
This month's CVREG meeting is tonight. We're gonna be going over the happenings of RailsConf. I
'll be giving a talk on refactoring thick RESTful controllers with make_resourcesful. Seeing that yesterday was WWDC, I didn't get much time to prepare it (YES you can ONLY prepare 1 day in advance for Ruby presentations, didn't you know?). It's going to be a live code talk so i think it'll be pretty interesting. I always prefer doing/seeing those myself.
There's no central location for the plugin so here are some links:
If you can, try to make it out. It's gonna be a good one. Oh, and of course the usual free soda and pizza, you know how we roll.
Popularity: 4% [?]
Categories: Rails
No Comments »
May16
Ok, its almost time for RailsConf. We're all packing up our goodies, and maybe cleaning up our apps to show off.
But what about doing a little coding on the plane? OMG, what if we need docs!!
Have no fear, heres how to generate your docs, to have locally.
rails fake_app
cd fake_app
rake rails:freeze:gems
rake doc:rails
Boom, there you go. Take a look in ./fake_app/docs/api and you'll see all the docs. Now your Rails docs are available locally to peruse while on the plane.
What about our Ruby docs? Just go to your Ruby library and generate the rdocs there.
cd /usr/local/lib/ruby/1.8
sudo rdoc
cp -r doc/ ~/Desktop
Nice... now you're ready to get coding on the plane over to Portland. Or on your way home, after you've been energized.
- these instructions assume Mac Os X. From what I saw last year, a safe assumption.
Popularity: 4% [?]
Categories: Rails, Ruby
2 Comments »