rubycas/rubycas-server — Issue #74: pg and bcrypt-ruby gems not requires when deploying with passenger
Author: shemusok
Created: 2011-12-22 11:37:17+00:00
State: open

I tried to deploy rubycas-server with phusion passenger on apache 2.2
An got next in error.log

```
Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- b
crypt (MissingSourceFile))
and
Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- b
crypt (MissingSourceFile))
```

I fix it with next lines in rubycas-server.gemspec

```ruby
s.add_development_dependency("pg")
s.add_development_dependency("bcrypt-ruby")
```

but I don't think it's right way to fix such problem.