There is a problem as in the Rakefile the gem versions are outdated and gem
install bundle installs the latest version. Therefore, executing rake gives
error regarding activated gems:
 /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:34:in `block
in setup': You have already activated listen 2.7.11, but your Gemfile
requires listen 1.3.1. Prepending `bundle exec` to your command may solve
this. (Gem::LoadError)
Therefore, I made changes in Rakefile to use the updated version and thus
it passed some steps but at end again it again stucked with error:
Building website from static source
/var/lib/gems/1.9.1/gems/middleman-core-3.3.6/lib/middleman-core/application.rb:16:in
`require': cannot load such file -- hooks (LoadError)
from
/var/lib/gems/1.9.1/gems/middleman-core-3.3.6/lib/middleman-core/application.rb:16:in
`<top (required)>'
from
/var/lib/gems/1.9.1/gems/middleman-core-3.3.6/lib/middleman-core.rb:16:in
`require'
from
/var/lib/gems/1.9.1/gems/middleman-core-3.3.6/lib/middleman-core.rb:16:in
`<top (required)>'
from /var/lib/gems/1.9.1/gems/middleman-3.3.6/lib/middleman.rb:1:in
`require'
from /var/lib/gems/1.9.1/gems/middleman-3.3.6/lib/middleman.rb:1:in `<top
(required)>'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in
`require'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in
`block (2 levels) in require'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in
`each'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in
`block in require'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in
`each'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in
`require'
from /var/lib/gems/1.9.1/gems/bundler-1.7.4/lib/bundler.rb:133:in `require'
from
/var/lib/gems/1.9.1/gems/middleman-core-3.3.6/lib/middleman-core/load_paths.rb:37:in
`setup_load_paths'
from /var/lib/gems/1.9.1/gems/middleman-core-3.3.6/bin/middleman:10:in
`<top (required)>'
from /usr/local/bin/middleman:23:in `load'
from /usr/local/bin/middleman:23:in `<main>'
An error was encountered when generating the site

So I am unable to build the site, so look into this and help me out

Thanks
Sweta

Reply via email to