Quantcast
Channel: bitPrison.net - ruby
Browsing all 10 articles
Browse latest View live

How to generate dynamic javascript files with Ruby on Rails?

The problemI want to write JavaScript files that use dynamic informations via Ruby on Rails. I think my solution also works with rails 2 and 3. What can dynamic JavaScript do for you? You can write...

View Article


How to install Phusion Passenger for ruby 1.9.2

There are some easy steps to install Phusion Passenger for ruby 1.9.2 and apache2 on Ubuntu Linux. 1. Install rvm system wide sudo bash < <( curl -L http://bit.ly/rvm-install-system-wide )2....

View Article


How to use Padrino with mongodb

Padrino is a ruby framework built upon the excellent Sinatra Microframework.$ padrino g project blog -d mongomapper -t rspec -s jquery -e haml -c compass      create        create  config.ru...

View Article

RMagick install on Ubuntu 10.10 and 10.04

This small tutorial work on Ubuntu Hardy (8.04), Lucid 10.04 and Maverick (10.10)Install Imagemagick and GraphicsMagickapt-get install imagemagick graphicsmagick Install Image Magick development...

View Article

Deploy rack applciaton

Make config.ru with following content:require 'rubygems'require 'sinatra'require './my_sinatra_application.rb'run Sinatra::Application You have to run bundle command. This will be install all necessary...

View Article


how to install Ruby on rails webshop?

You have installed RoR3 and now you want to install a rails3 webshop.I think the best solution is Spree. This is the only rails3 based e-commerce solution at this time.How do you install this...

View Article

Rails 3 Content Management Systems (CMS) - 2011

I've collected all open source CMS based on rails 3.x.Rails CMS/Wiki/ForumThis is a very simple but feature rich CMS framework. It is good startpoint for a new rails project what will be wiki, Forum or...

View Article

Resolve Ruby on Rails UTF-8 error message: invalid multibyte char (US-ASCII)

I got the following error when i run a rake db:seed command on may RoR application:invalid multibyte char (US-ASCII)I found the soution and the error has gone away:You should add a line to your file:#...

View Article


How to translate attributes of mongoid model

Here is an example, what show the way you can translate your mongoid models: You can also customize error messages as you will see in the next example.User model translation Example: en.yml content:en:...

View Article


Locomotive CMS

Today, I found a really good CMS. I'm looking for ruby 3 CMS for a while. I found this CMS solution that use my favorite NoSQL database system: MongoDB. I think multi site feature is rare in ror...

View Article
Browsing all 10 articles
Browse latest View live