摘要:
转自:http://appsintheopen.com/posts/18-installing-the-libv8-ruby-gem-on-centos-5-8First, Centos 5.8 ships with gcc 4.1.4, but to compile libv8 you need 4.4. Luckily, this step is easy:$ yum install gcc44-c++Next, you need to tell the build to make use of it. The easiest thing to do here, is to export 阅读全文
posted @ 2013-12-19 17:02
myLittleGarden
阅读(770)
评论(0)
推荐(0)
摘要:
转自:http://rubyer.me/blog/740/Rails 3.1错误/gems/execjs-1.1.2/lib/execjs/runtimes.rb:43:in `autodetect’: Could not find a JavaScriptruntime.Gemfile中添加gem 'execjs'gem 'therubyracer'执行bundle install即可错误原因:Windows下默认有Javascript引擎,所以不会有这个错误。Linux下才有这个错误,一般只要第一个项目安装即可,以后的项目不用重复安装。而且这个错误是由dev 阅读全文
posted @ 2013-12-19 16:40
myLittleGarden
阅读(516)
评论(0)
推荐(0)
摘要:
http://www.python.org/dev/peps/pep-0020/ Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't speci... 阅读全文
posted @ 2013-12-19 10:19
myLittleGarden
阅读(191)
评论(0)
推荐(0)