Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witajcie,
Aktualnie mecze sie z instalacja ruby on rails. Zainstalowalem serwer mysql i poszlo gladko. Teraz instaluje jezyk ruby1.8 tez idzie gladko. Problem zaczyna sie przy instalcji Ruby Gems a mianowicie siagam ze strony
http://rubyforge.org/frs/?group_id=126
najnowsza wersje rozpakowuje instaluje przez ruby setup.rb i niby wszystko pieknie dziala instalacja bez errorow. Ale jak chce zainstalowac Railsy to wywala cos takiego
debian:/usr/local/src/rubygems-1.3.1# gem install rails --include-dependencies bash: gem: command not found
I nie wiem co zrobiem zle. Postepuje wedlug ksiazki Ruby on Rails from begginer to professional. Z gory dziekuje za pomoc. Sprawdzilem i polecenie gem --version nie zwraca nic czyli jednak te gemy sie nie zainstalowały
Pozdrawiam
Artur
P.S sorry za ogonki ale jeszcze xorga po naprawie nie dopiescilem;p
Solve:
Wystarczylo zainstalowac rubygems z repo jest to najnowsza wersja i dziala pieknie (:
edit:
Jednak nie wszystko jest tak pięknie jak by się mogło zdawać :/ przy próbie uruchomienia serwera na następujących komponentach
artur@debian:~$ mysql --version mysql Ver 14.12 Distrib 5.0.67, for debian-linux-gnu (i486) using readline 5.2 artur@debian:~$ ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] artur@debian:~$ gem --version debian:/home/artur/hello# rails --version Rails 2.2.2 1.3.1
A oto jaki otrzymuje komunikat przy próbie włączenia serwera.
debian:/home/artur/hello# ruby script/server => Booting WEBrick... /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:259:in `require_frameworks': no such file to load -- openssl (RuntimeError) from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:133:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run' from /home/artur/hello/config/environment.rb:13 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:59 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require' from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3 debian:/home/artur/hello#
openssl jest zainstalowane. Wie ktoś może o co chodzi? Z góry dziękuje za pomoc
Artur
Dobra na forum ror uzyskałem pomoc trzeba dociągnąć pakiet libopenssl-ruby i wszystko pięknie działa
Ostatnio edytowany przez moron (2008-12-22 00:40:31)
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00003 | SET NAMES latin2 |
0.00102 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.117.78.215' WHERE u.id=1 |
0.00063 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.117.78.215', 1732586960) |
0.00042 | SELECT * FROM punbb_online WHERE logged<1732586660 |
0.00055 | DELETE FROM punbb_online WHERE ident='13.59.198.150' |
0.00052 | DELETE FROM punbb_online WHERE ident='18.116.43.109' |
0.00304 | DELETE FROM punbb_online WHERE ident='18.117.154.134' |
0.00136 | DELETE FROM punbb_online WHERE ident='18.119.19.205' |
0.00111 | DELETE FROM punbb_online WHERE ident='3.128.171.192' |
0.00227 | DELETE FROM punbb_online WHERE ident='3.136.19.124' |
0.00067 | DELETE FROM punbb_online WHERE ident='3.145.61.199' |
0.00064 | DELETE FROM punbb_online WHERE ident='52.14.88.137' |
0.00045 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=13014 AND t.moved_to IS NULL |
0.00026 | SELECT search_for, replace_with FROM punbb_censoring |
0.00110 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=13014 ORDER BY p.id LIMIT 0,25 |
0.00095 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=13014 |
Total query time: 0.01513 s |