This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if post.live? %> | |
<article class="blog_post" id="<%= dom_id(post) %>"> | |
<header> | |
<h1><%= link_to post.title, blog_post_url(post) %></h1> | |
<section class='details'> | |
<time datetime="<%=l post.published_at.to_date, :format => :default %>" class='posted_at'> | |
<%= t('blog.shared.posts.created_at', :when => l(post.published_at.to_date, :format => :short)) %> | |
</time><%= "#{t('blog.posts.show.by')} #{post.author.username}" if post.author.present? %>. | |
<% if (categories = post.categories).any? %> | |
<aside class='filed_in'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= form_for [:admin, @blog_post] do |f| -%> | |
<%= render :partial => "/shared/admin/error_messages", | |
:locals => { | |
:object => f.object, | |
:include_object_name => true | |
} %> | |
<div class='field'> | |
<%= f.label :title -%> | |
<%= f.text_field :title, :class => 'larger widest' -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2011-08-04 11:33:49] make | |
/usr/bin/gcc-4.2 -g -O2 -fno-common -pipe -fno-common -DRUBY_EXPORT -L. main.o dmydln.o libruby-static.a -ldl -lobjc -o miniruby | |
rbconfig.rb updated | |
cc -dynamiclib -undefined suppress -flat_namespace -install_name /Users/ivan/.rvm/rubies/ruby-1.8.6-p111/lib/libruby.dylib -current_version 1.8.6 -compatibility_version 1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -o libruby.1.8.6.dylib | |
compiling Win32API | |
compiling bigdecimal | |
make[1]: Nothing to be done for `all'. | |
compiling curses | |
make[1]: Nothing to be done for `all'. | |
compiling dbm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ovid21$ cat /etc/issue | |
Red Hat Enterprise Linux AS release 3 (Taroon Update 9) | |
Kernel \r on an \m | |
ovid21$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
bash: line 6: set: errtrace: invalid option name | |
bash: line 166: conditional binary operator expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: Ivan Storck <[email protected]> | |
Subject: Developer to Developer, join our team! | |
Date: August 17, 2011 4:29:00 PM PDT | |
To: [email protected] | |
We are a team of ruby / UI experts looking for another Ruby on Rails developer to join us on a prototype project for an innovative financial web application. | |
This is a Rails 3 / HAML / SCSS / TDD project using all the best practices. | |
You'll have an opportunity to shape both the user interface and back-end code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rails s | |
sh.exe": /c/RailsInstaller/Ruby1.9.2/bin/rails: C:/Projects/railsinstaller/Stage/Ruby1.9.2/bin/ruby.exe: bad interpreter: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
deploy@server:~$ sudo aptitude full-upgrade | |
[sudo] password for deploy: | |
The following packages will be upgraded: | |
at-spi2-core baobab cups cups-bsd cups-client cups-common cups-ppdc | |
desktop-file-utils empathy empathy-common file-roller gedit gedit-common | |
gir1.2-atspi-2.0 gir1.2-gtk-3.0 gir1.2-totem-1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deface::Override.new(:virtual_path => "layouts/spree_application", | |
:insert_before => "body", | |
:partial => "shared/c4c_top", | |
:name => "body_top") | |
Deface::Override.new(:virtual_path => "layouts/spree_application", | |
:insert_after => "body", | |
:partial => "shared/c4c_bottom", | |
:name => "body_bottom") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2011-10-30 17:23:52] ./installer -a /usr/local/rvm/rubies/ree-1.8.7-2011.03 --dont-install-useful-gems | |
Welcome to the Ruby Enterprise Edition installer | |
This installer will help you install Ruby Enterprise Edition 1.8.7-2011.03. | |
Don't worry, none of your system files will be touched if you don't want them to, so there is no risk that things will screw up. | |
You can expect this from the installation process: | |
1. Ruby Enterprise Edition will be compiled and optimized for speed for this | |
system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0*$ bash ivan@c4cmaple 128.208.133.147 Menu:<^"-@> | |
U Ubuntu 11.10 1# 6h53m |=| 0.00 2x.8GHz 2.0GB,8% 2011-10-31 21:27:41 | |
ivan@c4cmaple:~$ rvm info | |
ruby-1.8.7-p352: | |
system: | |
uname: "Linux c4cmaple.dyndns.org 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.2.10(1)-release (x86_64-pc-linux-gnu)" | |
zsh: " => not installed" |