```ruby
$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "simple_form_fancy_uploads/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "simple_form_fancy_uploads"
  s.version     = SimpleFormFancyUploads::VERSION
  s.authors     = ["Andrea Pavoni"]
  s.email       = ["andrea.pavoni@gmail.com"]
  s.homepage    = "http://github.com/apeacox/simple_form_fancy_uploads"
  s.summary     = "simple_form custom inputs to get image/link previews with file uploads."
  s.description = "Use simple_form (>= v2.0) custom inputs to get image previews or a link to uploaded file. Save time and code when you need useful file uploads."

  s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]

  s.add_dependency "rails", "~> 4.0.0"

  s.add_dependency "simple_form", "~> 3.0.0"
  s.add_dependency "carrierwave"
end
```

Allow gem to work with Rails 4.1
user
```ruby
$:.push File.expand_path("../lib", __FILE__)

# Maintain your gem's version:
require "simple_form_fancy_uploads/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
  s.name        = "simple_form_fancy_uploads"
  s.version     = SimpleFormFancyUploads::VERSION
  s.authors     = ["Andrea Pavoni"]
  s.email       = ["andrea.pavoni@gmail.com"]
  s.homepage    = "http://github.com/apeacox/simple_form_fancy_uploads"
  s.summary     = "simple_form custom inputs to get image/link previews with file uploads."
  s.description = "Use simple_form (>= v2.0) custom inputs to get image previews or a link to uploaded file. Save time and code when you need useful file uploads."

  s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]

  s.add_dependency "rails", ">= 4.0.0"

  s.add_dependency "simple_form", "~> 3.0.0"
  s.add_dependency "carrierwave"
end
```
assistant