Created
May 11, 2013 14:31
-
-
Save jkutner/5560118 to your computer and use it in GitHub Desktop.
Rails 4.0.0.rc1 on JRuby
This file contains hidden or 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 -v | |
jruby 1.7.4.dev (1.9.3p392) 2013-05-01 fffffff on Java HotSpot(TM) 64-Bit Server VM 1.7.0_09-b05 [darwin-x86_64] | |
$ gem install rails -v 4.0.0.rc1 | |
Successfully installed rails-4.0.0.rc1 | |
1 gem installed |
This file contains hidden or 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
$ rails new my_app | |
... | |
Your bundle is complete! | |
Use `bundle show [gemname]` to see where a bundled gem is installed. |
This file contains hidden or 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
$ bundle update | |
... | |
Your bundle is updated! |
This file contains hidden or 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
$ bundle exec rake db:create |
This file contains hidden or 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
$ bundle exec rails server | |
=> Booting WEBrick | |
=> Rails 4.0.0.rc1 application starting in development on http://0.0.0.0:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
[2013-05-11 09:25:05] INFO WEBrick 1.3.1 | |
[2013-05-11 09:25:05] INFO ruby 1.9.3 (2013-05-01) [java] | |
[2013-05-11 09:25:05] INFO WEBrick::HTTPServer#start: pid=3146 port=3000 |
This file contains hidden or 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
# Use jdbcsqlite3 as the database for Active Record | |
gem 'activerecord-jdbcsqlite3-adapter' | |
gem 'jruby-openssl' |
This file contains hidden or 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
# Use jdbcsqlite3 as the database for Active Record | |
gem 'activerecord-jdbcsqlite3-adapter', '1.3.0.beta1' |
This file contains hidden or 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
/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre/lib/security/ |
This file contains hidden or 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
OpenSSL::Cipher::CipherError: Illegal key size: possibly you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JRE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment