Created
February 16, 2010 10:16
-
-
Save areina/305433 to your computer and use it in GitHub Desktop.
Install ubiquo with jruby
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
install jdk and jre | |
install jruby with rvm | |
rvm install jruby -v 1.4.0 | |
use jruby | |
rvm jruby | |
install rails | |
gem install rails -v 2.3.2 | |
install columnize (ruby-debug needs it) | |
gem install columnize | |
install ruby-debug | |
gem install --ignore-dependencies ruby-debug | |
wget http://rubyforge.org/frs/download.php/48904/ruby-debug-base-0.10.3.1-java.gem | |
gem install ruby-debug-base-0.10.3.1-java.gem | |
with postgresql: | |
install activerecord-jdbcpostgresql-adapter | |
gem install activerecord-jdbcpostgresql-adapter | |
with mysql: | |
install activerecord-jdbcmysql-adapter | |
gem install activerecord-jdbcmysql-adapter | |
install rmagick for jruby | |
gem install rmagick4j | |
install highline | |
gem install highline | |
install ffi-ncurses | |
gem install ffi-ncurses | |
update config/database.yml | |
with postgresql: | |
development: | |
adapter: jdbcpostgresql | |
url: jdbc:postgresql://127.0.0.1/tciweb_development | |
username: postgres | |
password: | |
with mysql | |
development: | |
adapter: jdbcmysql | |
encoding: utf8 | |
username: root | |
password: | |
database: app_development | |
update ubiquo core adapters | |
in ubiquo_core/lib/ubiquo/adapters.rb | |
add JdbcAdapter in case statement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment