Re: Where I can find Reststop-based blog.rb?

2010-06-08 Thread Raimon Fernandez
Hi Bartosz,

On 8jun, 2010, at 20:31 , Bartosz Dziewoński wrote:

> It should come with the gem, in examples directory. You can also find
> it here: http://github.com/camping/camping/blob/master/examples/blog.rb

This version doesn't use reststop.

The one that is included in the examples, it does, but has some errors:

MacBook-ProII-2:examples montx$ camping blog.rb 
** Starting Mongrel on 0.0.0.0:3301
!! Error loading /Users/montx/Documents/Camping/reststop/examples/blog.rb:
NameError: uninitialized constant Logger
/Library/Ruby/Site/1.8/reststop.rb:43
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/montx/Documents/Camping/reststop/examples/blog.rb:32
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:60:in
 `load'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:60:in
 `load_apps'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:105:in
 `reload!'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:180:in
 `reload!'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:179:in
 `each'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:179:in
 `reload!'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/reloader.rb:158:in
 `update'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:157:in 
`find_scripts'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:161:in 
`reload!'
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:169:in 
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lint.rb:47:in `_call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lint.rb:35:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/showexceptions.rb:24:in `call'
...

So I've added:

require 'Logger'

and started again camping:

MacBook-ProII-2:examples montx$ camping blog.rb 
** Starting Mongrel on 0.0.0.0:3301
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:172:
 warning: already initialized constant VERSION
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:174:
 warning: already initialized constant ProgName
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:181:
 warning: already initialized constant DEBUG
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:182:
 warning: already initialized constant INFO
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:183:
 warning: already initialized constant WARN
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:184:
 warning: already initialized constant ERROR
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:185:
 warning: already initialized constant FATAL
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:186:
 warning: already initialized constant UNKNOWN
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:424:
 warning: already initialized constant SEV_LABEL
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:436:
 warning: already initialized constant Format
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/logger.rb:537:
 warning: already initialized constant SiD
Creating RESTful controller for "posts" using Reststop pull version number here
Creating RESTful controller for "comments" using Reststop pull version number 
here
Creating RESTful controller for "sessions" using Reststop pull version number 
here
127.0.0.1 - - [09/Jun/2010 08:28:07] "GET / HTTP/1.1" 404 45 0.4875

And in the browser, I see:

Camping problem!
/not found


and If I force the login:

http://127.0.0.1:3301/login

Plenty of errors again ...

RuntimeError: Can't find template _login
(eval):16:in `camping_render'
/Library/Ruby/Site/1.8/reststop.rb:135:in `render'
/Users/montx/Documents/Camping/reststop/examples/blog.rb:101:in `get'
(eval):27:in `send'
(eval):27:in `camping_service'
(eval):27:in `catch'
(eval):27:in `camping_service'
/Library/Ruby/Site/1.8/reststop.rb:53:in `service'
(eval):38:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/session/cookie.rb:37:in 
`call'
(eval):42:in `call'

/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:176:in 
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lint.rb:47:in `_call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/lint.rb:35:in `call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/showexceptions.rb:24:in 
`call'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:in 
`call'

/Library/Ruby/Gems/1.8/gems/camping-

Re: Where I can find Reststop-based blog.rb?

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 20:31 , Bartosz Dziewoński wrote:

> 2010/6/8, Raimon Fernandez :
>> In Reststop docs they say a good example is the blog.rb, but their link is 
>> broken.
>> 
>> Where I can find it ?
> 
> It should come with the gem, in examples directory.

oughhh, you're right, it's there.

> You can also find it here: 
> http://github.com/camping/camping/blob/master/examples/blog.rb

thanks,

raimon

> 
> -- 
> Matma Rex - http://matma-rex.prv.pl/
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time on Camping

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 21:18 , David Susco wrote:

> Is the hoe gem installed?

no, the same error as before:

Last login: Tue Jun  8 18:43:33 on ttys002
MacBook-ProII-2:~ montx$ sudo gem install hoe
Password:
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: nodename nor servname provided, or not known 
(http://gems.rubyforge.org/gems/json_pure-1.4.3.gem)
MacBook-ProII-2:~ montx$ 


we have to wait ...

thanks,

r.

> 
> Dave
> 
> On Tue, Jun 8, 2010 at 1:01 PM, Raimon Fernandez  wrote:
>> 
>> On 8jun, 2010, at 18:43 , David Susco wrote:
>> 
>>> I don't believe the gem has been updated to include Matt's or
>>> Philippe's latest changes. You could clone it from GitHub though and
>>> rake and install it yourself.
>> 
>> I think it requieres 'hoe' and I can't install without rubygems working or 
>> once again, find where the repo is and start digging again ...
>> 
>> :-)
>> 
>> MacBook-ProII-2:reststop montx$ sudo rake Rakefile
>> (in /Users/montx/Documents/Camping/reststop)
>> rake aborted!
>> no such file to load -- hoe
>> /Users/montx/Documents/Camping/reststop/rakefile:10
>> 
>> 
>> thanks!
>> 
>> r.
>> ___
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>> 
> 
> 
> 
> -- 
> Dave
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time on Camping

2010-06-08 Thread David Susco
Is the hoe gem installed?

Dave

On Tue, Jun 8, 2010 at 1:01 PM, Raimon Fernandez  wrote:
>
> On 8jun, 2010, at 18:43 , David Susco wrote:
>
>> I don't believe the gem has been updated to include Matt's or
>> Philippe's latest changes. You could clone it from GitHub though and
>> rake and install it yourself.
>
> I think it requieres 'hoe' and I can't install without rubygems working or 
> once again, find where the repo is and start digging again ...
>
> :-)
>
> MacBook-ProII-2:reststop montx$ sudo rake Rakefile
> (in /Users/montx/Documents/Camping/reststop)
> rake aborted!
> no such file to load -- hoe
> /Users/montx/Documents/Camping/reststop/rakefile:10
>
>
> thanks!
>
> r.
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>



-- 
Dave
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Where I can find Reststop-based blog.rb?

2010-06-08 Thread Bartosz Dziewoński
2010/6/8, Raimon Fernandez :
>  In Reststop docs they say a good example is the blog.rb, but their link is 
> broken.
>
>  Where I can find it ?

It should come with the gem, in examples directory. You can also find
it here: http://github.com/camping/camping/blob/master/examples/blog.rb

-- 
Matma Rex - http://matma-rex.prv.pl/
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: camping-oauth is now available

2010-06-08 Thread John Beppu
Philippe,

Thanks for writing both the code and the blog posts.  I've been meaning to
learn more about OAuth, and your work will definitely help me out.

--beppu

On Mon, Jun 7, 2010 at 5:37 PM, Philippe Monnet  wrote:

>  I finally put together the final touches on the first version of the
> camping-oauth gem.
> It allows you to make a Camping web app into an OAuth provider. It
> leverages ruby-oauth and the oauth-plugin.
> An example of a use case is a web service built with Camping (using
> json/xml with/without REST).
>
> You can find it on GitHub: http://bit.ly/campingoauth
> I also wrote a blog post on how to use it (and a little about OAuth as well
> as how I approached the plugin): http://bit.ly/caoapost
>
> Let me know if you have any questions or if you encounter any issues.
>
> Philippe
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time on Camping

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 18:43 , David Susco wrote:

> I don't believe the gem has been updated to include Matt's or
> Philippe's latest changes. You could clone it from GitHub though and
> rake and install it yourself.

I think it requieres 'hoe' and I can't install without rubygems working or once 
again, find where the repo is and start digging again ...

:-)

MacBook-ProII-2:reststop montx$ sudo rake Rakefile 
(in /Users/montx/Documents/Camping/reststop)
rake aborted!
no such file to load -- hoe
/Users/montx/Documents/Camping/reststop/rakefile:10


thanks!

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Where I can find Reststop-based blog.rb?

2010-06-08 Thread Raimon Fernandez
Hi again,


In Reststop docs they say a good example is the blog.rb, but their link is 
broken.

Where I can find it ?

thanks,

regards,

raimon
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Hi Raimon

don't know if I can just clone the git repository of restr and  
install it using ruby setup.rb


that seems the best way, as David Susco suggested:

I don't believe the gem has been updated to include Matt's or  
Philippe's latest changes. You could clone it from GitHub though  
and rake and install it yourself.




So the error is general



Indeed. We have no control over rubygems.org :-)

DaveE

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 18:19 , Dave Everitt wrote:

> Hi Raimon - welcome,

thanks!

> glad we got around the rubygems.org fail :-) 

hey, I need more workarounds .

:-)

I'm playing with Camping and the introduction found in 
http://camping.rubyforge.org/book/02_getting_started.html

Now I'm reading the Reststop documentation for serving .xml data, and here 
comes again the same error:

MacBook-ProII-2:~ montx$ sudo gem install restr
Password:
WARNING:  RubyGems 1.2+ index not found for:
http://gems.rubyforge.org/

RubyGems will revert to legacy indexes degrading performance.
Bulk updating Gem source index for: http://gems.rubyforge.org/
ERROR:  While executing gem ... (Gem::RemoteSourceException)
Error fetching remote gem cache: SocketError: getaddrinfo: nodename nor 
servname provided, or not known (http://gems.rubyforge.org/yaml)

So the error is general, don't know if I can just clone the git repository of 
restr and install it using ruby setup.rb


thanks again for your help!

regards,

r.



___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time on Camping

2010-06-08 Thread David Susco
I don't believe the gem has been updated to include Matt's or
Philippe's latest changes. You could clone it from GitHub though and
rake and install it yourself.

Dave

On Tue, Jun 8, 2010 at 11:55 AM, Raimon Fernandez  wrote:
> Hi Dave,
>
> On 8jun, 2010, at 17:04 , David Susco wrote:
>
>> Camping with reststop ought will make serving the xml files easy
>> enough. The example on github ought to get you started:
>>
>> http://github.com/camping/reststop
>
> thanks !
>
> reststop is also a gem for camping ?
>
> regards,
>
>
>
> r.
>
>
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>



-- 
Dave
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt
Hi Raimon - welcome, glad we got around the rubygems.org fail :-) -  
Dave Everitt



sudo gem install rack --source http://chneukirchen.org/releases/gems/


ok, installed and running, now I'm a Camper!!!

:-)

Sure I'll come back here with more questions about Camping ...


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez
Hi Dave,


On 8jun, 2010, at 17:47 , Dave Everitt wrote:

> Raimon
> 
> apologies, rack is not listed in the Github gems 
> (http://gems.github.com/list.html).
> 
> BUT (still trying to get around the rubygems.org gem server issues and get 
> you started with Camping) you can try this mirror:
> 
> sudo gem install rack --source http://chneukirchen.org/releases/gems/

ok, installed and running, now I'm a Camper!!!

:-)


Sure I'll come back here with more questions about Camping ...

thanks all!

regards,

r.


> see:
> http://docs.github.com/rack/rack/
> (FYI the actual rack 1.1 gem is mirrored here: 
> http://chneukirchen.org/releases/gems/gems/ but the above install should get 
> it)
> 
> Dave
> 
>> MacBook-ProII-2:~ montx$ sudo gem install rack --source 
>> http://gems.github.com
>>> 
>> ERROR:  could not find gem rack locally or in a repository
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time on Camping

2010-06-08 Thread Raimon Fernandez
Hi Dave,

On 8jun, 2010, at 17:04 , David Susco wrote:

> Camping with reststop ought will make serving the xml files easy
> enough. The example on github ought to get you started:
> 
> http://github.com/camping/reststop

thanks !

reststop is also a gem for camping ?

regards,



r.



___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Raimon

apologies, rack is not listed in the Github gems (http:// 
gems.github.com/list.html).


BUT (still trying to get around the rubygems.org gem server issues  
and get you started with Camping) you can try this mirror:


sudo gem install rack --source http://chneukirchen.org/releases/gems/

see:
http://docs.github.com/rack/rack/
(FYI the actual rack 1.1 gem is mirrored here: http:// 
chneukirchen.org/releases/gems/gems/ but the above install should get  
it)


Dave

MacBook-ProII-2:~ montx$ sudo gem install rack --source http:// 
gems.github.com



ERROR:  could not find gem rack locally or in a repository


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez
Hi David,

On 8jun, 2010, at 16:59 , Dave Everitt wrote:

> Hi Raimon
> 
> I did mean that, but the rubygems site is back up... and it looks like 
> they're making progress as the error messages are changing.

ok

> So maybe try again tomorrow?


If I have to wait, I'll wait ... what can I do ?

:-)

I was 'excited' to do a demo tomorrow morning with camping and the devices but 
...

thanks!

regards,

r.



> 
> Dave
> 
>> Hi David,
>> 
>> On 8jun, 2010, at 15:38 , Dave Everitt wrote:
>> 
>>> Hi Raimon
>>> 
>>> Github is no longer maintaining this but the gems are still there, so try:
>>> 
>>> --source http://gems.github.com
>> 
>> do you mean using like this ?
>> 
>> MacBook-ProII-2:~ montx$ sudo gem install rack --source 
>> http://gems.github.com
>> ERROR:  could not find gem rack locally or in a repository
>> MacBook-ProII-2:~ montx$
>> 
>> thanks,
>> 
>> r.
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Hi Raimon

I did mean that, but the rubygems site is back up... and it looks  
like they're making progress as the error messages are changing. So  
maybe try again tomorrow?


Dave


Hi David,

On 8jun, 2010, at 15:38 , Dave Everitt wrote:


Hi Raimon

Github is no longer maintaining this but the gems are still there,  
so try:


--source http://gems.github.com


do you mean using like this ?

MacBook-ProII-2:~ montx$ sudo gem install rack --source http:// 
gems.github.com

ERROR:  could not find gem rack locally or in a repository
MacBook-ProII-2:~ montx$

thanks,

r.


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time on Camping

2010-06-08 Thread David Susco
Camping with reststop ought will make serving the xml files easy
enough. The example on github ought to get you started:

http://github.com/camping/reststop

Dave

On Tue, Jun 8, 2010 at 2:25 AM, Raimon Fernandez  wrote:
> hi list,
>
>
> This is my first time here, my first time reading seriously something about 
> Camping.
>
> I need to create a very simple web server for serving only .xml files, 
> extracted from a sqlite database with some queries.
>
> I'm quite comfortable with Ruby on Rails, but it would be too much for this 
> project, so I've decided to take a look at Camping or Sinatra, not sure 
> what's the best option.
>
> There would be only 5 tables, 100 rows per table, and the idea is fetch data 
> from a device like iPad/iPhone/iPod, update it and persist the changes in the 
> server. The data transfer would be in plain .xml files, no html or css.
>
> Any helpful directions would be great
>
> :-)
>
> thanks,
>
> r.
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>



-- 
Dave
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez
Hi David,

On 8jun, 2010, at 15:38 , Dave Everitt wrote:

> Hi Raimon
> 
> Github is no longer maintaining this but the gems are still there, so try:
> 
> --source http://gems.github.com

do you mean using like this ?

MacBook-ProII-2:~ montx$ sudo gem install rack --source http://gems.github.com
ERROR:  could not find gem rack locally or in a repository
MacBook-ProII-2:~ montx$ 


thanks,

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Hi Raimon

Github is no longer maintaining this but the gems are still there, so  
try:


 --source http://gems.github.com

DaveE


Rubygems still down. Rack 1.1 on Github:

http://github.com/rack/rack.git


thanks,

How I cann add this repository to gem ?

Currently I have:

- REMOTE SOURCES:
 - http://gems.rubyforge.org/

I want to add:

MacBook-ProII-2:~ montx$ sudo gem sources -a http://github.com
Password:
Error fetching http://github.com:
bad response Not Found 404 (http://github.com/specs.4.8.gz)


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez
Hi Philippe,

On 8jun, 2010, at 12:53 , Philippe Monnet wrote:

> Hi Raimon,
> 
> Sounds like maybe you don't have Rack.
> Do you have the following gem installed?
>   - rack (1.1.0)
>   - markaby (0.5) [will not work with a higher version]
>   - activerecord (any version)
>   - activesupport (any version)
> If not gem install them and let us know.

those are my gems:

*** LOCAL GEMS ***

actionmailer (2.3.5, 2.3.4, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.3.4, 2.2.2, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.3.5, 2.3.4, 2.2.2, 1.15.6)
activeresource (2.3.5, 2.3.4, 2.2.2)
activesupport (2.3.5, 2.3.4, 2.2.2, 1.4.4)
acts_as_ferret (0.4.3)
builder (2.1.2)
camping (2.0.392)
capistrano (2.5.2)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
dnssd (0.6.0)
eventmachine (0.12.10)
fastthread (1.0.1)
fcgi (0.8.7)
ferret (0.11.6)
gem_plugin (0.2.3)
highline (1.5.0)
hpricot (0.6.164)
libxml-ruby (1.1.3, 1.1.2)
mongrel (1.1.5)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.4, 2.0.1, 1.1.1)
net-ssh (2.0.19, 2.0.4, 1.1.4)
net-ssh-gateway (1.0.0)
pg (0.8.0)
prawn (0.7.1)
prawn-core (0.7.1)
prawn-layout (0.7.1)
prawn-security (0.7.1)
rack (1.0.1)
rails (2.3.5, 2.3.4, 2.2.2, 1.2.6)
rake (0.8.3)
RedCloth (4.1.1)
ruby-openid (2.1.7, 2.1.2)
ruby-yadis (0.3.4)
rubynode (0.1.5)
rubyzip (0.9.1)
sqlite3-ruby (1.2.5, 1.2.4)
termios (0.9.4)
thin (1.2.5)
will_paginate (2.3.11)
xmpp4r (0.4)


I have to update rack and install markaby, but I can't, more info in the next 
post related.

thanks,

r.

> 
> Philippe
> 
> On 6/8/2010 4:25 AM, Raimon Fernandez wrote:
>> 
>> On 8jun, 2010, at 11:52 , Dave Everitt wrote:
>> 
>>   
>>> Otherwise, get the bleeding edge version:
>>> sudo gem install camping --source http://gems.judofyr.net/
>>> 
>> ok, I want to focus on Camping so I've installed the edge version without 
>> any problems :-)
>> 
>> the problem is when I try to execute some example:
>> 
>> acBook-ProII-2:Camping montx$ camping homepage.rb 
>> /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:27: 
>> uninitialized constant Rack::Server (NameError)
>>  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 
>> `gem_original_require'
>>  from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
>>  from /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/camping:6
>>  from /usr/bin/camping:19:in `load'
>>  from /usr/bin/camping:19
>> 
>> 
>> I've installed Rack as I use it with some of my Ruby On Rails and Thin 
>> projects ...
>> 
>> Maybe the Rack::Server is not the same ?
>> 
>> Should I install more dependencies ?
>> 
>> thanks,
>> 
>> r.
>> ___
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>> 
>>   
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 13:19 , Dave Everitt wrote:

> Rubygems still down. Rack 1.1 on Github:
> 
> http://github.com/rack/rack.git

thanks,

How I cann add this repository to gem ?


Currently I have:

- REMOTE SOURCES:
 - http://gems.rubyforge.org/


I want to add:

MacBook-ProII-2:~ montx$ sudo gem sources -a http://github.com
Password:
Error fetching http://github.com:
bad response Not Found 404 (http://github.com/specs.4.8.gz)


And my /etc/hosts

...

72.4.120.124 rubygems.org
72.4.120.124 gems.rubyforge.org

but when I try 

MacBook-ProII-2:~ montx$ sudo gem install rack it can't find the server or 
package ...

thanks,

r.




> 
> - DaveE
> 
>> Are you able to install the latest rack (gem install rack), or is 
>> rubygems.org fully down?
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Rubygems still down. Rack 1.1 on Github:

http://github.com/rack/rack.git

- DaveE

Are you able to install the latest rack (gem install rack), or is  
rubygems.org fully down?


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Philippe Monnet

Hi Raimon,

Sounds like maybe you don't have Rack.
Do you have the following gem installed?
  - rack (1.1.0)
  - markaby (0.5) [will not work with a higher version]
  - activerecord (any version)
  - activesupport (any version)
If not gem install them and let us know.

Philippe

On 6/8/2010 4:25 AM, Raimon Fernandez wrote:

On 8jun, 2010, at 11:52 , Dave Everitt wrote:

   

Otherwise, get the bleeding edge version:
sudo gem install camping --source http://gems.judofyr.net/
 

ok, I want to focus on Camping so I've installed the edge version without any 
problems :-)

the problem is when I try to execute some example:

acBook-ProII-2:Camping montx$ camping homepage.rb
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:27: 
uninitialized constant Rack::Server (NameError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/camping:6
from /usr/bin/camping:19:in `load'
from /usr/bin/camping:19


