This command failed in testing because under non-production environment
it was attempting to find rspec-rails, which may not be installed.
---
aeolus-conductor.spec.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/aeolus-conductor.spec.in b/aeolus-conductor.spec.in
index f353ef1..0d9c648 100644
--- a/aeolus-conductor.spec.in
+++ b/aeolus-conductor.spec.in
@@ -235,7 +235,7 @@ touch %{buildroot}%{_localstatedir}/log/%{name}/dbomatic.log
# if the user had broken the symlinks and put data in here, it would have been
# completely ignored *anyway*
# Generate OAuth configuration:
-pushd %{app_root}; rake dc:oauth_keys --trace; popd
+pushd %{app_root}; export RAILS_ENV=production; rake dc:oauth_keys --trace; popd
%{__ln_s} -f %{app_root}/config/environments/development.rb %{_sysconfdir}/%{name}
%{__ln_s} -f %{app_root}/config/environments/production.rb %{_sysconfdir}/%{name}
--
1.7.6.4