Forum: Nitro gem_original_require': no such file to load -- blow/json (LoadError)

Posted by Reid Thompson (Guest)
on 2007-12-05 18:03
(Received via mailing list)
Trying to run the blog demo, can someone tell me what I'm missing?

rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ nitro
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require': no such file to load -- blow/json (LoadError)


Thanks,
reid
Posted by Trans (Guest)
on 2007-12-05 19:04
(Received via mailing list)
On Dec 5, 11:59 am, Reid Thompson <Reid.Thomp...@ateb.com> wrote:
> Trying to run the blog demo, can someone tell me what I'm missing?
>
> rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ nitro
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- blow/json (LoadError)

  gem install blow

Note: blow is about to get a new release here in a day or so.

T.
Posted by Reid Thompson (Guest)
on 2007-12-05 20:29
(Received via mailing list)
On Wed, 2007-12-05 at 10:00 -0800, Trans wrote:
> 
> T.
> _______________________________________________
> Nitro-general mailing list
> Nitro-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

Thanks,,....
next issue...

rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ ruby 
./app.rb
REPO_ROOT is /home/rthompso/src/repo.nitroproject.org/script/lib/../..
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require': no such file to load -- part/admin (LoadError)
        from 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from ./app.rb:11
rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ env|grep -i 
NITRO
OLDPWD=/home/rthompso/src/repo.nitroproject.org
NITRO_HOME=/home/rthompso/src/repo.nitroproject.org
PATH=/home/rthompso/src/repo.nitroproject.org/nitro/bin:/home/rthompso/bin:/usr/lib/ccache/bin:/usr/lib/ccache/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/ghc/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/Adbobe/Reader8/bin:/opt/fltk/bin:/opt/dillo/bin:/usr/games/bin:/opt/vmware/server/console/bin:/var/spool/fax/bin:/opt/snav/bin:/home/rthompso/bin/eclipse:/home/rthompso/netbeans-6.0-200710020000/bin/:/usr/libexec/cssc
PWD=/home/rthompso/src/repo.nitroproject.org/nitro/demo/blog
rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ env|grep 
RUBYOPT
RUBYOPT=-rubygems
rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $
Posted by Arne Brasseur (Guest)
on 2007-12-06 08:17
(Received via mailing list)
Reid Thompson schreef:
>   
Try this:

RUBYOPT="-rubygems -I$NITRO_HOME" ruby app.rb

(ab)

> Nitro-general mailing list
> Nitro-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
>   


--
Arne Brasseur
http://www.arnebrasseur.net
http://www.zhongwiki.com
http://www.bankske.org
arne@arnebrasseur.net
Posted by Reid Thompson (Guest)
on 2007-12-06 13:35
(Received via mailing list)
On Thu, 2007-12-06 at 15:14 +0800, Arne Brasseur wrote:
> >         from ./app.rb:11
> >   
> Try this:
> 
> RUBYOPT="-rubygems -I$NITRO_HOME" ruby app.rb
> 
rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ 
RUBYOPT="-rubygems -I$NITRO_HOME" ruby app.rb
REPO_ROOT is /home/rthompso/src/repo.nitroproject.org/script/lib/../..
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in 
`gem_original_require': no such file to load -- part/admin (LoadError)
        from 
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from app.rb:11

rthompso@raker ~/src/repo.nitroproject.org/nitro/demo/blog $ echo 
$NITRO_HOME
/home/rthompso/src/repo.nitroproject.org

rthompso@raker ~/src/repo.nitroproject.org $ pwd
/home/rthompso/src/repo.nitroproject.org

rthompso@raker ~/src/repo.nitroproject.org $ ls -lrt
total 8
drwxr-xr-x 7 rthompso staff 216 Dec  5 12:11 _darcs
drwxr-xr-x 2 rthompso staff 240 Dec  5 12:11 rake_tasks
-rw-r--r-- 1 rthompso staff  46 Dec  5 12:11 Rakefile
drwxr-xr-x 3 rthompso staff  96 Dec  5 12:11 script
drwxr-xr-x 8 rthompso staff 280 Dec  5 12:11 raw
drwxr-xr-x 4 rthompso staff 120 Dec  5 12:11 part
drwxr-xr-x 9 rthompso staff 304 Dec  5 12:11 og
drwxr-xr-x 9 rthompso staff 304 Dec  5 12:11 nitro
drwxr-xr-x 8 rthompso staff 304 Dec  5 12:11 glue
-rw-r--r-- 1 rthompso staff  23 Dec  5 12:11 README
Posted by Arne Brasseur (Guest)
on 2007-12-06 16:50
(Received via mailing list)
Reid Thompson schreef:
>         from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
>         from app.rb:11
>   

Oops, that should've been:

RUBYOPT="-rubygems -I$NITRO_HOME/part/lib" ruby app.rb

which might or might not get things rolling. I get a similar error over
here that it can't find tmail. It's getting late over here but I'll get
back to you tomorrow on this with more detail. Running these examples
should be a fault-free one-liner before 0.50 is released. I'll look into 
it.

You mentioned before you were willing to review and test-drive
documentation, does that still hold?

Thank you,
(ab)
Posted by Reid Thompson (Guest)
on 2007-12-06 17:13
(Received via mailing list)
On Thu, 2007-12-06 at 23:45 +0800, Arne Brasseur wrote:
> > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- part/admin (LoadError)
> I'll get back to you tomorrow on this with more detail. Running these
> examples should be a fault-free one-liner before 0.50 is released.
> I'll look into it.

thanks much.

results...

had to install opod also.

** app started up ok then. Success!! **


One thing to document for those running from darcs is a list of other
required packages...
This topic is locked and can not be replied to.