Foreman 1.2 on Raspberry Pi

Hi!

I have compiled Foreman on my Raspberry Pi according
to Foreman :: Manual since
I have not found any deb-packages for Pi. Compilation seems to work but
when I start it complains not finding net/ldap. See complete output in the
end of the mail.

I have tried install the net-ldap gem with: gem install net-ldap -i
~pi/foreman/foreman/vendor/ruby/1.9.1/ but it does not help.

I use Debian 7.1 on the Pi. Anybody knows whats wrong?

/Magnus

./script/rails s -e production

=> Booting WEBrick
=> Rails 3.2.13 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
block in require': iconv will be deprecated in the future, use String#encode instead. Exiting /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:inrescue in depend_on': No such file to load – net/ldap (LoadError)
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in
depend_on' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:inrequire_dependency'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in
block (2 levels) in eager_load!' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:ineach'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in
block in eager_load!' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:ineach'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in
eager_load!&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:inblock in <module:Finisher>'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
instance_exec&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:inrun'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in
block in run_initializers&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:ineach'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in
run_initializers&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:ininitialize!'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in
method_missing&#39; from /home/pi/foreman/foreman/config/environment.rb:5:in<top (required)>'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
require&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inblock in require'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in
load_dependency&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inrequire'
from /home/pi/foreman/foreman/config.ru:3:in block in &lt;main&gt;&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:ininstance_eval'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in
initialize&#39; from /home/pi/foreman/foreman/config.ru:innew'
from /home/pi/foreman/foreman/config.ru:in &lt;main&gt;&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:ineval'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in
parse_file&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:inapp'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in
app&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:inwrapped_app'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in
start&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:instart'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in
block in &lt;top (required)&gt;&#39; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:intap'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in
&lt;top (required)&gt;&#39; from ./script/rails:6:inrequire'
from ./script/rails:6:in `<main>'

Have you tried toggling the login parameter in config/setting.yml to false?

Make sure it says:

:login: false

Also, I've never compiled foreman, but is there an option to compile it
using ldap that you may have forgotten? Just throwing some ideas out there.

>
> Hi!
>
> I have compiled Foreman on my Raspberry Pi according to
Foreman :: Manual since I
have not found any deb-packages for Pi. Compilation seems to work but when
I start it complains not finding net/ldap. See complete output in the end
of the mail.
>
> I have tried install the net-ldap gem with: gem install net-ldap -i
~pi/foreman/foreman/vendor/ruby/1.9.1/ but it does not help.
>
> I use Debian 7.1 on the Pi. Anybody knows whats wrong?
>
> /Magnus
>
>
> # ./script/rails s -e production
> => Booting WEBrick
> => Rails 3.2.13 application starting in production on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
>
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
block in require&#39;: iconv will be deprecated in the future, use String#encode instead. &gt; Exiting &gt; /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:inrescue in depend_on': No such file to load – net/ldap (LoadError)
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in
depend_on&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:inrequire_dependency'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in
block (2 levels) in eager_load!&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:ineach'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in
block in eager_load!&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:ineach'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in
eager_load!&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:inblock in <module:Finisher>'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
instance_exec&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:inrun'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in
block in run_initializers&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:ineach'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in
run_initializers&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:ininitialize!'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in
method_missing&#39; &gt; from /home/pi/foreman/foreman/config/environment.rb:5:in<top
(required)>'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
require&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inblock in require'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in
load_dependency&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inrequire'
> from /home/pi/foreman/foreman/config.ru:3:in block in &lt;main&gt;&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:ininstance_eval'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in
initialize&#39; &gt; from /home/pi/foreman/foreman/config.ru:innew'
> from /home/pi/foreman/foreman/config.ru:in &lt;main&gt;&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:ineval'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in
parse_file&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:inapp'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in
app&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:inwrapped_app'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in
start&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:instart'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in
block in &lt;top (required)&gt;&#39; &gt; from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:intap'
> from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in
&lt;top (required)&gt;&#39; &gt; from ./script/rails:6:inrequire'
> from ./script/rails:6:in `<main>'
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.

