whiplash
whiplash

Reputation: 161

Running web application with rails server

I need to work with a rails application on Mac OS 10.8 but I am having troubles starting the rails server.

I installed Ruby and I am using version ruby-1.9.2-p320 and I installed rvm and rails. Following the Ruby Getting Started Guide (http://guides.rubyonrails.org/getting_started.html) what I need now is simply navigate into my application folder and run the command:

rails server

but I get this error

git://github.com/archiloque/rest-client.git (at master) is not checked out. Please run `bundle install`

When running the command bundle install I get stuck with the following error

Could not find gem 'rest-client (>= 0) ruby' in git://github.com/archiloque/rest-client.git (at master).
Source does not contain any versions of 'rest-client (>= 0) ruby'

What am I missing?

Strange thing I just noticed is that when running

gem rails install

I am notified that rails has been correctly installed (Successfully installed rails-3.2.13), but when checking its version

rails --version

I receive again the error message

git://github.com/archiloque/rest-client.git (at master) is not checked out. Please run `bundle install`

The content of my Gemfile follows:

source 'https://rubygems.org'

gem 'rails', '3.2.5'
gem 'sqlite3'
gem 'devise', '2.1.2'
gem 'rest-client', :git => 'git://github.com/archiloque/rest-client.git'
gem 'jquery-rails'
gem 'rspec-rails', group: [:test,:development]
gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"
gem "rb-readline"

group :assets do
gem 'sass-rails',   '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'twitter-bootstrap-rails'
gem 'uglifier', '>= 1.0.3'
end

group :test do
gem 'debugger'
gem 'factory_girl_rails'
gem 'capybara'
gem 'guard-rspec'
gem 'vcr'
gem 'fakeweb'
gem 'rb-fsevent', :require => false
gem 'guard-rspec'
gem 'growl'
gem 'database_cleaner'
end

group :development do
gem 'capistrano'
gem 'capistrano-ext'
gem 'rvm-capistrano'
end

Upvotes: 0

Views: 236

Answers (1)

Wizard of Ogz
Wizard of Ogz

Reputation: 12643

The owner of rest-client moved the repository, see here (https://github.com/archiloque/rest-client).

Use this in your Gemfile gem 'rest-client', :git => 'git://github.com/rest-client/rest-client.git'

Upvotes: 1

Related Questions