refineryCMS - prosze o pomoc

Witam

mam hosting w vipserv , zainstalowalem sobie refinery , i dziala wszystko ladnie ale kiedy chcialem zrobic ruby script/generate news , dostaje bledy , jezeli moge prosic o pomoc co jest nie tak bo niestety poki co nie rozumiem tych bledow , moze bedzie ktos kto bedzie mogl w jakis sposob pomoc , bede wdzieczny , pozdrawiam i czeka na info

kalek@sv9 [~/rails/damian]# ruby script/generate news
*** 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
–with-callsite_hash-dir
–without-callsite_hash-dir
–with-callsite_hash-include
–without-callsite_hash-include=${callsite_hash-dir}/include
–with-callsite_hash-lib
–without-callsite_hash-lib=${callsite_hash-dir}/lib
/usr/local/lib/ruby/1.8/mkmf.rb:1483:in initialize': Permission denied - Makefile (Errno::EACCES) from /usr/local/lib/ruby/1.8/mkmf.rb:1483:inopen’
from /usr/local/lib/ruby/1.8/mkmf.rb:1483:in create_makefile' from extconf.rb:5 rake aborted! undefined methodjoin’ for “creating Makefile\n”:String
/usr/local/lib/ruby/gems/1.8/gems/refinerycms-0.9.6.21/vendor/plugins/slim_scrooge/ext/Rakefile:18
(See full trace by running task with --trace)
*** 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
–with-callsite_hash-dir
–without-callsite_hash-dir
–with-callsite_hash-include
–without-callsite_hash-include=${callsite_hash-dir}/include
–with-callsite_hash-lib
–without-callsite_hash-lib=${callsite_hash-dir}/lib
/usr/local/lib/ruby/1.8/mkmf.rb:1483:in initialize': Permission denied - Makefile (Errno::EACCES) from /usr/local/lib/ruby/1.8/mkmf.rb:1483:inopen’
from /usr/local/lib/ruby/1.8/mkmf.rb:1483:in create_makefile' from extconf.rb:5 rake aborted! undefined methodjoin’ for “creating Makefile\n”:String
/usr/local/lib/ruby/gems/1.8/gems/refinerycms-0.9.6.21/vendor/plugins/slim_scrooge/ext/Rakefile:18
(See full trace by running task with --trace)
exists db/migrate
create db/migrate/20100325085606_create_structure_for_news.rb
kalek@sv9 [~/rails/damian]# rake db:migrate
(in /home/kalek/rails/damian)
*** 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
–with-callsite_hash-dir
–without-callsite_hash-dir
–with-callsite_hash-include
–without-callsite_hash-include=${callsite_hash-dir}/include
–with-callsite_hash-lib
–without-callsite_hash-lib=${callsite_hash-dir}/lib
/usr/local/lib/ruby/1.8/mkmf.rb:1483:in initialize': Permission denied - Makefile (Errno::EACCES) from /usr/local/lib/ruby/1.8/mkmf.rb:1483:inopen’
from /usr/local/lib/ruby/1.8/mkmf.rb:1483:in create_makefile' from extconf.rb:5 rake aborted! undefined methodjoin’ for “creating Makefile\n”:String
/usr/local/lib/ruby/gems/1.8/gems/refinerycms-0.9.6.21/vendor/plugins/slim_scrooge/ext/Rakefile:18
(See full trace by running task with --trace)
*** 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
–with-callsite_hash-dir
–without-callsite_hash-dir
–with-callsite_hash-include
–without-callsite_hash-include=${callsite_hash-dir}/include
–with-callsite_hash-lib
–without-callsite_hash-lib=${callsite_hash-dir}/lib
/usr/local/lib/ruby/1.8/mkmf.rb:1483:in initialize': Permission denied - Makefile (Errno::EACCES) from /usr/local/lib/ruby/1.8/mkmf.rb:1483:inopen’
from /usr/local/lib/ruby/1.8/mkmf.rb:1483:in create_makefile' from extconf.rb:5 rake aborted! undefined methodjoin’ for “creating Makefile\n”:String
/usr/local/lib/ruby/gems/1.8/gems/refinerycms-0.9.6.21/vendor/plugins/slim_scrooge/ext/Rakefile:18
(See full trace by running task with --trace)
kalek@sv9 [~/rails/damian]#

Nie wiem w czym jest problem, ale podejrzewam ze masz coś nie tak z uprawnieniami dostępu do plików:

/usr/local/lib/ruby/1.8/mkmf.rb:1483:in `initialize': Permission denied - Makefile (Errno::EACCES)

i Makefile nie może zostać swtorzony. Próbowałeś zrobić to lokalnie a nie na serwerze? Pomysł developmentu na serwerze wydaje mi się dość dziwny :).

Na vipservie nie masz dostępu do katalogów systemowych. Gema zainstalowałeś przez panel czy z shella? Ja u siebie na shellu dam gem list to refinery tam nie ma.

hey instalowalem refinery przez gem w vipserv , ale spox niewazne :slight_smile: lepiej i tak napisac swojego CMS , pozdro :slight_smile:

Tomasz — facepalm potrzebny!

Cóż… Jeśli jednak dojdziesz do wniosku, że warto to polecam napisać do admina, on sprawia wrażenie dość pozytywnie nastawionego i może coś tam w systemowych plikach poustawiać.