How do I properly arrange my Gemfile for Rails 3? -


I am trying to establish a vote-fu in my Rail 3 project.

Documentation (for Rail 2) it's my environment. RB installs in the file, as it says.

  config.gem "peteonrails-vote_fu" ,: lib = & gt; 'Vote_foo',: source = & gt; 'Http://gems.github.com'  

How can I change it for jamfile for 3?

in jammfile:

gem 'vote_fu'

No more now The standard gem is hosted by the bundler, which is setup to use by default, so you do not need to specify the source. For reference, you can change options in config.gem like this:

: change in source => 'example.com' (in your amount in Gemfile):

< Change in 'mylib': pre & source 'example.com'

:

  Mani 'libkey_mylib' ,: need = & Gt; 'Mylib'  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -