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
<ul id="gallery" class="lb-album"> | |
<% photos_for_page.each_with_index do |photo, index| %> | |
<li> | |
<%= link_to (image_tag photo.file.url(:album), :width => Refinery::PhotoGallery.album_dimensions[0], :height => Refinery::PhotoGallery.album_dimensions[1] ), photo.file.single.url, { | |
:target=> "_blank", | |
:class=>"lb-overlay", | |
:data =>{:title=> t('.image') + ' ' + (index + 1 ).to_s + '/' + photos_for_page.total_pages.to_s + ' ' + photo.title + '<br/><br/>' + photo.description}, | |
:rel=>"group", | |
:title=> photo.title } %> | |
</li> |
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
<ul class="lb-album"> | |
<li> | |
<a href="#image-1"> | |
<img src="lit1.jpg" alt="image01"> | |
<span></span> </a> | |
<div class="lb-overlay" id="image-1"> | |
<a href="#page" class="lb-close"></a> | |
<img src="full1.jpg" alt="image01"/> | |
<div><h3> <span></span></h3></div></div></li> |
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
gem --version | |
2.0.7 | |
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby --version | |
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux] | |
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb | |
/home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- cart (LoadError) | |
from /home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require' | |
from init.rb:1:in `<main>' | |
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb | |
init.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end |
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
ruby --version | |
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux] | |
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb | |
/home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- cart (LoadError) | |
from /home/maasdesigner/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:51:in `require' | |
from init.rb:1:in `<main>' | |
maasdesigner@ubuntu:~/Desktop/ruby1$ ruby init.rb | |
init.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end | |
require 'cart.rb' require 'item.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
maasdesigner@ubuntu:~/Desktop/malika$ gem update --system | |
Latest version currently installed. Aborting. | |
maasdesigner@ubuntu:~/Desktop/malika$ bundle exec rake db:bootstrap | |
The source :rubygems is deprecated because HTTP requests are insecure. | |
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. | |
rake aborted! | |
undefined method `source_index' for Gem:Module | |
/home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:87:in `load_initializer' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:63:in `run' |
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
maasdesigner@ubuntu:~/Desktop/malika$ bundle exec rake db:bootstrap | |
The source :rubygems is deprecated because HTTP requests are insecure. | |
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. | |
rake aborted! | |
undefined method `source_index' for Gem:Module | |
/home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:87:in `load_initializer' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:63:in `run' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:20:in `boot!' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:122:in `<top (required)>' |
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
maasdesigner@ubuntu:~/Desktop/malika$ gem update --system | |
Latest version currently installed. Aborting. | |
maasdesigner@ubuntu:~/Desktop/malika$ bundle exec rake db:bootstrap | |
rake aborted! | |
undefined method `source_index' for Gem:Module | |
/home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:87:in `load_initializer' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:63:in `run' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:20:in `boot!' | |
/home/maasdesigner/Desktop/malika/config/boot.rb:122:in `<top (required)>' |
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
staticmatic setup oz | |
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find staticmatic (>= 0) amongst [actionmailer-4.0.0, actionmailer-3.2.14, actionmailer-3.2.9, actionpack-4.0.0, actionpack-3.2.14, actionpack-3.2.9, activemodel-4.0.0, activemodel-3.2.14, activemodel-3.2.9, activerecord-4.0.0, activerecord-3.2.14, activerecord-3.2.9, activerecord-deprecated_finders-1.0.3, activerecord-fb-adapter-0.7.5, activeresource-3.2.14, activeresource-3.2.9, activesupport-4.0.0, activesupport-3.2.14, activesupport-3.2.9, acts_as_indexed-0.8.3, acts_as_indexed-0.7.8, addressable-2.3.5, arel-4.0.0, arel-3.0.2, atomic-1.1.13, awesome_nested_set-2.1.6, babosa-0.3.11, bcrypt-ruby-3.1.2, bcrypt-ruby-3.1.1, bcrypt-ruby-3.0.1, builder-3.1.4, builder-3.0.4, bundler-1.3.5, bundler-unload-1.0.1, carrierwave-0.6.2, client_side_validations-3.2.6, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.6.3, decorators-1.0.3, devise-3.0.3, devise-2.2.6, devise-2.0.6, devise-2.0.5, dragonfly-0.9.15, elev |
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
maasdesigner@ubuntu:~/Documents/adana$ bundle update | |
Fetching gem metadata from https://rubygems.org/........... | |
Fetching gem metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using rake (10.1.0) | |
Using i18n (0.6.5) | |
Using multi_json (1.7.9) | |
Using activesupport (3.2.14) | |
Using builder (3.0.4) | |
Using activemodel (3.2.14) |
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
maasdesigner@ubuntu:~/Documents/adana$ rails generate scaffold Client name:string address:string email:string remark:text | |
invoke active_record | |
/home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require': Please install the fb adapter: `gem install activerecord-fb-adapter` (cannot load such file -- active_record/connection_adapters/fb_adapter) (LoadError) | |
from /home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `block in require' | |
from /home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency' | |
from /home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require' | |
from /home/maasdesigner/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:50:in `resolve_hash_connection' | |
from /hom |