Problems during installation

94 views
Skip to first unread message

Bernd Kolb

unread,
Aug 18, 2010, 4:42:08 AM8/18/10
to openconferenceware
Hi,

I just wanted to try openconferenceware and thus install it on my
local machine.

However, when following the installation notes I am getting the
following error:

C:\tmp\conf\igal-openconferenceware-26bdbbb>rake db:create:all --trace
(in C:/tmp/conf/igal-openconferenceware-26bdbbb)
rake aborted!
Could not find gem 'rails (~> 2.1.2, runtime)' in the gems available
on this machine.
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
resolver.rb:170:in `resolve'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
resolver.rb:40:in `resolve'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
resolver.rb:39:in `catch'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
resolver.rb:39:in `resolve'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
environment.rb:55:in `resolve'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
environment.rb:59:in `resolve_locally'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
environment.rb:28:in `specs'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
environment.rb:69:in `specs_for'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
environment.rb:23:in `requested_specs'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler/
runtime.rb:16:in `setup'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/lib/bundler.rb:
76:in `setup'
C:/tmp/conf/igal-openconferenceware-26bdbbb/config/../config/
preinitializer.rb:14
C:/tmp/conf/igal-openconferenceware-26bdbbb/config/boot.rb:28:in
`load'
C:/tmp/conf/igal-openconferenceware-26bdbbb/config/boot.rb:28:in
`preinitialize'
C:/tmp/conf/igal-openconferenceware-26bdbbb/config/boot.rb:10:in
`boot!'
C:/tmp/conf/igal-openconferenceware-26bdbbb/config/boot.rb:130
C:/tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
C:/tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
C:/tmp/conf/igal-openconferenceware-26bdbbb/Rakefile:4
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`load'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
`load_rakefile'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in
`run'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in
`run'
C:/tools/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/tools/Ruby187/bin/rake:19:in `load'
C:/tools/Ruby187/bin/rake:19


I am not very familiar with ruby, so please excuse it this is just a
dump question.

Thanks

Bernd

Igal Koshevoy

unread,
Aug 18, 2010, 4:05:46 PM8/18/10
to openconfe...@googlegroups.com, Bernd Kolb
Bernd,

The error message says that it couldn't find the 'rails' library. When
following the installation instructions, did you perform steps 5 and 7,
which install the libraries, before trying to do step 9, to create the
database? See the excerpt below:

> 5. Install Bundler by running the following, likely as `root` or
using `sudo`:
> gem install bundler
>
> 6. Go into the checkout directory created by `git clone` above:
> cd openconferenceware
>
> 7. Install the application's libraries:
> bundle install
>
> 8. Optionally configure a custom database, see `config/database.yml`
for details.
>
> 9. Create your databases using its native tools or by running:
> rake db:create:all

A more complex issue is that I've never run this application on Windows,
and it's possible that changes are required for it to work on Windows.
Getting database drivers to work with Windows was frustrating last time
I tried it, and you'd need to do that as well to run this app.

I'd strongly recommend using some modern UNIX, such as Linux, for
running the app. An easy way to do this with your local Windows computer
is to install the free VirtualBox program and setup Linux inside it,
which lets you run Linux as an application from your existing Windows setup.

-igal

Bernd Kolb

unread,
Aug 19, 2010, 9:39:46 AM8/19/10
to openconferenceware
Thanks Igal for the quick response.

I think I overlooked 5)

Now I am getting the following error at 5)
C:\tmp\igal-openconferenceware-26bdbbb>bundle install
Fetching source index from http://gemcutter.org/
Using rake (0.8.7) from system gems
Installing RedCloth (4.2.3) from .gem files at N:/.bundle/ruby/1.8/
cache with native extensions C:/tools/Ruby187/lib/ruby/site_ruby/1.8/
rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to
build gem native extension. (Gem::Installer::ExtensionBuildError)

C:/tools/Ruby187/bin/ruby.exe extconf.rb
creating Makefile

make
Makefile:121: *** target pattern contains no `%'. Stop.


Gem files will remain installed in N:/.bundle/ruby/1.8/gems/
RedCloth-4.2.3 for inspection.
Results logged to N:/.bundle/ruby/1.8/gems/RedCloth-4.2.3/ext/
redcloth_scan/gem_make.out
from C:/tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
installer.rb:446:in `each'
from C:/tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
installer.rb:446:in `build_extensions'
from C:/tools/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
installer.rb:198:in `install'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/source.rb:170:in `install'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/installer.rb:34:in `run'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/spec_set.rb:12:in `each'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/spec_set.rb:12:in `each'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/installer.rb:21:in `run'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/installer.rb:6:in `install'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/cli.rb:91:in `install'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/task.rb:33:in `send'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/task.rb:33:in `run'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/invocation.rb:109:in `invoke'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/invocation.rb:116:in `call'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/invocation.rb:116:in `invoke'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor.rb:137:in `start'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor/base.rb:378:in `start'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
lib/bundler/vendor/thor.rb:124:in `start'
from C:/tools/Ruby187/lib/ruby/gems/1.8/gems/bundler-0.9.26/
bin/bundle:13
from C:/tools/Ruby187/bin/bundle:19:in `load'
from C:/tools/Ruby187/bin/bundle:19


Any hint?

Thx
Bernd

Bernd Kolb

unread,
Aug 19, 2010, 9:41:55 AM8/19/10
to openconferenceware
Sorry, this error obviously occurs when executing step 7)

Bernd
Reply all
Reply to author
Forward
0 new messages