··· On Sat, Jul 27, 2013 at 8:55 AM, Magnus Runesson wrote: > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out. > >


Stephen Wood
Dev/Ops Engineer
Moz, Inc.
Website: www.heystephenwood.com

> Hi!
>
> I have compiled Foreman on my Raspberry Pi according to
> Foreman :: Manual since I
> have not found any deb-packages for Pi. Compilation seems to work but when
> I start it complains not finding net/ldap. See complete output in the end
> of the mail.
>
> I have tried install the net-ldap gem with: gem install net-ldap -i
> ~pi/foreman/foreman/vendor/ruby/1.9.1/ but it does not
>
help.
>

whats the error that you get for net/ldap ? i would assume it has no
binaries, so it should not compile anything…

Ohad

··· On Sat, Jul 27, 2013 at 6:55 PM, Magnus Runesson wrote:

I use Debian 7.1 on the Pi. Anybody knows whats wrong?

/Magnus

./script/rails s -e production

=> Booting WEBrick
=> Rails 3.2.13 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
block in require': iconv will be deprecated in the future, use String#encode instead. Exiting /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:inrescue in depend_on’: No such file to load – net/ldap (LoadError)
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in
depend_on' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:inrequire_dependency’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in
block (2 levels) in eager_load!' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:ineach’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in
block in eager_load!' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:ineach’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in
eager_load!' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:inblock in module:Finisher
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
instance_exec' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:inrun’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in
block in run_initializers' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:ineach’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in
run_initializers' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:ininitialize!'
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in
method_missing' from /home/pi/foreman/foreman/config/environment.rb:5:in<top (required)>‘
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in
require' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inblock in require’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in
load_dependency' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:inrequire’
from /home/pi/foreman/foreman/config.ru:3:in block in <main>' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:ininstance_eval’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in
initialize' from /home/pi/foreman/foreman/config.ru:innew’
from /home/pi/foreman/foreman/config.ru:in <main>' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:ineval’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in
parse_file' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:inapp’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in
app' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:inwrapped_app’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in
start' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:instart’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in
block in <top (required)>' from /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:intap’
from
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in
<top (required)>' from ./script/rails:6:inrequire’
from ./script/rails:6:in `’


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

config/settings.yml has:

:login: false

/Magnus

··· On Saturday, July 27, 2013 8:17:54 PM UTC+2, Stephen Wood wrote: > > Have you tried toggling the login parameter in config/setting.yml to > false? > > Make sure it says: > > :login: false > > Also, I've never compiled foreman, but is there an option to compile it > using ldap that you may have forgotten? Just throwing some ideas out there. > > On Sat, Jul 27, 2013 at 8:55 AM, Magnus Runesson <ma...@linuxalert.org> > wrote: > > > > Hi! > > > > I have compiled Foreman on my Raspberry Pi according to > http://theforeman.org/manuals/1.2/index.html#3.4InstallFromSource since I > have not found any deb-packages for Pi. Compilation seems to work but when > I start it complains not finding net/ldap. See complete output in the end > of the mail. > > > > I have tried install the net-ldap gem with: gem install net-ldap -i > ~pi/foreman/foreman/vendor/ruby/1.9.1/ but it does not help. > > > > I use Debian 7.1 on the Pi. Anybody knows whats wrong? > > > > /Magnus > > > > > > # ./script/rails s -e production > > => Booting WEBrick > > => Rails 3.2.13 application starting in production on > http://0.0.0.0:3000 > > => Call with -d to detach > > => Ctrl-C to shutdown server > > > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in > `block in require': iconv will be deprecated in the future, use > String#encode instead. > > Exiting > > > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in > `rescue in depend_on': No such file to load -- net/ldap (LoadError) > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in > `depend_on' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in > `require_dependency' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in > `block (2 levels) in eager_load!' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in > `each' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in > `block in eager_load!' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in > `each' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in > `eager_load!' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in > `block in ' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in > `instance_exec' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in > `run' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in > `block in run_initializers' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in > `each' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in > `run_initializers' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in > `initialize!' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in > `method_missing' > > from /home/pi/foreman/foreman/config/environment.rb:5:in ` (required)>' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in > `require' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in > `block in require' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in > `load_dependency' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in > `require' > > from /home/pi/foreman/foreman/config.ru:3:in `block in ' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in > `instance_eval' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in > `initialize' > > from /home/pi/foreman/foreman/config.ru:in `new' > > from /home/pi/foreman/foreman/config.ru:in `' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in > `eval' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in > `parse_file' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:in > `app' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in > `app' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:in > `wrapped_app' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in > `start' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in > `start' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in > `block in ' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in > `tap' > > from > /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in > `' > > from ./script/rails:6:in `require' > > from ./script/rails:6:in `' > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > -- > Stephen Wood > Dev/Ops Engineer > Moz, Inc. > Website: www.heystephenwood.com >

The error is:
/home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in
`rescue in depend_on': No such file to load – net/ldap (LoadError)

