librelist archives

« back to archive

Deploying on NearlyFreeSpeech

Deploying on NearlyFreeSpeech

From:
Casey Olson
Date:
2012-02-29 @ 23:16
Does anyone have any experience getting Nesta up on NearlyFreeSpeech.net?

Thanks,

Casey

Re: [nesta] Deploying on NearlyFreeSpeech

From:
Graham Ashton
Date:
2012-03-01 @ 12:32
On 29 Feb 2012, at 23:16, Casey Olson wrote:

> Does anyone have any experience getting Nesta up on NearlyFreeSpeech.net?

Their website doesn't say whether they support Ruby. Is Ruby (or a C 
compiler) installed? And I take it that Heroku isn't an option?

--
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton


Re: [nesta] Deploying on NearlyFreeSpeech

From:
Casey Olson
Date:
2012-03-01 @ 17:16
Dear Graham,

NFS supports Ruby.

I found this blog post detailing how to set up Jekyll ( 
http://hayley.ws/2010/12/04/getting-jekyll-running.html )

(Do Jekyll and Sinatra kinda-sorta fill the same niche?)

Anyway, following some instructions from that site:

export GEM_HOME=/home/private/gems
export GEM_PATH=/home/private/gems:/usr/local/lib/ruby/gems/1.8/
export PATH=$PATH:/home/private/gems/bin
export RB_USER_INSTALL='true'

(And then trying to veer towards getting Nesta up and running)

gem install unicorn
...
unicorn

But I'm getting this error:

/home/private/gems/gems/unicorn-4.2.0/lib/unicorn/configurator.rb:610:in 
`parse_rackup_file': rackup file (config.ru) not readable (ArgumentError)

And that's where I'm stuck. 

Thanks,

Casey

On Mar 1, 2012, at 7:32 AM, Graham Ashton wrote:

> On 29 Feb 2012, at 23:16, Casey Olson wrote:
> 
>> Does anyone have any experience getting Nesta up on NearlyFreeSpeech.net?
> 
> Their website doesn't say whether they support Ruby. Is Ruby (or a C 
compiler) installed? And I take it that Heroku isn't an option?
> 
> --
> Graham Ashton
> Founder, The Agile Planner
> http://theagileplanner.com | @agileplanner | @grahamashton
> 
> 
> 

Re: [nesta] Deploying on NearlyFreeSpeech

From:
Graham Ashton
Date:
2012-03-02 @ 11:28
On 1 Mar 2012, at 17:16, Casey Olson wrote:

> gem install unicorn
> ...
> unicorn
> 
> But I'm getting this error:
> 
> /home/private/gems/gems/unicorn-4.2.0/lib/unicorn/configurator.rb:610:in
`parse_rackup_file': rackup file (config.ru) not readable (ArgumentError)

Nesta has a config.ru file, and that's what unicorn is looking for.

gem install nesta
nesta new name-of-folder
cd name-of-folder
gem install bundler; bundle install
unicorn

If unicorn still throws an error, you'll either need to configure it 
(there are plenty of ways to do that; see what Google can come up with) or
try a different server (such as thin, which comes in its own gem).

You'll then need to add some content, and the docs on nestacms.com should 
start to make sense from there...

--
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton