[typo] Cannot install typo directory with rev 1528

Marc Chung mchung at gmail.com
Fri Sep 21 14:14:44 EDT 2007


Hi all,

I'm using typo from trunk (rev 1528) and I'm running into the following problem:

$ pwd
~/mchung-workspace/typo-trunk
$ ./bin/typo install ../SuperBlog.com cwd

<Snipped copy log>
 ...
  copying /vendor/uuidtools/install.rb
  copying /vendor/uuidtools/lib/uuidtools.rb
  copying /vendor/uuidtools/rakefile
/opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:377:in
`rails_version_to_freeze': undefined method `first' for nil:NilClass
(NoMethodError)
        from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:388:in
`freeze_rails'
        from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:209:in
`install_sequence'
        from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in
`install'
        from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in
`command'
        from /opt/local/lib/ruby/gems/1.8/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:647:in
`execute_command'
        from ./bin/typo:38

I took a look around rails-installer.rb and it looks like
@install_version is nil (It doesn't look like it's set since I'm using
'cwd' and find_source_directory returns right away).

I don't have any typo gem installed.

Is this a bug, or am I forgetting to set something else up?

Thanks for your help.

-Marc


More information about the Typo-list mailing list