I've installed Rack as I use it with some of my Ruby On Rails and Thin projects 
...

Maybe the Rack::Server is not the same ?

Should I install more dependencies ?

thanks,

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

   


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 12:30 , Magnus Holm wrote:

> I believe Rack::Server was introduced in one of the later Rack
> versions. Looks like I forgot to update the version dependency. Are
> you able to install the latest rack (gem install rack), or is
> rubygems.org fully down?
> 

I think is fully down because I can't install nothing from gem install ...

thanks,

r.

> 
> // Magnus Holm


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Magnus Holm
I believe Rack::Server was introduced in one of the later Rack
versions. Looks like I forgot to update the version dependency. Are
you able to install the latest rack (gem install rack), or is
rubygems.org fully down?


// Magnus Holm



On Tue, Jun 8, 2010 at 12:25, Raimon Fernandez  wrote:
>
> On 8jun, 2010, at 11:52 , Dave Everitt wrote:
>
>> Otherwise, get the bleeding edge version:
>> sudo gem install camping --source http://gems.judofyr.net/
>
> ok, I want to focus on Camping so I've installed the edge version without any 
> problems :-)
>
> the problem is when I try to execute some example:
>
> acBook-ProII-2:Camping montx$ camping homepage.rb
> /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:27: 
> uninitialized constant Rack::Server (NameError)
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 
> `gem_original_require'
>        from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
>        from /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/camping:6
>        from /usr/bin/camping:19:in `load'
>        from /usr/bin/camping:19
>
>
> I've installed Rack as I use it with some of my Ruby On Rails and Thin 
> projects ...
>
> Maybe the Rack::Server is not the same ?
>
> Should I install more dependencies ?
>
> thanks,
>
> r.
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 11:34 , Magnus Holm wrote:

