Hi,
I am currently trying to install Ubiquo on Debian 6 and followed the Getting Started guide (
http://guides.ubiquo.me/edge/getting_started.html) but unfortunately as soon as I run the "script/server" script I get the following error message and the server does not start:
/home/marc/workspace/new_app/config/preinitializer.rb:18:in `rescue in <top (required)>': Bundler couldn't find some gems.Did you run `bundle install`? (RuntimeError)
from /home/marc/workspace/new_app/config/preinitializer.rb:13:in `<top (required)>'
from /home/marc/workspace/new_app/config/boot.rb:28:in `load'
from /home/marc/workspace/new_app/config/boot.rb:28:in `preinitialize'
from /home/marc/workspace/new_app/config/boot.rb:10:in `boot!'
from /home/marc/workspace/new_app/config/boot.rb:128:in `<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from script/server:2:in `<main>'
I also tried a "bundle install" as suggested but this also fails with the following error message:
...
Installing linecache (0.46)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
Gem files will remain installed in /home/marc/.bundler/tmp/4687/gems/linecache-0.46 for inspection.
Results logged to /home/marc/.bundler/tmp/4687/gems/linecache-0.46/ext/gem_make.out
An error occurred while installing linecache (0.46), and Bundler cannot continue.
Make sure that `gem install linecache -v '0.46'` succeeds before bundling.
Any help would be greatly appreciated. By the way I am using Ruby 1.9.3p392.
A big thank you in advance.
Best,
John