fulcrum-agile / fulcrum

An agile project planning tool
http://wholemeal.co.nz/projects/fulcrum.html
GNU Affero General Public License v3.0
1.5k stars 350 forks source link

Making fulcrum Jruby compatible #93

Open rebelwarrior opened 12 years ago

rebelwarrior commented 12 years ago

Fixing the Gem file. (I want to claim this so please let me figure how to do the git hub thing).

remove this line: gem 'sqlite3' add this: platforms :jruby do gem 'activerecord-jdbc-adapter', :require => false end

group :development, :test do platforms :jruby do gem 'jdbc-sqlite3', :require => false end platforms :ruby do gem 'sqlite3-ruby', :require => 'sqlite3' end end

parndt commented 12 years ago

@rebelwarrior to contribute you just need to fork the project and edit the Gemfile. You can do this right from within GitHub if you like by clicking "Fork and edit this file" when viewing the Gemfile here

You then edit the file to your heart's desire and save it (all from GitHub's UI) which then will take you through to creating a pull request :-) This is if you're fairly confident that your changes will work. Otherwise, you should fork the project and clone your repository locally, make changes, commit and push to GitHub and open the pull request using the UI feature from your fork.

Here are the appropriate help documents which describe things better than I can with helpful diagrams: http://help.github.com/fork-a-repo/ http://help.github.com/send-pull-requests/

One point worth noting is that the gem is not called sqlite3-ruby but just merely sqlite3 (noticed that in the last few lines of the code you pasted above)

Phil