You can see full log in my original message. This is when I tries to start
Foreman.

/Magnus

··· On Sunday, July 28, 2013 9:07:05 AM UTC+2, ohad wrote: > > > > On Sat, Jul 27, 2013 at 6:55 PM, Magnus Runesson <ma...@linuxalert.org > > wrote: > >> Hi! >> >> I have compiled Foreman on my Raspberry Pi according to >> http://theforeman.org/manuals/1.2/index.html#3.4InstallFromSource since >> I have not found any deb-packages for Pi. Compilation seems to work but >> when I start it complains not finding net/ldap. See complete output in the >> end of the mail. >> >> I have tried install the net-ldap gem with: gem install net-ldap -i >> ~pi/foreman/foreman/vendor/ruby/1.9.1/ but it does not >> > help. >> > > whats the error that you get for net/ldap ? i would assume it has no > binaries, so it should not compile anything.. > > Ohad > >> >> I use Debian 7.1 on the Pi. Anybody knows whats wrong? >> >> /Magnus >> >> >> # ./script/rails s -e production >> => Booting WEBrick >> => Rails 3.2.13 application starting in production on http://0.0.0.0:3000 >> => Call with -d to detach >> => Ctrl-C to shutdown server >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in >> `block in require': iconv will be deprecated in the future, use >> String#encode instead. >> Exiting >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:317:in >> `rescue in depend_on': No such file to load -- net/ldap (LoadError) >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:312:in >> `depend_on' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in >> `require_dependency' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:439:in >> `block (2 levels) in eager_load!' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in >> `each' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:438:in >> `block in eager_load!' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in >> `each' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:436:in >> `eager_load!' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in >> `block in ' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in >> `instance_exec' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in >> `run' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in >> `block in run_initializers' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in >> `each' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in >> `run_initializers' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in >> `initialize!' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in >> `method_missing' >> from /home/pi/foreman/foreman/config/environment.rb:5:in `> (required)>' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in >> `require' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in >> `block in require' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in >> `load_dependency' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in >> `require' >> from /home/pi/foreman/foreman/config.ru:3:in `block in ' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in >> `instance_eval' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in >> `initialize' >> from /home/pi/foreman/foreman/config.ru:in `new' >> from /home/pi/foreman/foreman/config.ru:in `' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in >> `eval' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:40:in >> `parse_file' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:200:in >> `app' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in >> `app' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:304:in >> `wrapped_app' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/rack-1.4.5/lib/rack/server.rb:254:in >> `start' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in >> `start' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:55:in >> `block in ' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in >> `tap' >> from >> /home/pi/foreman/foreman/vendor/ruby/1.9.1/gems/railties-3.2.13/lib/rails/commands.rb:50:in >> `' >> from ./script/rails:6:in `require' >> from ./script/rails:6:in `' >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >