emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* blorgit build
@ 2010-10-14 14:14 Ezequiel Birman
  2010-10-14 22:52 ` Eric Schulte
  0 siblings, 1 reply; 7+ messages in thread
From: Ezequiel Birman @ 2010-10-14 14:14 UTC (permalink / raw)
  To: emacs-orgmode


I cloned from the repo and after 'rake new'

> rake aborted!
> undefined method `tableize' for "Blog":String
> ./backend/active_file/lib/active_file/base.rb:17:in `inherited'
> ./backend/blog.rb:1
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> ./backend/init.rb:3
> ./backend/init.rb:3:in `each'
> ./backend/init.rb:3
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> ./blorgit.rb:9
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
> /home/stormwatch/src/blorgit/Rakefile:1
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
> /usr/bin/rake:19:in `load'
> /usr/bin/rake:19

and line no. 17 of base.rb reads:

    > base.location = [base.name.tableize.to_s, "*"]

Could anyone with Ruby skills help me please?

Is blorgit still developed?


-- 
Ezequiel Birman

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: blorgit build
  2010-10-14 14:14 blorgit build Ezequiel Birman
@ 2010-10-14 22:52 ` Eric Schulte
  2010-10-17 13:40   ` Michaël Parienti
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Schulte @ 2010-10-14 22:52 UTC (permalink / raw)
  To: Ezequiel Birman; +Cc: emacs-orgmode

Hi Ezequiel,

I haven't touched the blorgit code for probably over a year.  That said
I have been using blorgit locally without problem.

Although the error you pasted doesn't raise any immediate flags for me I
can give my boilerplate question of "did you install the git
submodules"?  If not, then run

 git submodule init
 git submodule update

in the base of the blorgit repo, and give it another try.

This could also be caused by changes to ruby since blorgit was last
updated, in which case I may be able to take a look and see if I can fix
it, but it's been almost a year since I've done any ruby programming, so
this make not happen quickly...

Best -- Eric

Ezequiel Birman <stormwatch@espiga4.com.ar> writes:

> I cloned from the repo and after 'rake new'
>
>> rake aborted!
>> undefined method `tableize' for "Blog":String
>> ./backend/active_file/lib/active_file/base.rb:17:in `inherited'
>> ./backend/blog.rb:1
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>> ./backend/init.rb:3
>> ./backend/init.rb:3:in `each'
>> ./backend/init.rb:3
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>> ./blorgit.rb:9
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>> /home/stormwatch/src/blorgit/Rakefile:1
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
>> /usr/bin/rake:19:in `load'
>> /usr/bin/rake:19
>
> and line no. 17 of base.rb reads:
>
>     > base.location = [base.name.tableize.to_s, "*"]
>
> Could anyone with Ruby skills help me please?
>
> Is blorgit still developed?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: blorgit build
  2010-10-14 22:52 ` Eric Schulte
@ 2010-10-17 13:40   ` Michaël Parienti
  2010-10-17 18:48     ` Eric Schulte
  0 siblings, 1 reply; 7+ messages in thread
From: Michaël Parienti @ 2010-10-17 13:40 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

On Thu, 14 Oct 2010 16:52:05 -0600
"Eric Schulte" <schulte.eric@gmail.com> wrote:

> If not, then run
> 
>  git submodule init
>  git submodule update
> 
> in the base of the blorgit repo, and give it another try.

I got exactly the same error message as Ezequiel Birman, and I did
install the  submodule with these commands.


> This could also be caused by changes to ruby since blorgit was last
> updated, in which case I may be able to take a look and see if I can
> fix it, but it's been almost a year since I've done any ruby
> programming, so this make not happen quickly...

I hope it will be easy to fix, because blorgit is really useful. I use
org-mode for several years, coupled with git. Now I need to share the
editing of some pages. A web interface is the more convenient way to do
it.

Regards


-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: blorgit build
  2010-10-17 13:40   ` Michaël Parienti
@ 2010-10-17 18:48     ` Eric Schulte
  2010-10-17 20:01       ` Michaël Parienti
  2010-10-26 22:00       ` Ezequiel Birman
  0 siblings, 2 replies; 7+ messages in thread
From: Eric Schulte @ 2010-10-17 18:48 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: emacs-orgmode

Hi,

I've fixed these issues, a classic bitrot situation due to breaking
changes in upstream requirements.  After pulling down the latest from
git and updating the submodules blorgit should once again be working.

