similar to: Invalid gemspec. How to fix this?

Displaying 20 results from an estimated 20000 matches similar to: "Invalid gemspec. How to fix this?"

2011 Oct 03
4
gem update --system issue
I run the command $gem update --system after all time while installing gems and even $rails -v command also giving below error Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.0.gemspec]: invalid
2012 Jul 10
9
Hiera and environments
Hey there, I''m new to hiera and I'' m looking to configure it to use multiple environments. I''m able to query hiera keys from using the hiera CLI, however my clients seem to be having problems identifying the look up variables. *On the puppet master, CLI query* [root@puppet-dev puppet]# hiera -a sshpackages environment=development ["openssh",
2010 Aug 08
0
Bad gemspec for rspec-core
I receive this message when bundling using this example project: http://github.com/francois/rental_agency/tree/1ea252624e161ddc305a719d505a633d8d464e49 The included Gemfile references HEAD of rspec-core, and the gemspec there has this issue: Using rspec-core (2.0.0.beta.19) from git://github.com/rspec/rspec-core.git (at master) rspec-core at /Users/francois/.rvm/gems/ruby-1.9.2-rc2/bundler/gems/
2009 Feb 23
0
.specification or .gemspec?
Hi, I am currently working on Heroku (herokugarden.com) and pushing to the Heroku Git repo from my local computer. I am also installing gems on local. When I install gems locally, they generate .gemspec files in a specification/ folder. However, when I push through to Heroku, it tells me that I''m missing a .specification file for that gem and that I should run ''rake
2004 Nov 04
4
Attempt to build a gemspec
Hi all, I''m trying to build a gemspec for win32-ipc, using a precompiled binary. Here''s my gemspec file: #win32-ipc.gemspec require "rubygems" spec = Gem::Specification.new do |s| s.name = "win32-ipc" s.version = "0.3.1" s.platform = Gem::Platform::WIN32 s.summary = "A base class for Win32 synchronization objects."
2011 Feb 02
0
Build gem from .gemspec to store locally
I am getting the error uninitialized constant for the vestal_versions gem when I build it from a gemspec file and install it. I need to store gems locally at a client site. I am using bundle package for most of my gems but the vestal_versions gem comes from a git repository and I can not included in the gems stored in vendor/ cache. I am new to building a gem from a gemspec file. What do I need
2011 Dec 03
2
script/server error (undefined method `name' for "ZenTest")
Hi All, I have an rails 2.3.11 app which I''m trying to run locally. When runnign script/server i get this error which i googled but couldn''t find the answer anywhere: Gem::SourceIndex#initialize called from /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100. Invalid gemspec in
2005 Jul 20
6
Wxruby2 gemspec
Hi A gemspec for installation of wxuby-swig via rubygems. It assumes the end-users will compile the pre-swigged .cpp files & that that the main require file will be wx.rb (as per Kevin''s suggestion). runrake.rb is just a helper script that runs rake correctly within the rubygems installation process. # to build the gem gem build wxruby2.gemspec # to build & install the
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2. Running rspec on it brings about a large amount of these messages: DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block (2 levels) in <top (required)> at
2012 Oct 21
0
rails g problem
When I enter rails g, I get the bunch of logs behind. Any idea what I''m missing? I though it''s trying to install minitest, so I manually installed it. Still this error persists. $ rails g gem install minitest /Library/Ruby/Gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'': no such file to load -- minitest/unit
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks. I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate: > $ rails generate > /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777 >
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody I''m currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have installed rvm and use Ruby 1.9.3, and I didn’t really get some Rails code examples to work properly, so I tried it with a 1.8.7 installation, but there I had some other problems
2014 May 02
0
staging server unexpectedly started installing gems during staging deploy
I have a production server and a staging server and a production git branch and a staging git branch for the same repository on github. The production git branch and staging git branch are identical. I got my staging server running and during the second deploy, something unexpected started happening: ... ** [out :: xxx.xx.xx.xxx] Installing multi_json (1.5.0) ** [out :: xxx.xx.xx.xxx] **
2014 May 06
0
Failed "bundle install" due to libpq-fe.h
I tried to run the command "bundle install" as follow and then I got this error: # bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/........ Fetching additional metadata from
2011 Nov 02
3
form_for text_field
I have a form ... html ..... <% form_for @person do |f| %> ... html ..... <%= f.text_field :last_name %> ... html ..... <% end %> When last_name field of @person doesn''t contains french special symbols like ''é'', all characters are displayed in the input control (f.text_field :last_name ). Else only symbols before french special symbol are
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will fix my problems, but where do i find the gem file? what is the name of the gem file? "group :test do # Pretty printed test output gem ''minitest'' ####### add this line ####### end" Here is what happens when i run rake test, please note that i have already installed minitest
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"
2012 Feb 03
0
redcar conflict netbeans
Hi I had a IDE netbeans now I have installed red car but after installing redcar my NETBEANS not working so I want to remove redcar from my local machine(ubuntu 10.10) when I put this in console: > sudo gem uninstall redcar I got WARNING: Invalid .gemspec format in ''/usr/lib/ruby/gems/1.8/specifications/redcar-0.13.gemspec'' ERROR: While executing gem ...
2012 Dec 28
3
git push heroku master error
allo vous tous vois l''erreur Counting objects: 66, done. Delta compression using up to 4 threads. Compressing objects: 100% (52/52), done. Writing objects: 100% (66/66), 26.30 KiB, done. Total 66 (delta 3), reused 0 (delta 0) -----> Ruby/Rails app detected -----> Installing dependencies using Bundler version 1.3.0.pre.2 Running: bundle install --without development:test
2012 Mar 17
7
Error installing json.........
hi I have installed ruby 1.9.3p125 (2012-02-16) [i386-mingw32] rails 3.2.2 windows 7 I have tried to create a rails project by using the command from command line rails new firstapp the following is the output... Using tilt (1.3.3) Using sprockets (2.1.2) Using actionpack (3.2.2) Using mime-types (1.17.2) Using polyglot (0.3.3) Using treetop (1.4.10) Using mail (2.4.4) Using actionmailer