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
<% @videos.in_groups_of(3) do |video_group| %> | |
<div class="row"> | |
<% video_group.each do |video| %> | |
<% if video != nil %> | |
<div class="span4"> | |
<%= link_to video do %> | |
<img class="thumbnail" src="http://placehold.it/210x150" /> | |
<% end %> | |
<h5><%= video.title rescue "No title" %></h5> | |
</div> |
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
<% @videos.in_groups_of(3) do |video_group| %> | |
<div class="row"> | |
<% video_group.each do |video| %> | |
<% if video != nil %> | |
<div class="span4"> | |
<%= link_to video_path(video) do %> | |
<img class="thumbnail" src="http://placehold.it/210x150" /> | |
<% end %> | |
<h5><%= video.title rescue "No title" %></h5> | |
</div> |
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
home_index GET /home/index(.:format) {:controller=>"home", :action=>"index"} | |
videos /videos(.:format) {:controller=>"videos", :action=>"index"} | |
videos_add /videos/add(.:format) {:controller=>"videos", :action=>"add"} | |
videos_add_url /videos/add/url(.:format) {:controller=>"videos", :action=>"add_from_url"} | |
/videos/:id(.:format) {:controller=>"videos", :action=>"show"} | |
root / {:controller=>"home", :action=>"index"} |
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
new_user_session GET /users/sign_in(.:format) {:action=>"new", :controller=>"devise/sessions"} | |
user_session POST /users/sign_in(.:format) {:action=>"create", :controller=>"devise/sessions"} | |
destroy_user_session DELETE /users/sign_out(.:format) {:action=>"destroy", :controller=>"devise/sessions"} | |
user_password POST /users/password(.:format) {:action=>"create", :controller=>"devise/passwords"} | |
new_user_password GET /users/password/new(.:format) {:action=>"new", :controller=>"devise/passwords"} | |
edit_user_password GET /users/password/edit(.:format) {:action=>"edit", :controller=>"devise/passwords"} | |
PUT /users/password(.:format) {:action=>"update", :controller=>"devise/passwords"} | |
cancel_user_registration GET /users/cancel(.:format) {:action=>"cancel", :controller=>"devise/registrations"} | |
user_registration POST /users(.:format) {:action=>"create", :controller=>"devis |
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
D:\Projects\SAP\eod>vagrant up | |
INFO vagrant: `vagrant` invoked: ["up"] | |
DEBUG vagrant: Creating Vagrant environment | |
INFO environment: Environment initialized (#<Vagrant::Environment:0x28e48a8>) | |
INFO environment: - cwd: D:/Projects/SAP/eod | |
INFO environment: Home path: C:/Users/Nils/.vagrant.d | |
DEBUG vagrant: Loading environment | |
INFO environment: Loading configuration... | |
DEBUG loader: Set :default = "C:/dev/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.7/config/default.rb" | |
DEBUG loader: Populating proc cache for "C:/dev/Ruby193/lib/ruby/gems/1.9.1/gems/vagrant-0.9.7/config/default.rb" |
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
vagrant@lucid64:~$ lsmod | grep vboxsf | |
vagrant@lucid64:~$ lsmod | |
Module Size Used by | |
ppdev 6375 0 | |
psmouse 65040 0 | |
lp 9336 0 | |
serio_raw 4950 0 | |
parport_pc 29958 0 | |
fbcon 39270 71 | |
tileblit 2487 1 fbcon |
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
D:\Projects\SAP\eod>vagrant up | |
[default] Importing base box 'lucid64'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.1.0 | |
VirtualBox Version: 4.1.8 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant::Config.run do |config| | |
config.vm.box = "lucid64" | |
config.vm.provision :chef_solo do |chef| | |
chef.cookbooks_path = ["chef-repo/cookbooks","chef-repo/cookbooks-edelight"] | |
chef.roles_path = "chef-repo/roles" |
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
[Mon, 05 Mar 2012 05:27:52 -0800] INFO: Processing rvm_global_gem[bundler] action install (rvm::system line 36) | |
[Mon, 05 Mar 2012 05:27:52 -0800] INFO: Processing execute[Add bundler to /usr/local/rvm/gemsets/global.gems] action run | |
(/tmp/vagrant-chef-1/chef-solo-1/cookbooks/rvm/providers/global_gem.rb line 106) | |
[Mon, 05 Mar 2012 05:27:53 -0800] INFO: Processing rvm_gem[bundler] action install (/tmp/vagrant-chef-1/chef-solo-1/cook | |
books/rvm/providers/global_gem.rb line 76) | |
NOTE: Gem::SourceIndex.from_gems_in is deprecated with no replacement. It will be removed on or after 2011-10-01. | |
Gem::SourceIndex.from_gems_in called from /opt/ruby/lib/ruby/gems/1.8/gems/chef-0.10.2/bin/../lib/chef/provider/package/ | |
rubygems.rb:245. | |
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. | |
Gem::SourceIndex#initialize called from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:67. |
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
C:\Users\c5168972\Documents\Projects\eod.vm>vagrant resume | |
INFO global: Vagrant version: 0.9.99.2 | |
INFO vagrant: `vagrant` invoked: ["resume"] | |
DEBUG vagrant: Creating Vagrant environment | |
INFO environment: Environment initialized (#<Vagrant::Environment:0x25bc4c8>) | |
INFO environment: - cwd: C:/Users/c5168972/Documents/Projects/eod.vm | |
INFO environment: Home path: C:/Users/c5168972/.vagrant.d | |
INFO plugin: Searching and loading any available plugins... | |
INFO plugin: Loaded 0 plugins. | |
DEBUG vagrant: Loading environment |
OlderNewer