#4 楼 @HungYuHei 得自己去做定时备份?
其实是 Window,我去掉 Window 这个单词 直接改成 User = {} 来使用
#3 楼 @zzhattzzh 听起来感觉像我以前拿 solr 来做自动补全
#60 楼 @hayeah @help5305fff @ganweiliang 要不就这周六日把
comment.body.gsub(/(^|[^a-zA-Z0-9_!#\$%&*@@])@(.+\s{1})/io) {
%(#{$1}<a href="#{user_path(comment.account)}" class="at_user" title="@#{$2}"><i>@</i>#{$2}</a>)
}
楼主可以找我~~~
我在自己做 ror 的项目,楼主有兴趣一起吗 [email protected]
kgio 我装不上,我换成 thin
ActionController::RoutingError (No route matches [GET] "/"):
actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call'
actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call'
railties (3.2.7) lib/rails/rack/logger.rb:26:in call_app'
railties (3.2.7) lib/rails/rack/logger.rb:16:in
call'
config/initializers/logger.rb:6:in call_with_quiet_assets'
actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in
call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in call'
rack (1.4.1) lib/rack/runtime.rb:17:in
call'
activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
这个是什么问题
好漂亮,得很熟 CSS 才能写出这样式吧
Installing kgio (2.6.0) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/SanviLu/Documents/rails_one_click/ruby/bin/ruby extconf.rb checking for CLOCK_MONOTONIC in time.h... no checking for CLOCK_MONOTONIC() in time.h... no checking for clockid_t in time.h... no checking for clock_gettime() in -lrt... no checking for t_open() in -lnsl... no checking for socket() in -lsocket... no checking for poll() in poll.h... yes checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... yes checking for struct sockaddr_storage in sys/types.h,sys/socket.h... yes checking for accept4() in sys/socket.h... no checking for sys/select.h... yes checking for ruby/io.h... yes checking for rb_io_t.fd in ruby.h,ruby/io.h... yes checking for rb_io_t.mode in ruby.h,ruby/io.h... yes checking for rb_io_t.pathv in ruby.h,ruby/io.h... yes checking for struct RFile in ruby.h,ruby/io.h... yes checking size of struct RFile in ruby.h,ruby/io.h... *** 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=/Users/SanviLu/Documents/rails_one_click/ruby/bin/ruby
--with-rtlib
--without-rtlib
--with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib
/Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:597:in Integer': can't convert nil into Integer (TypeError)
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:597:in
block in try_constant'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:330:in popen'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:330:in
block in xpopen'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:323:in
xpopen'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:596:in try_constant'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:1156:in
block in check_sizeof'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:790:in block in checking_for'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:284:in
block (2 levels) in postpone'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:284:in
block in postpone'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:254:in open'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:280:in
postpone'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:789:in checking_for'
from /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/1.9.1/mkmf.rb:1155:in
check_sizeof'
from extconf.rb:40:in `
Gem files will remain installed in /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/gems/1.9.1/gems/kgio-2.6.0 for inspection.
Results logged to /Users/SanviLu/Documents/rails_one_click/ruby/lib/ruby/gems/1.9.1/gems/kgio-2.6.0/ext/kgio/gem_make.out
An error occurred while installing kgio (2.6.0), and Bundler cannot continue.
Make sure that gem install kgio -v '2.6.0'
succeeds before bundling.
#58 楼 @help5305fff 深圳群啦。。
#55 楼 @help5305fff 让大家加群吧