Displaying 20 results from an estimated 3000 matches similar to: "Bad gemspec for rspec-core"
2011 Oct 29
0
Invalid gemspec. How to fix this?
Hi.
I have just started out using Rails and I am getting these messages
in every rails command. Any idea how to fix this?
Invalid gemspec in [/var/lib/gems/1.8/specifications/
tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25
00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/
json-1.6.1.gemspec]: invalid date format in specification:
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2010 Nov 10
0
no output from rspec -- fixed
Resend from 10/29/2010 due to bounce back. This is in reference to an email
sent to the group on On Oct 18, 2010, at 1:24 AM.
Short version: The solution was indeed to downgrade to test-unit 1.2.3
gem ''test-unit'', ''1.2.3''
Longer version: I went through my github repository and found a version
of my gemfile that worked with rspec. I then carefully compared
2011 May 28
2
How to use an ActiveRecord plugin in a non-Rails project
I''m using ActiveRecord on a Sinatra app. I need one of my tables to be
sorted, so I''m using acts_as_list (https://github.com/swanandp/acts_as_list).
However, it isn''t a gem, so I don''t know how to get it to work with
Bundler.
Currently, I just cloned the source into a dir named "vendor". This works,
but when I search my code, it keeps including
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
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."
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
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
2010 Nov 20
4
How to get rspec running?
I''m quite new to RoR and recently worked through Michael Hartl''s Rail
Tutorial. Now that I had started my first own project and began with the
implementation of a first model and it''s controller. The tests I wanted
to implement just after that. However, I run into some error messages
when I want to start rspec (see below).
The Gemfile is the same as in the Tutorial
2011 May 22
0
Trying to get rspec-rails working.
Hi,
I have a rails 2.3.3 app I am migrating to 2.3.11. In the process I
am adding bundler support.
When I add rspec and rspec rails (1.3.4) to my gemfile, then try to
install rspec-rails per the instructions (here https://github.com/dchelimsky/rspec/wiki/rails)
using the config.gem method link, I can''t get the script/generate
rspec command to work (I am told rspec generator not
2010 Dec 20
0
Server won't start on using authlogic-oauth2
I have included oauth2 and authlogic-oauth2 in the gemfile as I want to
use them and am trying to start the server. It doesn''t start and gives
me the error
/Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails.rb:44:in
`configuration'': undefined method `config'' for nil:NilClass
(NoMethodError)
from
2012 Sep 04
10
Generic asset definitions and management
(The following is not a Rails-specific question, but relates to a problem
that affects Rails, so I wonder whether anyone on the team has an opinion
about it or knows whether a solution is already in development.)
While gem dependencies can be easily managed in a Gemfile by Bundler, when
it comes to other assets, you either have to manually copy javascript files
into the app/assets or vendor
2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
We recently upgraded to rspec2 / rails 3 and our specs are taking a
very long time to run. It takes nearly 12 minutes before the first
dot comes out. Before the upgrade, our entire suite of 6000+ specs
would run in about 6 minutes.
The majority of the delay seems to be during the loading of the spec
files. Adding instrumentation to the rspec-core lib/rspec/core/
command_line.rb, you can see
2010 Jun 20
0
Debugging a Rails 3 app with RadRails 2?
When trying to debug a Rails 3 app with RadRails 2.0.4, I''m running into
a problem with gem loading, apparently. See below for a stack trace.
That problem disappears, when I move Gemfile out of the way, but, of
course, then other necessary gems aren''t loaded.
From my Debug Configuration
Project: <myproject>
File: script/rails
Working Directory:
2013 Feb 26
5
Can't upgrade to 4 beta 1
I had to update several gems for Bundler to accept it but now I''m stuck:
bundle update rails devise knockoutjs-rails sass-rails coffee-rails
devise-encryptable oojs
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "railties":
In Gemfile:
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2010 Oct 13
1
rails 3 with mongodb
Hi.
I would like to configure a application in ruby 1.9.2 + rails 3 +
mongodb on windows vista.
I know it''s work better in linux ou mac, but in my job i need to use
win.
I folowed the steps from the site of mongodb, but when i run the
bundle install, there comes
this message below.
Someone can help me with this.
Thanks.
<internal:lib/rubygems/custom_require>:29:in
2011 Jun 21
2
`exec': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me
this:
You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7.
Consider using bundle exec.
Then, I use a bundle exec, but I have other error:
`exec'': wrong number of arguments (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for