mperham/girl_friday

no such file to load -- girl_friday/server (LoadError)

Closed this issue · 3 comments

require ::File.expand_path('../config/environment',  __FILE__)
require 'girl_friday/server'

run Rack::URLMap.new \
  "/"            => Gfapp::Application,
  "/girl_friday" => GirlFriday::Server.new

Seems it can't find the Sinatra app, which is odd because the path should be correct, looking at the gem structure and the lib being in the load path.

The server bits haven't been released in a gem yet.

On Sun, May 1, 2011 at 6:31 PM, meskyanichi
reply@reply.github.com
wrote:

require ::File.expand_path('../config/environment',  FILE)
   require 'girl_friday/server'

   run Rack::URLMap.new
     "/"            => Gfapp::Application,
     "/girl_friday" => GirlFriday::Server.new

Seems it can't find the Sinatra app, which is odd because the path should be correct, looking at the gem structure and the lib being in the load path.

Reply to this email directly or view it on GitHub:
#4

Ah, gotcha!


Michael van Rooijen
https://github.com/meskyanichi
http://twitter.com/#!/meskyanichi

On Monday, May 2, 2011 at 5:37 PM, mperham wrote:
The server bits haven't been released in a gem yet.

On Sun, May 1, 2011 at 6:31 PM, meskyanichi
reply@reply.github.com
wrote:

require ::File.expand_path('../config/environment', FILE)
require 'girl_friday/server'

run Rack::URLMap.new
"/" => Gfapp::Application,
"/girl_friday" => GirlFriday::Server.new

Seems it can't find the Sinatra app, which is odd because the path should be correct, looking at the gem structure and the lib being in the load path.

Reply to this email directly or view it on GitHub:
#4

Reply to this email directly or view it on GitHub:
#4 (comment)

Should be fixed with latest release.