Code Monkey home page Code Monkey logo

robbin_site's People

Contributors

robbin avatar u2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

robbin_site's Issues

我成功启动服务器了吗?

hi.

as3:/robbin_site# thin start
No adapter found for /root/robbin_site
as3:
/robbin_site# ls
app db lib public Rakefile test
config Gemfile locale puma.sh README.md TODO
config.ru Gemfile.lock models rainbows.sh stat_codes.sh zbatery.sh
as3:/robbin_site# ./zbatery.sh start
as3:
/robbin_site#

about system requirement

Hi robbin!

I'm learning ruby in recent month, and i found the open source project about ruby in here. thanks for your share.
I has cloned the source code from github,but i couldn't ran this project in my vm.

enviorment:

centos 6.2 with epel source / ruby-1.9.3-p327 / gem-1.8.25 / mysql-5.6 /memcached-1.4.15

some mistakes made by command like this:

bundle exec rake secret
bundle exec rake ar:migrate
...

the error message:

Could not find mysql2-0.3.11 in any of the sources
Run `bundle install` to install missing gems.

But i executed some commands according to the error message like this:

bundle install # the command is ok
gem install mysql2 # the command make some error message like this:

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11/ext/mysql2/gem_make.out

Do you give me some advice? thanks a lot

关于CSS

CSS感觉比较乱,不够优雅^_^

无法捕获ActiveRecord::RecordNotFound错误

robbin你好,我在写自己博客的时候参照了你的一个写法

error ActiveRecord::RecordNotFound do
  halt 404
end

然而这个写法实际上无法捕获错误,我在你线上的博客上测试了一下,输入了一个不存在的文章id

http://robbinfan.com/blog/100

并没有返回友好错误提示,翻了很久padrino的文档也没找到关于RecordNotFound的处理,想请教一下这个问题应该如何解决呢?

网络io开销

我是做phper, 本来很多是联表查询的,现在改成单表查询后,在遍历查询其他表信息。 一个列表页面,需要执行的sql 要达到 800多条,时间要2秒钟左右。 后来查询原因 是网络io 开销太大了, 800条来来回回,所有碰到这个问题。 我的qq:3314308761

搜索报错

你好,主页的搜索功能报错,本地(windows)的报错日志显示如图,服务器(centos)上production.log没有错误信息不确定是不是同一个错误。
请问该如何解决,谢谢

qq 20160716193726

cannot generate assets timestamp out of stylesheets directory

stylesheet_link_tag did not generate asset timestamp out of stylesheets directory

<%= stylesheet_link_tag '/skins/default/document', '/skins/default/content' %>
<%= stylesheet_link_tag '/skins/default/github', 'hightlight/github.min' %>

output:

<link href="/skins/default/document.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/skins/default/content.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/skins/default/github.css" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/hightlight/github.min.css?1361078060" media="screen" rel="stylesheet" type="text/css" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.