Tag Archives: thrissur

Refinery Hosting on Heroku

Prerequisites 1) The Ruby language version 1.9.3 or higher 2) A working installation of ImageMagick 1) create a gemset using RVM rvm use –create ruby-1.9.3@refinery 2)Installing Refinery gem install refinerycms 3) Creating a Refinery application refinerycms mycms 4) Starting up … Continue reading

Posted in ruby on rails, web development | Tagged , , , , , , , | Leave a comment

Bootstrap 3 with Rails 4

Refer the blog http://www.erikminkel.com/2013/09/01/twitter-bootstrap-3-in-a-rails-4-application/ In the downloaded bootstrap archive you will see a ‘dist’ folder which will house the css, javascripts, and fonts folders we will want to copy to our Rails application vendor/assets/ directory. bootstrap/dist/css/bootstrap.css and bootstrap/dist/css/bootstrap.min.css to vendor/assets/stylesheets … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , , , , , | Leave a comment

AngularJS with Rails

1) Check the following URL for installation http://blog.ricodigo.com/blog/2012/10/14/announcing-the-release-of-angularjs-scaffold/ 2) for basics and for advance coding refer the following URL http://angularjs.org/ 3) for Installing/coding jasmine 1) https://github.com/pivotal/jasmine/wiki/A-Ruby-project-%28with-or-without-Rails%29 2) http://railscasts.com/episodes/261-testing-javascript-with-jasmine   http://www.klairvoyant.in

Posted in javascript, rails, ROR, ruby on rails, web development | Tagged , , , , , , , | 1 Comment

spree tools and tutorials

1) deface http://guides.spreecommerce.com/view_customization.html http://deface.heroku.com/ https://github.com/spree/deface http://blog.endpoint.com/2010/01/rails-ecommerce-spree-hooks-tutorial.html 2)Theams 1) https://github.com/spree/spree_fancy https://github.com/search?langOverride=&p=5&q=spree+theme&repo=&start_value=1&type=Repositories 3) Gem http://guides.rubygems.org/specification-reference/#licenses=http://docs.rubygems.org/read/chapter/20 http://www.klairvoyant.in

Posted in rails, ROR, ruby on rails, web development | Tagged , , , | 1 Comment

what is rails templates ?

generators can be used inside an application, they can also be used to generate applications too, This kind of generator is referred as a “template”. example gem(“rspec-rails”, :group => “test”) gem(“cucumber-rails”, :group => “test”) if yes?(“Would you like to install … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , , , , , | Leave a comment

How to create a Gem file

1) bundle gem gemwork1 (My IDE has option for “Gem Application” and given the name “gemwork1” as the application name) 2) in ‘lib/gemwork1.rb’ add the functionality code example add the following code to already existing module “Gemwork1”. here we adding … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , , , , | Leave a comment

spree with Heroku and Amazon S3

A) spree installation  1) add in gem file and bundle install gem ‘spree’ gem ‘spree_auth_devise’ gem ‘spree_gateway’, :git => ‘git://github.com/spree/spree_gateway.git’, :branch => “1-3-stable” 2) rails g spree:install 3) bundle exec rake spree_auth:install:migrations 4) bundle exec rake db:migrate 5)change the following line … Continue reading

Posted in rails, ROR, ruby on rails, web development | Tagged , , , , , , , , , | 1 Comment

error:- mysql2 adapter: `gem install activerecord-mysql2-adapter`

The error while I got while working with rails version 3.0.7 is Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load — active_record/connection_adapters/mysql2_adapter) Solution:- In GemFile change gem ‘mysql2’ to gem ‘mysql2’, ‘< 0.3’ and bundle … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , , , | 5 Comments

Gem,RubyGems and bundler

gem is a packaged Ruby application or library.we can install, remove, and query gem packages using the gem command.RubyGems is the name of the project that developed the gem packaging system and the gem command.For gem installation information use the … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , , | Leave a comment

Rails Tools

 cucumber- behavior driven development in rails BDD focuses on obtaining a clear understanding of desired software behavior through discussion with stakeholders. It extends TDD by writing test cases in a natural language that non-programmers can read. Behavior-driven developers use their … Continue reading

Posted in rails, ROR, ruby on rails | Tagged , , | Leave a comment