> Hey Raimon,
> 
> Try a `sudo gem update --system` first to upgrade to the latest RubyGems
> 
> // Magnus Holm

MacBook-ProII-2:~ montx$ sudo gem update --system
Password:
Updating RubyGems
Nothing to update
MacBook-ProII-2:~ montx$ 


thanks,

r.


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 11:52 , Dave Everitt wrote:

> Otherwise, get the bleeding edge version:
> sudo gem install camping --source http://gems.judofyr.net/

ok, I want to focus on Camping so I've installed the edge version without any 
problems :-)

the problem is when I try to execute some example:

acBook-ProII-2:Camping montx$ camping homepage.rb 
/Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/../lib/camping/server.rb:27: 
uninitialized constant Rack::Server (NameError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Library/Ruby/Gems/1.8/gems/camping-2.0.392/bin/camping:6
from /usr/bin/camping:19:in `load'
from /usr/bin/camping:19


I've installed Rack as I use it with some of my Ruby On Rails and Thin projects 
...

Maybe the Rack::Server is not the same ?

Should I install more dependencies ?

thanks,

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Raimon Fernandez
Hi Dave,

On 8jun, 2010, at 11:52 , Dave Everitt wrote:

> Hi Raimon
> 
> I'm having the same problem with rubygems.org - won't even load in a browser.

ok,


> In February there was a bit of a change:
> http://update.gemcutter.org/2010/02/20/rubygems-org-move-complete.html
> 
> Fro current status see the tweets here:
> http://twitter.com/gemcutter

thanks for the info!


> and Magnus' Temporary fix:
> add "72.4.120.124 rubygems.org" to your /etc/hosts

ok, done!

mmm, I've removed the rubygems.org from the remote sources and now I can't add 
it again


MacBook-ProII-2:~ montx$ sudo gem sources -a http://rubygems.org
Error fetching http://rubygems.org:
SocketError: getaddrinfo: nodename nor servname provided, or not known 
(http://rubygems.org/specs.4.8.gz)


MacBook-ProII-2:~ montx$ sudo gem sources -a http://rubygems.org
Error fetching http://rubygems.org:
SocketError: getaddrinfo: nodename nor servname provided, or not known 
(http://rubygems.org/specs.4.8.gz)

> Otherwise, get the bleeding edge version:
> sudo gem install camping --source http://gems.judofyr.net/

maybe later !

:-)

thanks,

regards,

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Hmm - trying to help here too as I have the same problem.

$ sudo gem update --system

ERROR:  http://rubygems.org does not appear to be a repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
SocketError: getaddrinfo: No address associated with nodename  
(http://rubygems.org/yaml)


Was fine about 2 weeks ago.

For now, I just advised Raimon to fetch it from:
--source http://gems.judofyr.net/
?

Dave Everitt


Hey Raimon,

Try a `sudo gem update --system` first to upgrade to the latest  
RubyGems


// Magnus Holm


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Dave Everitt

Hi Raimon

I'm having the same problem with rubygems.org - won't even load in a  
browser.


In February there was a bit of a change:
http://update.gemcutter.org/2010/02/20/rubygems-org-move-complete.html

Fro current status see the tweets here:
http://twitter.com/gemcutter

and Magnus' Temporary fix:
add "72.4.120.124 rubygems.org" to your /etc/hosts

Otherwise, get the bleeding edge version:
sudo gem install camping --source http://gems.judofyr.net/

Dave Everitt

I want to add that I'm not behind any proxy or firewall, and that I  
could successfully download/and install some other gems in this  
machine without any problems, but no, no, I can't install nothing  
from gem.


It seems like a time-out problem:

I have this remote sources:

  - REMOTE SOURCES:
 - http://gems.rubyforge.org/
 - http://gems.github.com
MacBook-ProII-2:~ montx$

mmm, a ping to http://gems.rubyforge.org/ => cannot resolve http:// 
gems.rubyforge.org/: Unknown host



MacBook-ProII-2:~ montx$ sudo gem sources -r http:// 
gems.rubyforge.org/

http://gems.rubyforge.org/ removed from sources

now I have only  - http://gems.github.com

MacBook-ProII-2:~ montx$ sudo gem install camping
ERROR:  could not find gem camping locally or in a repository
MacBook-ProII-2:~ montx$


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: First time and first error

2010-06-08 Thread Magnus Holm
Hey Raimon,

Try a `sudo gem update --system` first to upgrade to the latest RubyGems

// Magnus Holm



On Tue, Jun 8, 2010 at 10:59, Raimon Fernandez  wrote:
>
> On 8jun, 2010, at 09:18 , Raimon Fernandez wrote:
>
>> Hi again,
>>
>>
>> I'm trying to install Camping on my OS X but I'm getting some errors:
>>
>> MacBook-ProII-2:~ montx$ gem -v
>> 1.3.5
>>
>> MacBook-ProII-2:~ montx$ sudo gem install camping
>> WARNING:  RubyGems 1.2+ index not found for:
>>       http://gems.rubyforge.org/
>>
>> RubyGems will revert to legacy indexes degrading performance.
>> Bulk updating Gem source index for: http://gems.rubyforge.org/
>> ERROR:  While executing gem ... (Gem::RemoteSourceException)
>>    Error fetching remote gem cache: SocketError: getaddrinfo: nodename nor 
>> servname provided, or not known (http://gems.rubyforge.org/yaml)
>>
>>
>> What are the minimums ?
>>
>> I'm using in my developer machine Ruby On Rails and Ruby without any 
>> problems, with some gems.
>
>
> I want to add that I'm not behind any proxy or firewall, and that I could 
> successfully download/and install some other gems in this machine without any 
> problems, but no, no, I can't install nothing from gem.
>
> It seems like a time-out problem:
>
> I have this remote sources:
>
>  - REMOTE SOURCES:
>     - http://gems.rubyforge.org/
>     - http://gems.github.com
> MacBook-ProII-2:~ montx$
>
> mmm, a ping to http://gems.rubyforge.org/ => cannot resolve 
> http://gems.rubyforge.org/: Unknown host
>
>
> MacBook-ProII-2:~ montx$ sudo gem sources -r http://gems.rubyforge.org/
> http://gems.rubyforge.org/ removed from sources
>
> now I have only      - http://gems.github.com
>
> MacBook-ProII-2:~ montx$ sudo gem install camping
> ERROR:  could not find gem camping locally or in a repository
> MacBook-ProII-2:~ montx$
>
> any idea ?
>
> thanks,
>
>
> r.
>
>
>
>
>
>>
>> thanks,
>>
>> regards,
>>
>> r.
>> ___
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>>
>
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: First time and first error

2010-06-08 Thread Raimon Fernandez

On 8jun, 2010, at 09:18 , Raimon Fernandez wrote:

> Hi again,
> 
> 
> I'm trying to install Camping on my OS X but I'm getting some errors:
> 
> MacBook-ProII-2:~ montx$ gem -v
> 1.3.5
> 
> MacBook-ProII-2:~ montx$ sudo gem install camping
> WARNING:  RubyGems 1.2+ index not found for:
>   http://gems.rubyforge.org/
> 
> RubyGems will revert to legacy indexes degrading performance.
> Bulk updating Gem source index for: http://gems.rubyforge.org/
> ERROR:  While executing gem ... (Gem::RemoteSourceException)
>Error fetching remote gem cache: SocketError: getaddrinfo: nodename nor 
> servname provided, or not known (http://gems.rubyforge.org/yaml)
> 
> 
> What are the minimums ?
> 
> I'm using in my developer machine Ruby On Rails and Ruby without any 
> problems, with some gems.


I want to add that I'm not behind any proxy or firewall, and that I could 
successfully download/and install some other gems in this machine without any 
problems, but no, no, I can't install nothing from gem.

It seems like a time-out problem:

I have this remote sources:

  - REMOTE SOURCES:
 - http://gems.rubyforge.org/
 - http://gems.github.com
MacBook-ProII-2:~ montx$ 

mmm, a ping to http://gems.rubyforge.org/ => cannot resolve 
http://gems.rubyforge.org/: Unknown host


MacBook-ProII-2:~ montx$ sudo gem sources -r http://gems.rubyforge.org/
http://gems.rubyforge.org/ removed from sources

now I have only  - http://gems.github.com

MacBook-ProII-2:~ montx$ sudo gem install camping
ERROR:  could not find gem camping locally or in a repository
MacBook-ProII-2:~ montx$ 

any idea ?

thanks,


r.





> 
> thanks,
> 
> regards,
> 
> r.
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
> 


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


First time and first error

2010-06-08 Thread Raimon Fernandez
Hi again,


I'm trying to install Camping on my OS X but I'm getting some errors:

MacBook-ProII-2:~ montx$ gem -v
1.3.5

MacBook-ProII-2:~ montx$ sudo gem install camping
WARNING:  RubyGems 1.2+ index not found for:
http://gems.rubyforge.org/

RubyGems will revert to legacy indexes degrading performance.
Bulk updating Gem source index for: http://gems.rubyforge.org/
ERROR:  While executing gem ... (Gem::RemoteSourceException)
Error fetching remote gem cache: SocketError: getaddrinfo: nodename nor 
servname provided, or not known (http://gems.rubyforge.org/yaml)


What are the minimums ?

I'm using in my developer machine Ruby On Rails and Ruby without any problems, 
with some gems.

thanks,

regards,

r.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list