installation woes

4 views
Skip to first unread message

dan

unread,
Nov 29, 2010, 8:00:39 PM11/29/10
to adva-cms
i was following the readme and everything was going nicely on my fresh
ubuntu vm until:

===========
...
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
dan@linux-cms:~/sites/adva-cms2$ ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]
dan@linux-cms:~/sites/adva-cms2$ rails -v
Rails 3.0.3
dan@linux-cms:~/sites/adva-cms2$ thor adva:cms ~/sites/cms
/usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/runner.rb:34:in
`method_missing': undefined method `start' for nil:NilClass
(NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in
`send'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in
`run'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:108:in
`run'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:
118:in `invoke_task'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in
`dispatch'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in
`start'
from /usr/lib/ruby/gems/1.8/gems/thor-0.14.6/bin/thor:6
from /usr/bin/thor:19:in `load'
from /usr/bin/thor:19
dan@linux-cms:~/sites/adva-cms2$

===========

when trying to create an app, i get issues with thor, method_missing
start

christopher floess

unread,
Nov 30, 2010, 3:19:16 AM11/30/10
to adva...@googlegroups.com
Hi Dan,

see below

On 11/30/2010 02:00 AM, dan wrote:
> i was following the readme and everything was going nicely on my fresh
> ubuntu vm until:
>
> ===========
> ...
> Your bundle is complete! Use `bundle show [gemname]` to see where a
> bundled gem is installed.
> dan@linux-cms:~/sites/adva-cms2$ ruby -v
> ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]
> dan@linux-cms:~/sites/adva-cms2$ rails -v
> Rails 3.0.3
> dan@linux-cms:~/sites/adva-cms2$ thor adva:cms ~/sites/cms

Is this a copy/paste error or did you actually run 'thor adva:cms ...."

I assume that you're trying to generate an app. In that case, then the
command should be 'thor adva:app ../relative_path/to/some/directory'

Also, please note, that the path to the app should be relative. At the
moment the generator doesn't handle absolute paths, and I think that
'~/sites/cms' will expand to a relative path.

Okay, I hope that helps, if you still have problems, just check back.

-- Chris

dan

unread,
Nov 30, 2010, 11:14:11 AM11/30/10
to adva-cms
oohhh...app is actually 'app' not 'your app name goes here'
i ran with this : thor adva:app ../cms and everything is working well
now

thanks for the help and the app!
Reply all
Reply to author
Forward
0 new messages