Installation guid

16 views
Skip to first unread message

Jing Xiao

unread,
May 12, 2012, 8:18:08 AM5/12/12
to blacklight-...@googlegroups.com
Hi, can anyone update the installation guild for blacklight.

I am not a ruby user. And I followed the Quick guide from https://github.com/projectblacklight/blacklight/wiki/Quickstart
Which is not working for the Ubuntu 12.04.

At least so far i can say the command
rails new my_app  should be rails my_app 
gem 'blacklight' should be gem install 'blacklight'

when i run
rails generate blacklight --devise
it says Invalid option: --devise

Could anyone give me a hand?

Jonathan Rochkind

unread,
May 13, 2012, 11:57:26 PM5/13/12
to blacklight-...@googlegroups.com
The quickstart is maintained for the most recent version of Blacklight, which requires a recent version of Rails.

You are using an old version of rails, and an old version of Blacklight. How do I know? Because in Rails 3.x, it is indeed `rails new my_app`, `rails my_app` is for older Rails 2.x. Recent versions of Blacklight (since 3.0) don't work on 2.x versions of rails.

Recommend you update to a recent version of Rails (3.2.x), and use the most recent release of the Blacklight gem.

If you think you are using a recent version of rails, you may have multiple versions installed on your system but not be using the one you think you're using. Type "rails -v", make sure it's what you expect. The last couple versions of BL definitely won't work with Rails prior to 3.1, but really the most recent 3.2.x is recommended.

We don't have the resources to maintain documentation for old versions of Blacklight. We also don't have the resources to maintain old versions of Blacklight, or versions of Blacklight that work with Rails 2.x. Additionally, older versions of Blacklight were harder to install than we'd have liked, and generally didn't work as well as we'd have liked -- that's why we developed the new versions, sometimes with backwards compatible breaking changes.

Jonathan

________________________________
From: blacklight-...@googlegroups.com [blacklight-...@googlegroups.com] on behalf of Jing Xiao [jing.x...@gmail.com]
Sent: Saturday, May 12, 2012 8:18 AM
To: blacklight-...@googlegroups.com
Subject: [Blacklight-development] Installation guid
--
You received this message because you are subscribed to the Google Groups "Blacklight Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/blacklight-development/-/U_tePlYcccQJ.
To post to this group, send email to blacklight-...@googlegroups.com.
To unsubscribe from this group, send email to blacklight-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/blacklight-development?hl=en.
Reply all
Reply to author
Forward
0 new messages