If I had the time I'd love to re-write this in Clojure so that a single
jar file could be downloaded and run directly without having to worry
about installing the entire ruby stack locally.

Best -- Eric

Michaël Parienti <michael@parienti.name> writes:

> Hi,
>
> On Thu, 14 Oct 2010 16:52:05 -0600
> "Eric Schulte" <schulte.eric@gmail.com> wrote:
>
>> If not, then run
>> 
>>  git submodule init
>>  git submodule update
>> 
>> in the base of the blorgit repo, and give it another try.
>
> I got exactly the same error message as Ezequiel Birman, and I did
> install the  submodule with these commands.
>
>
>> This could also be caused by changes to ruby since blorgit was last
>> updated, in which case I may be able to take a look and see if I can
>> fix it, but it's been almost a year since I've done any ruby
>> programming, so this make not happen quickly...
>
> I hope it will be easy to fix, because blorgit is really useful. I use
> org-mode for several years, coupled with git. Now I need to share the
> editing of some pages. A web interface is the more convenient way to do
> it.
>
> Regards

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: blorgit build
  2010-10-17 18:48     ` Eric Schulte
@ 2010-10-17 20:01       ` Michaël Parienti
  2010-10-26 22:00       ` Ezequiel Birman
  1 sibling, 0 replies; 7+ messages in thread
From: Michaël Parienti @ 2010-10-17 20:01 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

Hi,

On Sun, 17 Oct 2010 12:48:15 -0600
"Eric Schulte" <schulte.eric@gmail.com> wrote:

> I've fixed these issues, a classic bitrot situation due to breaking
> changes in upstream requirements.  After pulling down the latest from
> git and updating the submodules blorgit should once again be working.
> 
> If I had the time I'd love to re-write this in Clojure so that a
> single jar file could be downloaded and run directly without having
> to worry about installing the entire ruby stack locally.

Thanks a lot, it works now.


Regards


-- 
Michaël Parienti
gpg:        D4C8 F73D A000 71C7 44EF  27E6 8982 4991 7126 3CE3

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: blorgit build
  2010-10-17 18:48     ` Eric Schulte
  2010-10-17 20:01       ` Michaël Parienti
@ 2010-10-26 22:00       ` Ezequiel Birman
  2010-10-28 15:05         ` Eric Schulte
  1 sibling, 1 reply; 7+ messages in thread
From: Ezequiel Birman @ 2010-10-26 22:00 UTC (permalink / raw)
  To: emacs-orgmode

Thanks, it works now though I am not sure about the best way to load
emacs. Nowadays I use 'emacsclient -c' and let it handle the process of
starting the daemon but

1. Should I let org-interaction.el start the server from now on?
(eg. by loading it in my .emacs)

2. Should I start another emacs instance just for blorgit?

3. Would it be convenient to create a new user to run this dedicated
emacs instance and blorgit at system startup?

-- 
Ezequiel Birman

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: blorgit build
  2010-10-26 22:00       ` Ezequiel Birman
@ 2010-10-28 15:05         ` Eric Schulte
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Schulte @ 2010-10-28 15:05 UTC (permalink / raw)
  To: Ezequiel Birman; +Cc: emacs-orgmode

Hi Ezequiel,

Ezequiel Birman <stormwatch@espiga4.com.ar> writes:

> Thanks, it works now though I am not sure about the best way to load
> emacs. Nowadays I use 'emacsclient -c' and let it handle the process of
> starting the daemon but
>
> 1. Should I let org-interaction.el start the server from now on?
>    (eg. by loading it in my .emacs)
>

That's what I do.

>
> 2. Should I start another emacs instance just for blorgit?
>

I tend to run it on a remote server, in which case I run it inside of
gnu screen which allows for a persistent graphical session to Emacs even
if I'm disconnected from the server.  (see
http://orgmode.org/worg/blorgit.php#sec-3_5)

>
> 3. Would it be convenient to create a new user to run this dedicated
>    emacs instance and blorgit at system startup?

Hmm, I could see that working.  If you manage to put together a working
setup along these lines it would be nice if you could add the
instructions to the blorgit page on Worg.

Best -- Eric

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-28 15:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 14:14 blorgit build Ezequiel Birman
2010-10-14 22:52 ` Eric Schulte
2010-10-17 13:40   ` Michaël Parienti
2010-10-17 18:48     ` Eric Schulte
2010-10-17 20:01       ` Michaël Parienti
2010-10-26 22:00       ` Ezequiel Birman
2010-10-28 15:05         ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).