Twitter Updates
Tweets by jmontoyaRecomendations
- 7z apache art artisanat art perou awesome bonnet peruvien broswer browser cakephp capacitacion chamilo chrome chullo comic compression css design Dokeos dokeos 2.0 dokeos latinoamerica eclipse eclipse php e learning elearning extensions fckeditor firefox free ganymede google guatemala howto howtos humor icon free open source iconos images design gpl internet invierno Lima linux lucid lycos mario benedetti miraflores mozilla navegador open source opera perou peruvian peruvienne artisanat peruvienne php php5 phpeclipse poesia python rar rent appartement search engine style subversion suggest Tecnologia template terminal threadless tip toolbar ubuntu viceversa webdesign yahoo youtube zip
Mis favoritos en flickr
My latest commits- An error has occurred; the feed is probably down. Try again later.
My BeezNest posts- An error has occurred; the feed is probably down. Try again later.
Chamilo with Prestashop
Want to link your Chamilo with Prestashop? Follow the indications that you will seen on this webpage
The –deployment flag requires a Gemfile.lock – Capistrano – RVM – Bundler
In your server:
$ which bundle
/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle
Add this in your deploy.rb
set :bundle_cmd, “/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle”
If you have your repo in a subdirectory:
http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano
Posted in Uncategorized
Install Apache2 PHP + RVM/Passenger Ruby in Ubuntu 12.04 (Linode)
Read this in order to start well
http://library.linode.com/getting-started
Install Apache + PHP
http://library.linode.com/hosting-website#sph_installing-apache
Install nginx stuff as root
apt-get update
apt-get install curl git-core python-software-properties
add-apt-repository ppa:nginx/stable
apt-get install update
sudo apt-get install build-essential git-core curl libmysqlclient16-dev nodejs
To install Apache (with PHP if you want to)
Create a deployer user and add a group admin (sudoers)
addgroup admin
Add user as a deployer:
adduser deployer
adduser deployer admin
su deployer
Install mercurial (if needed)
apt-get install mercurial
Install mysql
apt-get install mysql-server mysql_secure_installation
Install RVM
sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
reload config
source /etc/profile.d/rvm.sh
Check requirements and install missing packages
rvm requirements
Install RVM
rvm install 1.9.3
rvm –default use 1.9.3source /usr/local/rvm/scripts/rvm rvm –default use 1.9.3
ruby -v
Install Rails
gem install rails
gem install mysql
Before installing passenger:
sudo apt-get install libcurl4-openssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
Install passenger:
gem install passenger
passenger-install-apache2-module — (follow instructions)
sudo adduser deployer rvm
Deploy with capistrano
cap deploy:check
cap deploy:setup — (first time)
cap deploy:cold — (to install the DB)
cap deploy:migrate –(installs migrations)
cap deploy — normal behaviour
http://library.linode.com/frameworks/ruby-on-rails-nginx/ubuntu-10.10-maverick
Posted in Uncategorized
ERROR: rvm requires autoreconf to install the selected ruby interpreter however autoreconf was not found in the PATH
You can fixed it with:
apt-get install automake
Posted in Uncategorized
Weird font rendering in Netbeans on Linux / Ubuntu
I had the same issue using Ubuntu and I resolved it this way:
Edit your netbeans.conf and add this line in your “netbeans_default_options” string
-laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”
so you finally have something like:
> netbeans_default_options=”-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true –laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”
Posted in Uncategorized
How to combine formtastic with Ajax form submission?
This is working for Rails 3.1
<%= semantic_form_for @mymodel, :remote => true do |f| %>
<% end %>












