Skip to content

Instantly share code, notes, and snippets.

@andrenam
Created July 29, 2012 03:02
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save andrenam/3195879 to your computer and use it in GitHub Desktop.
Save andrenam/3195879 to your computer and use it in GitHub Desktop.
gitlab Gemfile (working for raspberry pi with raspbian)
source "http://rubygems.org"
gem "rails", "3.2.5"
# Supported DBs
gem "sqlite3"
gem "mysql2"
# Auth
gem "devise", "~> 2.1.0"
# GITLAB patched libs
gem "grit", :git => "https://github.com/gitlabhq/grit.git", :ref => "7f35cb98ff17d534a07e3ce6ec3d580f67402837"
gem "gitolite", :git => "https://github.com/gitlabhq/gitolite-client.git", :ref => "9b715ca8bab6529f6c92204a25f84d12f25a6eb0"
gem "pygments.rb", :git => "https://github.com/gitlabhq/pygments.rb.git", :ref => "2cada028da5054616634a1d9ca6941b65b3ce188"
gem "omniauth-ldap", :git => "https://github.com/gitlabhq/omniauth-ldap.git", :ref => "7edf27d0281e09561838122982c16b7e62181f44"
gem 'yaml_db', :git => "https://github.com/gitlabhq/yaml_db.git"
gem 'grack', :git => "https://github.com/gitlabhq/grack.git"
gem "linguist", "~> 1.0.0", :git => "https://github.com/gitlabhq/linguist.git"
gem "eventmachine", :git => "https://github.com/eventmachine/eventmachine.git"
gem "grape"
gem "stamp"
gem "kaminari"
gem "haml-rails"
gem "carrierwave"
gem "six"
gem "ffaker"
gem "seed-fu"
gem "redcarpet", "~> 2.1.1"
gem "thin", :git => "https://github.com/tjouan/thin.git", :ref => "a5e1a39853689f7e6878c7d85105bd47f37514af"
gem "unicorn"
gem "git"
gem "acts_as_list"
gem "acts-as-taggable-on", "2.3.1"
gem "drapper"
gem "resque", "~> 1.20.0"
gem "httparty"
gem "charlock_holmes"
gem "foreman"
gem "colored"
gem 'resque_mailer'
gem 'tabs_on_rails'
gem 'settingslogic'
group :assets do
gem "sass-rails", "3.2.5"
gem "coffee-rails", "3.2.2"
gem "uglifier", "1.0.3"
#gem "therubyracer"
gem 'chosen-rails'
gem "jquery-rails", "2.0.2"
gem "jquery-ui-rails", "0.5.0"
gem "modernizr", "2.5.3"
gem "raphael-rails", "1.5.2"
gem 'bootstrap-sass', "2.0.3.1"
end
group :development do
gem "letter_opener"
gem "rails-footnotes"
gem "annotate", :git => "https://github.com/ctran/annotate_models.git"
end
group :development, :test do
gem "rspec-rails"
gem "capybara"
gem "autotest"
gem "autotest-rails"
gem "pry"
gem "awesome_print"
gem "database_cleaner"
gem "launchy"
end
group :test do
gem 'cucumber-rails', :require => false
gem 'minitest', ">= 2.10"
gem "turn", :require => false
gem "simplecov", :require => false
gem "shoulda-matchers"
gem 'email_spec'
gem 'resque_spec'
gem "webmock"
end
@rtreffer
Copy link

rubyjs/therubyracer#214

just use "gem install libv8 -- --with-system-v8" and therubyracer will work.

@rtreffer
Copy link

I'm nearly done with installing gitlabhq - how about hosting a rasbian / gitlabhq image? I guess many ppl will love it (cheap nice local git server)

@oschrenk
Copy link

oschrenk commented Feb 1, 2013

Just stumbled upon this gist as this is the first hit for googling "gitlab raspberry pi"

So, @rtreffer , yes I think A rasbian / gitlabhq image is be a lovely idea! 👍

@Heliosmaster
Copy link

👍 for an easy way to have gitlabhq. If not a image, at least a thorough installation guide? ;)

@rtreffer
Copy link

rtreffer commented Feb 5, 2013

So... Looks like most problems with libv8 are solved, above hint was wrong, it's not that easy to compile libv8...
But @ignisf posted a working gem in the endless thread at rubyjs/libv8#79

http://storage.btroyan.info/petko/libv8-3.15.11.1-arm-linux-eabihf.gem

@Heliosmaster
Copy link

@rtreffer : I still can't figure out how to install therubyracer, even with that gem. did you manage?

@Heliosmaster
Copy link

I managed to finish the installation of GitLab by commenting out therubyracer (as in the example above) and installing from the raspbian repos nodejs

@teoverton
Copy link

@Hellosmaster
Does it function as expected? You mention the install completed, but I was wondering how it worked?
Any followup would be appreciated.
Thomas

@buzeeg
Copy link

buzeeg commented Mar 17, 2013

I got the same issue and still stucked (also because I am a ruby-noob I think). Could you explain your solutions a little bit more ? Thanks per advance

@SquaredTiki
Copy link

Can anyone explain how they got gitlab to work on the Raspberry Pi, I've installed node.js but still nothing.

@Jamesking56
Copy link

Did anyone use this and get it working? If so, what steps did you follow?

@maxlazio
Copy link

You can find the Raspberry Pi 2 package for Raspbian OS on the GitLab alternative installation page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment